Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
Types ¶
type Compare ¶
type Compare struct { Eq interface{} `json:"eq,omitempty" yaml:"eq,omitempty" hcl:"eq,omitempty"` Lt interface{} `json:"lt,omitempty" yaml:"lt,omitempty" hcl:"lt,omitempty"` Lte interface{} `json:"lte,omitempty" yaml:"lte,omitempty" hcl:"lte,omitempty"` Gt interface{} `json:"gt,omitempty" yaml:"gt,omitempty" hcl:"gt,omitempty"` Gte interface{} `json:"gte,omitempty" yaml:"gte,omitempty" hcl:"gte,omitempty"` In []interface{} `json:"in,omitempty" yaml:"in,omitempty" hcl:"in,omitempty"` }
type EvalCondition ¶
type EvalCondition string
type NumberCompare ¶
type NumberCompare struct {
Compare `json:",inline" yaml:",inline" hcl:",inline"`
}
type RegexpMatch ¶
type RegexpMatch struct {
Regexp string `json:"regexp" yaml:"regexp" hcl:"regexp"`
}
type StringCompare ¶
type StringCompare struct {
Compare `json:",inline" yaml:",inline" hcl:",inline"`
}
Click to show internal directories.
Click to hide internal directories.