Documentation ¶
Index ¶
Constants ¶
View Source
const LabelValueRegexpErrMsg string = "" /* 147-byte string literal not displayed */
Variables ¶
View Source
var DefaultAnnotationOpts = LabelSelectorOpts{LabelRequirementErrorFilters: []utilerrors.Matcher{IgnoreInvalidFieldErrors(LabelValueMaxLengthErrMsg, LabelValueRegexpErrMsg)}}
View Source
var LabelValueMaxLengthErrMsg string = validation.MaxLenError(validation.LabelValueMaxLength)
Functions ¶
func GenerateSelector ¶
func GenerateSelector(r internalv1.SignatureAnnotations, opts LabelSelectorOpts) (labels.Selector, error)
Types ¶
type LabelSelectorOpts ¶
type LabelSelectorOpts struct {
LabelRequirementErrorFilters []utilerrors.Matcher
}
Click to show internal directories.
Click to hide internal directories.