type LabelSelectorValidationOptions …
func LabelSelectorHasInvalidLabelValue(ps *metav1.LabelSelector) bool { … }
func ValidateLabelSelector(ps *metav1.LabelSelector, opts LabelSelectorValidationOptions, fldPath *field.Path) field.ErrorList { … }
func ValidateLabelSelectorRequirement(sr metav1.LabelSelectorRequirement, opts LabelSelectorValidationOptions, fldPath *field.Path) field.ErrorList { … }
func ValidateLabelName(labelName string, fldPath *field.Path) field.ErrorList { … }
func ValidateLabels(labels map[string]string, fldPath *field.Path) field.ErrorList { … }
type FieldSelectorValidationOptions …
func ValidateFieldSelectorRequirement(requirement metav1.FieldSelectorRequirement, opts FieldSelectorValidationOptions, fldPath *field.Path) field.ErrorList { … }
func ValidateDeleteOptions(options *metav1.DeleteOptions) field.ErrorList { … }
func ValidateCreateOptions(options *metav1.CreateOptions) field.ErrorList { … }
func ValidateUpdateOptions(options *metav1.UpdateOptions) field.ErrorList { … }
func ValidatePatchOptions(options *metav1.PatchOptions, patchType types.PatchType) field.ErrorList { … }
var FieldManagerMaxLength …
func ValidateFieldManager(fieldManager string, fldPath *field.Path) field.ErrorList { … }
var allowedDryRunValues …
func ValidateDryRun(fldPath *field.Path, dryRun []string) field.ErrorList { … }
var allowedFieldValidationValues …
func ValidateFieldValidation(fldPath *field.Path, fieldValidation string) field.ErrorList { … }
const UninitializedStatusUpdateErrorMsg …
func ValidateTableOptions(opts *metav1.TableOptions) field.ErrorList { … }
const MaxSubresourceNameLength …
func ValidateManagedFields(fieldsList []metav1.ManagedFieldsEntry, fldPath *field.Path) field.ErrorList { … }
func ValidateConditions(conditions []metav1.Condition, fldPath *field.Path) field.ErrorList { … }
var validConditionStatuses …
const maxReasonLen …
const maxMessageLen …
func ValidateCondition(condition metav1.Condition, fldPath *field.Path) field.ErrorList { … }
const conditionReasonFmt …
const conditionReasonErrMsg …
var conditionReasonRegexp …
func isValidConditionReason(value string) []string { … }