Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.53.0
type Config struct { helper.TransformerConfig `mapstructure:",squash"` From entry.Field `mapstructure:"from"` To entry.Field `mapstructure:"to"` }
Config is the configuration of a copy operator
func NewConfig ¶ added in v0.53.0
func NewConfig() *Config
NewConfig creates a new copy operator config with default values
func NewConfigWithID ¶ added in v0.59.0
NewConfigWithID creates a new copy operator config with default values
type Transformer ¶ added in v0.53.0
Transformer copies a value from one field and creates a new field with that value
Click to show internal directories.
Click to hide internal directories.