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 `yaml:",inline"` Delimiter string `json:"delimiter" yaml:"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(context operator.BuildContext) ([]operator.Operator, error)
Build will build a key value parser operator.
Click to show internal directories.
Click to hide internal directories.