Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVParser ¶
type KVParser struct { helper.ParserOperator // contains filtered or unexported fields }
KVParser is an operator that parses key value pairs.
type KVParserConfig ¶
type KVParserConfig struct { helper.ParserConfig `mapstructure:",squash" yaml:",inline"` Delimiter string `mapstructure:"delimiter" yaml:"delimiter"` PairDelimiter string `mapstructure:"pair_delimiter" yaml:"pair_delimiter"` }
KVParserConfig is the configuration of a key value parser operator.
func NewKVParserConfig ¶
func NewKVParserConfig(operatorID string) *KVParserConfig
NewKVParserConfig creates a new key value parser config with default values
func (KVParserConfig) Build ¶
func (c KVParserConfig) Build(logger *zap.SugaredLogger) (operator.Operator, error)
Build will build a key value parser operator.
Click to show internal directories.
Click to hide internal directories.