 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionMap ¶
type ConditionMap struct {
	Condition *processors.Condition
	Configs   []*common.Config
}
    ConditionMap maps a condition to the configs to use when it's triggered
type Mapper ¶
type Mapper []*ConditionMap
Mapper maps config templates with conditions, if a match happens on a discover event the given template will be used as config
func NewConfigMapper ¶
func NewConfigMapper(configs MapperSettings) (*Mapper, error)
NewConfigMapper builds a template Mapper from given settings
type MapperSettings ¶
type MapperSettings []*struct {
	ConditionConfig *processors.ConditionConfig `config:"condition"`
	Configs         []*common.Config            `config:"config"`
}
    MapperSettings holds user settings to build Mapper
 Click to show internal directories. 
   Click to hide internal directories.