Documentation ¶
Index ¶
Constants ¶
View Source
const ModuleName = "cond"
ModuleName is the name used in config file
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OutputConfig ¶
type OutputConfig struct { config.OutputConfig Condition string `json:"condition"` // condition need to test OutputRaw []config.ConfigRaw `json:"output"` // filters when satisfy the condition ElseOutputRaw []config.ConfigRaw `json:"else_output"` // filters when does not met the condition // contains filtered or unexported fields }
OutputConfig holds the configuration json fields and internal objects
func DefaultOutputConfig ¶
func DefaultOutputConfig() OutputConfig
DefaultOutputConfig returns an OutputConfig struct with default values
Click to show internal directories.
Click to hide internal directories.