package
0.0.0-20240904132510-42a52d07f539
Repository: https://github.com/openshift/node-feature-discovery.git
Documentation: pkg.go.dev

# Functions

Annotation validates an annotation key and value and returns an error if the key or value is invalid.
Annotations validates a map of annotations and returns a slice of errors if any of the annotations are invalid.
ExtendedResource validates an extended resource key and value and returns an error if the key or value is invalid.
ExtendedResources validates a map of extended resources and returns a slice of errors if any of the extended resources are invalid.
Label validates a label key and value and returns an error if the key or value is invalid.
Labels validates a map of labels and returns a slice of errors if any of the labels are invalid.
MatchAny validates a slice of MatchAnyElem and returns a slice of errors if any of the MatchAnyElem are invalid.
MatchFeatures validates a slice of FeatureMatcher and returns a slice of errors if any of the FeatureMatcher are invalid.
Taint validates a taint key and value and returns an error if the key or value is invalid.
Taints validates a slice of taints and returns a slice of errors if any of the taints are invalid.
Template validates a template string and returns a slice of errors if the template is invalid.

# Variables

Default error for empty taint effect.
Default error for invalid taint effect.
Default error message for invalid label/annotation keys.
Default error message for invalid label/annotation keys.