Documentation ¶
Index ¶
Constants ¶
View Source
const MaxLength = validation.DNS1123LabelMaxLength
MaxLength is the maximum length that an object's name can be
Variables ¶
This section is empty.
Functions ¶
func ObjectMetadata ¶
func ObjectMetadata(meta metav1.Object) *apis.FieldError
ObjectMetadata validates that the given object's name is a valid DNS name and isn't longer than the max length
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.