Documentation
¶
Index ¶
- Constants
- func ValidateCreateOptions(options *metav1.CreateOptions) field.ErrorList
- func ValidateDeleteOptions(options *metav1.DeleteOptions) field.ErrorList
- func ValidateLabelName(labelName string, fldPath *field.Path) field.ErrorList
- func ValidateLabelSelector(ps *metav1.LabelSelector, fldPath *field.Path) field.ErrorList
- func ValidateLabelSelectorRequirement(sr metav1.LabelSelectorRequirement, fldPath *field.Path) field.ErrorList
- func ValidateLabels(labels map[string]string, fldPath *field.Path) field.ErrorList
- func ValidatePatchOptions(options *metav1.PatchOptions, patchType types.PatchType) field.ErrorList
- func ValidateUpdateOptions(options *metav1.UpdateOptions) field.ErrorList
Constants ¶
View Source
const UninitializedStatusUpdateErrorMsg string = `must not update status when the object is uninitialized`
Variables ¶
This section is empty.
Functions ¶
func ValidateCreateOptions ¶ added in v1.12.0
func ValidateCreateOptions(options *metav1.CreateOptions) field.ErrorList
func ValidateDeleteOptions ¶
func ValidateDeleteOptions(options *metav1.DeleteOptions) field.ErrorList
func ValidateLabelName ¶
ValidateLabelName validates that the label name is correctly defined.
func ValidateLabelSelector ¶
func ValidateLabels ¶
ValidateLabels validates that a set of labels are correctly defined.
func ValidatePatchOptions ¶
func ValidateUpdateOptions ¶ added in v1.12.0
func ValidateUpdateOptions(options *metav1.UpdateOptions) field.ErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.