Documentation
¶
Overview ¶
Package labels contains logic for parsing label filters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLabel ¶
ParseLabel parses a single label (without commas) into an include or exclude string. Returns the include label (if any) and the exclude label (if any).
func ParseLabelFilter ¶
ParseLabelFilter parses a comma-separated label filter string into lists of labels to include and exclude. It resolves wildcards so that if any inclusion rule is `*`, the included labels list evaluates simply to `["*"]`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.