package
1.1.3
Repository: https://github.com/elotl/kip.git
Documentation: pkg.go.dev

# Functions

NameIsDNS952Label is a ValidateNameFunc for names that must be a DNS 952 label.
NameIsDNSLabel is a ValidateNameFunc for names that must be a DNS 1123 label.
NameIsDNSSubdomain is a ValidateNameFunc for names that must be a DNS subdomain.
Pod names are unique, they get to have slashes in them.
No description provided by the author
No description provided by the author
ValidateAnnotations validates that a set of annotations are correctly defined.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidateLabelName validates that the label name is correctly defined.
ValidateLabels validates that a set of labels are correctly defined.
No description provided by the author
No description provided by the author
ValidateNode tests if required fields in the node are set.
Validates that given value is not negative.
ValidateObjectMeta validates an object's metadata on creation.
ValidatePod tests if required fields in the pod are set.
ValidatePodAnnotations validates pod annotations.
ValidatePodSpec tests that the specified PodSpec has valid data.
Validates that given value is not negative.
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author
ValidatePodName can be used to check whether the given pod name is valid.

# Structs

No description provided by the author
+k8s:deepcopy-gen=false.

# Type aliases

ValidateNameFunc validates that the provided name is valid for a given resource type.