Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlattenOperator ¶
type FlattenOperator struct { helper.TransformerOperator Field entry.BodyField }
FlattenOperator flattens an object in the body field
type FlattenOperatorConfig ¶
type FlattenOperatorConfig struct { helper.TransformerConfig `mapstructure:",squash" yaml:",inline"` Field entry.BodyField `mapstructure:"field" json:"field" yaml:"field"` }
FlattenOperatorConfig is the configuration of a flatten operator
func NewFlattenOperatorConfig ¶
func NewFlattenOperatorConfig(operatorID string) *FlattenOperatorConfig
NewFlattenOperatorConfig creates a new flatten operator config with default values
func (FlattenOperatorConfig) Build ¶
func (c FlattenOperatorConfig) Build(logger *zap.SugaredLogger) (operator.Operator, error)
Build will build a Flatten operator from the supplied configuration
Click to show internal directories.
Click to hide internal directories.