Documentation
¶
Index ¶
- func IsSupportedIPFamily(ipFamily corev1.IPFamily) bool
- func ValidateFieldAllowList(value interface{}, allowedFields sets.String, errorText string, ...) field.ErrorList
- func ValidateIPFamilies(ipFamilies []corev1.IPFamily, fldPath *field.Path) field.ErrorList
- func ValidateIPFamily(ipFamily corev1.IPFamily, fldPath *field.Path) field.ErrorList
- func ValidateImmutableField(newVal, oldVal interface{}, fldPath *field.Path) field.ErrorList
- func ValidateImmutableFieldWithDiff(newVal, oldVal interface{}, fldPath *field.Path) field.ErrorList
- func ValidateNonNegativeQuantity(value resource.Quantity, fldPath *field.Path) field.ErrorList
- func ValidatePositiveQuantity(value resource.Quantity, fldPath *field.Path) field.ErrorList
- func ValidateSetOnceField(newVal, oldVal interface{}, fldPath *field.Path) field.ErrorList
- func ValidateStringSetEnum(allowed sets.String, value string, fldPath *field.Path, requiredDetail string) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupportedIPFamily ¶
func ValidateFieldAllowList ¶
func ValidateFieldAllowList(value interface{}, allowedFields sets.String, errorText string, fldPath *field.Path) field.ErrorList
ValidateFieldAllowList checks that only allowed fields are set. The value must be a struct (not a pointer to a struct!).
func ValidateIPFamilies ¶
func ValidateIPFamily ¶
func ValidateImmutableField ¶
func ValidateSetOnceField ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.