Documentation ¶
Index ¶
- func GetComponentLabels(component types.ComponentName, crName string) types.Labels
- func GetObjectName(component types.ComponentName, crName string) types.ObjectName
- func GetXrootdVersionInfo(runtimeClient client.Client, namespace string, versionName string) (result *catalogv1alpha1.XrootdVersion, err error)
- func MergeLabels(args ...types.Labels) types.Labels
- func SuffixName(name string, suffix string, suffixes ...string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetComponentLabels ¶
func GetComponentLabels(component types.ComponentName, crName string) types.Labels
GetComponentLabels returns the Labels object for the given component
func GetObjectName ¶
func GetObjectName(component types.ComponentName, crName string) types.ObjectName
GetObjectName gets the object name by joining CR name and component
func GetXrootdVersionInfo ¶
func GetXrootdVersionInfo(runtimeClient client.Client, namespace string, versionName string) (result *catalogv1alpha1.XrootdVersion, err error)
GetXrootdVersionInfo returns the XrootdVersion CR object with Name as `versionName`
func MergeLabels ¶
MergeLabels merges the given Labels to return one Labels object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.