Versions in this module Expand all Collapse all v1 v1.5.1 Feb 8, 2017 v1.5.0 Oct 23, 2016 Changes in this version + type Fields interface + Get func(field string) (value string) + Has func(field string) (exists bool) + type Requirement struct + Field string + Operator selection.Operator + Value string + type Requirements []Requirement + type Selector interface + 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 Everything() Selector + func OneTermEqualSelector(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)