Documentation
¶
Overview ¶
Package selectors provides the ability to work with a collection of label selectors
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LabelSelectorSet ¶
LabelSelectorSet represents a set of selectors
func Parse ¶
func Parse(selectors []string) (LabelSelectorSet, error)
Parse will parse an array of strings to create a LabelSelectorSet If selectors is nil then we match everything this matches everything If selectors is empty then we match nothing (no selector will ever match since there are none)
func (LabelSelectorSet) MatchAll ¶
func (lss LabelSelectorSet) MatchAll(lbls []labels.Labels) bool
MatchAll returns true if the selector set matches all of the label sets
Click to show internal directories.
Click to hide internal directories.