Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Path string
Path indicates the config file path
Functions ¶
Types ¶
type MutatorConfig ¶
type MutatorConfig struct { AnnotationKey string `json:"annotationKey" yaml:"annotationKey"` Strategies []*Strategy `json:"strategies" yaml:"strategies"` Rules []*Rule `json:"rules" yaml:"rules"` }
MutatorConfig indicates the kubemutator main config file structure
var CurrentConfig *MutatorConfig
CurrentConfig indicates the current running config
type Patch ¶
type Patch struct { Data string `json:"data" yaml:"data"` IsTemplate bool `json:"isTemplate" yaml:"isTemplate"` IsArray bool `json:"isArray" yaml:"isArray"` }
Patch indicates each patch
Click to show internal directories.
Click to hide internal directories.