Documentation ¶
Index ¶
- Constants
- Variables
- func ValidateCondition(condition metav1.Condition, fldPath *field.Path) field.ErrorList
- func ValidateConditions(conditions []metav1.Condition, fldPath *field.Path) field.ErrorList
- func ValidateCreateOptions(options *metav1.CreateOptions) field.ErrorList
- func ValidateDeleteOptions(options *metav1.DeleteOptions) field.ErrorList
- func ValidateDryRun(fldPath *field.Path, dryRun []string) field.ErrorList
- func ValidateFieldManager(fieldManager string, fldPath *field.Path) 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 ValidateManagedFields(fieldsList []metav1.ManagedFieldsEntry, fldPath *field.Path) field.ErrorList
- func ValidatePatchOptions(options *metav1.PatchOptions, patchType types.PatchType) field.ErrorList
- func ValidateTableOptions(opts *metav1.TableOptions) field.ErrorList
- func ValidateUpdateOptions(options *metav1.UpdateOptions) field.ErrorList
Constants ¶
View Source
const MaxSubresourceNameLength = 256
View Source
const UninitializedStatusUpdateErrorMsg string = `must not update status when the object is uninitialized`
Variables ¶
View Source
var FieldManagerMaxLength = 128
Functions ¶
func ValidateCondition ¶ added in v0.19.0
func ValidateConditions ¶ added in v0.19.0
func ValidateCreateOptions ¶
func ValidateCreateOptions(options *metav1.CreateOptions) field.ErrorList
func ValidateDeleteOptions ¶
func ValidateDeleteOptions(options *metav1.DeleteOptions) field.ErrorList
func ValidateDryRun ¶
ValidateDryRun validates that a dryRun query param only contains allowed values.
func ValidateFieldManager ¶
ValidateFieldManager valides that the fieldManager is the proper length and only has printable characters.
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 ValidateManagedFields ¶ added in v0.16.4
func ValidatePatchOptions ¶
func ValidateTableOptions ¶
func ValidateTableOptions(opts *metav1.TableOptions) field.ErrorList
ValidateTableOptions returns any invalid flags on TableOptions.
func ValidateUpdateOptions ¶
func ValidateUpdateOptions(options *metav1.UpdateOptions) field.ErrorList
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.