Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wildcard ¶
type Wildcard string
A string that supports globbing at its front and end. Ex: "kube-*" will match "kube-system" or "kube-public", "*-system" will match "kube-system" or "gatekeeper-system", "*system*" will match "system-kube" or "kube-system". The asterisk is required for wildcard matching.
func (Wildcard) Matches ¶
Matches returns true if the candidate parameter is either an exact match of the Wildcard, or if the Wildcard is a valid glob-match for the candidate. The Wildcard must start or end in a "*" to be considered a glob.
func (Wildcard) MatchesGenerateName ¶
Click to show internal directories.
Click to hide internal directories.