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