Documentation ¶
Index ¶
- func GetDevicePluginNodeLabel(namespace, moduleName string) string
- func GetDevicePluginVersionLabelName(namespace, name string) string
- func GetKernelModuleReadyNodeLabel(namespace, moduleName string) string
- func GetModuleVersionLabelName(namespace, name string) string
- func GetNamespaceNameFromVersionLabel(label string) (string, string, error)
- func GetNodeWorkerPodVersionLabel(nodeLabels map[string]string, namespace, name string) (string, bool)
- func GetNodesVersionLabels(nodeLabels map[string]string) map[string]string
- func GetWorkerPodVersionLabelName(namespace, name string) string
- func IsDeprecatedKernelModuleReadyNodeLabel(label string) bool
- func IsDevicePluginVersionLabel(label string) bool
- func IsKernelModuleReadyNodeLabel(label string) (bool, string, string)
- func IsModuleVersionLabel(label string) bool
- func IsNodeSchedulable(node *v1.Node) bool
- func IsObjectSelectedByLabels(objectLabels map[string]string, selectorLabels map[string]string) (bool, error)
- func IsVersionLabel(label string) bool
- func IsWorkerPodVersionLabel(label string) bool
- func KernelComponentsAsEnvVars(kernel string) []string
- func MakeSecretVolume(secretRef *v1.LocalObjectReference, key string, path string) v1.Volume
- func MakeSecretVolumeMount(secretRef *v1.LocalObjectReference, mountPath string, readOnly bool) v1.VolumeMount
- func ReplaceInTemplates(envvars []string, templates ...string) ([]string, error)
- func WarnString(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodesVersionLabels ¶
func IsModuleVersionLabel ¶
func IsNodeSchedulable ¶
func IsVersionLabel ¶
func IsWorkerPodVersionLabel ¶
func MakeSecretVolume ¶
func MakeSecretVolumeMount ¶
func MakeSecretVolumeMount(secretRef *v1.LocalObjectReference, mountPath string, readOnly bool) v1.VolumeMount
func ReplaceInTemplates ¶
func WarnString ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.