node

package
v1.29.12 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodeLabelDeprecatedMessage

func GetNodeLabelDeprecatedMessage(key string) (string, bool)

GetNodeLabelDeprecatedMessage returns the message for the deprecated node label and a bool indicating if the label is deprecated.

func GetWarningsForNodeSelector

func GetWarningsForNodeSelector(nodeSelector *metav1.LabelSelector, fieldPath *field.Path) []string

GetWarningsForNodeSelector tests if any of the node selector requirements in the template is deprecated. If there are deprecated node selector requirements in either match expressions or match labels, a warning is returned.

func GetWarningsForNodeSelectorTerm

func GetWarningsForNodeSelectorTerm(nodeSelectorTerm api.NodeSelectorTerm, fieldPath *field.Path) []string

GetWarningsForNodeSelectorTerm checks match expressions of node selector term

func GetWarningsForRuntimeClass

func GetWarningsForRuntimeClass(rc *node.RuntimeClass) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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