Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { helper.TransformerConfig `mapstructure:",squash"` RegexName string `mapstructure:"regex_name"` Regex string `mapstructure:"regex"` ReplaceWith string `mapstructure:"replace_with"` Field entry.Field `mapstructure:"field"` }
Config is the configuration of an ansi_control_sequences operator.
func NewConfig ¶
func NewConfig() *Config
NewConfig creates a new ansi_control_sequences config with default values
func NewConfigWithID ¶
NewConfigWithID creates a new ansi_control_sequences config with default values
type Transformer ¶
type Transformer struct { helper.TransformerOperator // contains filtered or unexported fields }
Transformer is an operator that performs a regex-replace on a string field.
func (*Transformer) ProcessBatch ¶
Click to show internal directories.
Click to hide internal directories.