Implement rule matching for a couple of basic rule types.
This commit is contained in:
parent
5b3b70da14
commit
970b3ded6e
3 changed files with 64 additions and 15 deletions
|
@ -22,7 +22,8 @@ type DeviceConfig struct {
|
|||
type RuleConfig struct {
|
||||
Name string `yaml:"name,omitempty"`
|
||||
Type string `yaml:"type"`
|
||||
Input []RuleInputConfig `yaml:"input"`
|
||||
Input RuleInputConfig `yaml:"input,omitempty"`
|
||||
Inputs []RuleInputConfig `yaml:"inputs,omitempty"`
|
||||
Output RuleOutputConfig `yaml:"output"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue