Versions in this module Expand all Collapse all v0 v0.0.1 Jan 5, 2023 Changes in this version + const FieldImmutableErrorMsg + const IsNegativeErrorMsg + const TotalAnnotationSizeLimitB + var BannedOwners = map[schema.GroupVersionKind]struct + var ValidateNamespaceName = NameIsDNSLabel + var ValidateServiceAccountName = NameIsDNSSubdomain + func NameIsDNS1035Label(name string, prefix bool) []string + func NameIsDNSLabel(name string, prefix bool) []string + func NameIsDNSSubdomain(name string, prefix bool) []string + func ValidateAnnotations(annotations map[string]string, fldPath *field.Path) field.ErrorList + func ValidateAnnotationsSize(annotations map[string]string) error + func ValidateFinalizerName(stringValue string, fldPath *field.Path) field.ErrorList + func ValidateFinalizers(finalizers []string, fldPath *field.Path) field.ErrorList + func ValidateImmutableField(newVal, oldVal interface{}, fldPath *field.Path) field.ErrorList + func ValidateNoNewFinalizers(newFinalizers []string, oldFinalizers []string, fldPath *field.Path) field.ErrorList + func ValidateNonnegativeField(value int64, fldPath *field.Path) field.ErrorList + func ValidateObjectMeta(objMeta *metav1.ObjectMeta, requiresNamespace bool, nameFn ValidateNameFunc, ...) field.ErrorList + func ValidateObjectMetaAccessor(meta metav1.Object, requiresNamespace bool, nameFn ValidateNameFunc, ...) field.ErrorList + func ValidateObjectMetaAccessorUpdate(newMeta, oldMeta metav1.Object, fldPath *field.Path) field.ErrorList + func ValidateObjectMetaUpdate(newMeta, oldMeta *metav1.ObjectMeta, fldPath *field.Path) field.ErrorList + func ValidateOwnerReferences(ownerReferences []metav1.OwnerReference, fldPath *field.Path) field.ErrorList + type ValidateNameFunc func(name string, prefix bool) []string