Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // KeylessStatementErr statement is missing a key KeylessStatementErr = errors.New("filters must have the format KEY:VAL") // FilterNotFoundErr could not match a filter for the given key FilterNotFoundErr = errors.New("no filter could be matched with the given statement") )
Functions ¶
This section is empty.
Types ¶
type FieldsFunc ¶
FieldsFunc represents the function to retrieve fields about a given resource
type Filter ¶
type Filter func(string, FieldsFunc) (Matcher, error)
Filter configures a new Matcher given a statement and a fields func.
func Boolean ¶
func Boolean(fn BooleanMatcher) Filter
func String ¶
func String(fn StringMatcher) Filter
Click to show internal directories.
Click to hide internal directories.