Documentation ¶
Index ¶
- type Config
- type Interface
- type Link
- func (l *Link) ForGVK(namespace, apiVersion, kind, name, text string) (*component.Link, error)
- func (l *Link) ForObject(object runtime.Object, text string) (*component.Link, error)
- func (l *Link) ForObjectWithQuery(object runtime.Object, text string, query url.Values) (*component.Link, error)
- func (l *Link) ForOwner(parent runtime.Object, controllerRef *metav1.OwnerReference) (*component.Link, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { ForObject(object runtime.Object, text string) (*component.Link, error) ForObjectWithQuery(object runtime.Object, text string, query url.Values) (*component.Link, error) ForGVK(namespace, apiVersion, kind, name, text string) (*component.Link, error) ForOwner(parent runtime.Object, controllerRef *metav1.OwnerReference) (*component.Link, error) }
type Link ¶
type Link struct {
// contains filtered or unexported fields
}
func NewFromDashConfig ¶
func (*Link) ForObject ¶
ForObject returns a link component referencing an object Returns an empty link if an error occurs.
Click to show internal directories.
Click to hide internal directories.