Documentation ¶
Index ¶
- func GetNodeLabelDeprecatedMessage(key string) (string, bool)
- func GetWarningsForNodeSelector(nodeSelector *metav1.LabelSelector, fieldPath *field.Path) []string
- func GetWarningsForNodeSelectorTerm(nodeSelectorTerm api.NodeSelectorTerm, fieldPath *field.Path) []string
- func GetWarningsForRuntimeClass(rc *node.RuntimeClass) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNodeLabelDeprecatedMessage ¶
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.
Click to show internal directories.
Click to hide internal directories.