get

package
v0.0.0-...-d083f33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

func KernelFullVersion(apiClient *clients.Settings, nodeSelector map[string]string) (string, error)

KernelFullVersion returns first node architecture of the nodes that match nodeSelector (e.g. worker nodes).

func KmmHubOperatorVersion

func KmmHubOperatorVersion(apiClient *clients.Settings) (ver *version.Version, err error)

KmmHubOperatorVersion returns CSV version of the installed KMM-HUB operator.

func KmmOperatorVersion

func KmmOperatorVersion(apiClient *clients.Settings) (ver *version.Version, err error)

KmmOperatorVersion returns CSV version of the installed KMM operator.

func MachineConfigPoolName

func MachineConfigPoolName(apiClient *clients.Settings) string

MachineConfigPoolName returns machineconfigpool's name for a specified label.

func ModuleLoadedMessage

func ModuleLoadedMessage(module, nsname string) string

ModuleLoadedMessage returns message for a module loaded event.

func ModuleUnloadedMessage

func ModuleUnloadedMessage(module, nsname string) string

ModuleUnloadedMessage returns message for a module unloaded event.

func NumberOfNodesForSelector

func NumberOfNodesForSelector(apiClient *clients.Settings, selector map[string]string) (int, error)

NumberOfNodesForSelector returns the number or worker nodes.

func PreflightImage

func PreflightImage(arch string) string

PreflightImage returns preflightvalidationocp image to be used based on architecture.

func PreflightReason

func PreflightReason(apiClient *clients.Settings, preflight, module, nsname string) (string, error)

PreflightReason returns the reason of a preflightvalidationocp check.

func SigningData

func SigningData(key string, value string) map[string][]byte

SigningData returns struct used for creating secrets for module signing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL