Documentation ¶
Overview ¶
Package labels contains adapter label validation functions from Kubernetes.
We want to avoid dependency of machinery on Kubernetes packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDNS1123Subdomain ¶
ValidateDNS1123Subdomain tests for a string that conforms to the definition of a subdomain in DNS (RFC 1123).
func ValidateLabelValue ¶
ValidateLabelValue tests whether the value passed is a valid label value.
If the value is not valid, a list of error strings is returned. Otherwise an empty list (or nil) is returned.
func ValidateQualifiedName ¶
ValidateQualifiedName tests whether the value passed is what Kubernetes calls a "qualified name".
This is a format used in various places throughout the system. If the value is not valid, a list of error strings is returned. Otherwise an empty list (or nil) is returned.
func ValidateTaints ¶ added in v1.6.0
ValidateTaints validates that a set of taints is correctly defined.
Types ¶
This section is empty.