Versions in this module Expand all Collapse all v0 v0.1.0 Nov 12, 2019 Changes in this version + func EscapeValue(s string) string + func UnescapeValue(s string) (string, error) + type Fields interface + Get func(field string) (value string) + Has func(field string) (exists bool) + type InvalidEscapeSequence struct + func (i InvalidEscapeSequence) Error() string + type Requirement struct + Field string + Operator selection.Operator + Value string + type Requirements []Requirement + type Selector interface + DeepCopySelector func() Selector + Empty func() bool + Matches func(Fields) bool + Requirements func() Requirements + RequiresExactMatch func(field string) (value string, found bool) + String func() string + Transform func(fn TransformFunc) (Selector, error) + func AndSelectors(selectors ...Selector) Selector + func Everything() Selector + func Nothing() Selector + func OneTermEqualSelector(k, v string) Selector + func OneTermNotEqualSelector(k, v string) Selector + func ParseAndTransformSelector(selector string, fn TransformFunc) (Selector, error) + func ParseSelector(selector string) (Selector, error) + func ParseSelectorOrDie(s string) Selector + func SelectorFromSet(ls Set) Selector + type Set map[string]string + func (ls Set) AsSelector() Selector + func (ls Set) Get(field string) string + func (ls Set) Has(field string) bool + func (ls Set) String() string + type TransformFunc func(field, value string) (newField, newValue string, err error) + type UnescapedRune struct + func (i UnescapedRune) Error() string