Documentation ¶
Index ¶
- func ClusterArchitecture(apiClient *clients.Settings, nodeSelector map[string]string) (string, error)
- func KernelFullVersion(apiClient *clients.Settings, nodeSelector map[string]string) (string, error)
- func KmmHubOperatorVersion(apiClient *clients.Settings) (ver *version.Version, err error)
- func KmmOperatorVersion(apiClient *clients.Settings) (ver *version.Version, err error)
- func MachineConfigPoolName(apiClient *clients.Settings) string
- func ModuleLoadedMessage(module, nsname string) string
- func ModuleUnloadedMessage(module, nsname string) string
- func NumberOfNodesForSelector(apiClient *clients.Settings, selector map[string]string) (int, error)
- func PreflightImage(arch string) string
- func PreflightReason(apiClient *clients.Settings, preflight, module, nsname string) (string, error)
- func SigningData(key string, value string) map[string][]byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterArchitecture ¶
func ClusterArchitecture(apiClient *clients.Settings, nodeSelector map[string]string) (string, error)
ClusterArchitecture returns first node architecture of the nodes that match nodeSelector (e.g. worker nodes).
func KernelFullVersion ¶
KernelFullVersion returns first node architecture of the nodes that match nodeSelector (e.g. worker nodes).
func KmmHubOperatorVersion ¶
KmmHubOperatorVersion returns CSV version of the installed KMM-HUB operator.
func KmmOperatorVersion ¶
KmmOperatorVersion returns CSV version of the installed KMM operator.
func MachineConfigPoolName ¶
MachineConfigPoolName returns machineconfigpool's name for a specified label.
func ModuleLoadedMessage ¶
ModuleLoadedMessage returns message for a module loaded event.
func ModuleUnloadedMessage ¶
ModuleUnloadedMessage returns message for a module unloaded event.
func NumberOfNodesForSelector ¶
NumberOfNodesForSelector returns the number or worker nodes.
func PreflightImage ¶
PreflightImage returns preflightvalidationocp image to be used based on architecture.
func PreflightReason ¶
PreflightReason returns the reason of a preflightvalidationocp check.
Types ¶
This section is empty.