Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LabelEqValueNode ¶
func (LabelEqValueNode) Evaluate ¶
func (node LabelEqValueNode) Evaluate(labels Labels) bool
type LabelInSetNode ¶
func (LabelInSetNode) Evaluate ¶
func (node LabelInSetNode) Evaluate(labels Labels) bool
type LabelNeValueNode ¶
func (LabelNeValueNode) Evaluate ¶
func (node LabelNeValueNode) Evaluate(labels Labels) bool
type LabelNotInSetNode ¶
func (LabelNotInSetNode) Evaluate ¶
func (node LabelNotInSetNode) Evaluate(labels Labels) bool
type MapAsLabels ¶ added in v1.3.0
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 Labels) bool String() string UniqueId() string }
Click to show internal directories.
Click to hide internal directories.