Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
type Callback func(event output.InternalEvent, result *operators.Result)
Callback is called when a global matcher is matched. It receives internal event & result of the operator execution.
type Item ¶
type Item struct { TemplateID string TemplatePath string TemplateInfo model.Info Operators []*operators.Operators }
Item is a struct that holds the global matchers details for a template
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is a struct that holds the global matchers
func (*Storage) AddOperator ¶
AddOperator adds a new operator to the global matchers
func (*Storage) HasMatchers ¶
HasMatchers returns true if we have global matchers
Click to show internal directories.
Click to hide internal directories.