Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Prefixes contains the mapping between distinct kparam names and the prefixes that will get trimmed from their values.
Prefixes []Trim `mapstructure:"prefixes"`
// Suffixes contains the mapping between distinct kparam names and the suffixes that will get trimmed from their values.
Suffixes []Trim `mapstructure:"suffixes"`
// Enabled determines whether trim transformer is enabled or disabled.
Enabled bool `mapstructure:"enabled"`
}
Config stores the configuration for the trim transformer.
Click to show internal directories.
Click to hide internal directories.