Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyOperator ¶
CopyOperator copies a value from one field and creates a new field with that value
type CopyOperatorConfig ¶
type CopyOperatorConfig struct { helper.TransformerConfig `mapstructure:",squash" yaml:",inline"` From entry.Field `mapstructure:"from" json:"from" yaml:"from"` To entry.Field `mapstructure:"to" json:"to" yaml:"to"` }
CopyOperatorConfig is the configuration of a copy operator
func NewCopyOperatorConfig ¶
func NewCopyOperatorConfig(operatorID string) *CopyOperatorConfig
NewCopyOperatorConfig creates a new copy operator config with default values
func (CopyOperatorConfig) Build ¶
func (c CopyOperatorConfig) Build(context operator.BuildContext) ([]operator.Operator, error)
Build will build a copy operator from the supplied configuration
Click to show internal directories.
Click to hide internal directories.