Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Replacements describes a list of replacements that are applied on the kparam.
Replacements []Replacement `mapstructure:"replacements"`
// Enabled indicates whether this transformer is enabled
Enabled bool `mapstructure:"enabled"`
}
Config stores the configuration for the replace transformer
type Replacement ¶
type Replacement struct {
Kpar string `mapstructure:"kparam"`
Old string `mapstructure:"old"`
New string `mapstructure:"new"`
}
Replacement defines the string replacement config for a specific kparam.
Click to show internal directories.
Click to hide internal directories.