Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Selector ¶
type Selector interface { // Evaluate evaluates the selector against the given labels expressed as a concrete map. Evaluate(labels map[string]string) bool // EvaluateLabels evaluates the selector against the given labels expressed as an interface. // This allows for labels that are calculated on the fly. EvaluateLabels(labels parser.Labels) bool // String returns a string that represents this selector. String() string // UniqueID returns the unique ID that represents this selector. UniqueID() string LabelRestrictions() map[string]parser.LabelRestriction }
Selector represents a label selector.
Click to show internal directories.
Click to hide internal directories.