Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Runner lets us mock exec.Command for testing Runner = exec.Command // ErrUnknownFilter indicates the type of filter is not recognized ErrUnknownFilter = fmt.Errorf("unknown filter type") )
Functions ¶
This section is empty.
Types ¶
type Filter ¶
Filter is an individual filter
func (*Filter) MarshalJSON ¶
MarshalJSON encodes our Filterer as `filter`
func (*Filter) UnmarshalJSON ¶
UnmarshalJSON unmarshals our Filterer interface to a struct
Click to show internal directories.
Click to hide internal directories.