Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigHandler ¶
type ConfigHandler interface {
// StartInformer starts backend watcher which follows a resource, parse and send module/modules values for kube_config_manager
StartInformer(ctx context.Context, eventC chan config.Event)
// LoadConfig loads initial modules config before starting the informer
LoadConfig(ctx context.Context, modulesNames ...string) (*config.KubeConfig, error)
// SaveConfigValues saves patches for modules in backend (if supported), overriding the configuration
// Deprecated: saving values in the values source is not recommended and shouldn't be used anymore
SaveConfigValues(ctx context.Context, key string, values utils.Values) (string, error)
}
ConfigHandler load and saves(optional) configuration for module
Click to show internal directories.
Click to hide internal directories.