Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleFileParser ¶
RuleFileParser represents a single rule file
func NewRuleFileParser ¶
func NewRuleFileParser(ruleFile string) (*RuleFileParser, error)
NewRuleFileParser creates a new RuleFileParser, returns an error if the object is not valid
func (RuleFileParser) EvaluateJSON ¶
func (rule RuleFileParser) EvaluateJSON(event Event.Event)
EvaluateJSON will be called if a new Event occurred an the rulefile will be executed
type RuleLine ¶
type RuleLine struct {
// contains filtered or unexported fields
}
RuleLine represents a single rule in a Rulefile
Click to show internal directories.
Click to hide internal directories.