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"` Fields []entry.Field `mapstructure:"fields"` }
Config is the configuration of a retain operator
func NewConfig ¶ added in v0.53.0
func NewConfig() *Config
NewConfig creates a new retain operator config with default values
func NewConfigWithID ¶ added in v0.59.0
NewConfigWithID creates a new retain operator config with default values
type Transformer ¶ added in v0.53.0
type Transformer struct { helper.TransformerOperator Fields []entry.Field AllBodyFields bool AllAttributeFields bool AllResourceFields bool }
Transformer keeps the given fields and deletes the rest.
Click to show internal directories.
Click to hide internal directories.