7.6.2.21. ResourceLink
Component that creates a link to a specific resource type with an icon badge.
Example
<ResourceLink
kind="Pod"
name="testPod"
title={metadata.uid}
/>
| Parameter Name | Description |
|---|---|
|
| (optional) the kind of resource i.e. Pod, Deployment, Namespace |
|
| (optional) object with group, version, and kind |
|
| (optional) class style for component |
|
| (optional) display name for component, overwrites the resource name if set |
|
| (optional) flag to create icon badge and name inline with children |
|
| (optional) flag to create a Link object - defaults to true |
|
| (optional) name of resource |
|
| (optional) specific namespace for the kind resource to link to |
|
| (optional) flag to hide the icon badge |
|
| (optional) title for the link object (not displayed) |
|
| (optional) identifier for testing |
|
| (optional) callback function for when component is clicked |
|
| (optional) flag to truncate the link if too long |