Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
// Key possible values
// "" - reset the whole config
// "batch" - set global and modules config at once
// "global" - set only global config
// "<moduleName> - set only config for the module <moduleName>
Key string
Config *KubeConfig
Err error
Op Op
}
type GlobalKubeConfig ¶
func ParseGlobalKubeConfigFromValues ¶
func ParseGlobalKubeConfigFromValues(values utils.Values) (*GlobalKubeConfig, error)
func (GlobalKubeConfig) GetValues ¶
func (gkc GlobalKubeConfig) GetValues() utils.Values
GetValues returns global values, enrich them with top level key 'global'
func (GlobalKubeConfig) GetValuesWithGlobalName ¶ added in v1.3.3
func (gkc GlobalKubeConfig) GetValuesWithGlobalName() utils.Values
GetValuesWithGlobalName Deprecated: use GetValues instead
type KubeConfig ¶
type KubeConfig struct {
Global *GlobalKubeConfig
Modules map[string]*ModuleKubeConfig
}
func NewConfig ¶
func NewConfig() *KubeConfig
type KubeConfigEvent ¶
type KubeConfigEvent struct {
Type KubeConfigType
ModuleEnabledStateChanged []string
ModuleValuesChanged []string
GlobalSectionChanged bool
}
type KubeConfigType ¶ added in v1.4.0
type KubeConfigType string
const ( KubeConfigChanged KubeConfigType = "Changed" KubeConfigInvalid KubeConfigType = "Invalid" )
type ModuleKubeConfig ¶
type ModuleKubeConfig struct {
utils.ModuleConfig
Checksum string
}
func ParseModuleKubeConfigFromValues ¶
func ParseModuleKubeConfigFromValues(moduleName string, values utils.Values) *ModuleKubeConfig
Click to show internal directories.
Click to hide internal directories.