Documentation
¶
Index ¶
- type Filter
- func (f Filter) Json(name2class map[string]string) (string, error)
- func (f Filter) Map(name2class map[string]string) (map[string]interface{}, error)
- func (f Filter) SetPredicate(predicate Predicate)
- func (f Filter) SetSelection(selection []string)
- func (f Filter) Sgol() string
- func (f Filter) Yaml(name2class map[string]string) (string, error)
- type Predicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct { Selection []string `json:"selection" bson:"selection" yaml:"selection" hcl:"selection"` Predicate Predicate `json:"predicate" bson:"predicate" yaml:"predicate" hcl:"predicate"` }
func NewInverseFilter ¶
func (Filter) SetPredicate ¶
func (Filter) SetSelection ¶
type Predicate ¶
func NewPredicate ¶
Click to show internal directories.
Click to hide internal directories.