Documentation ¶
Index ¶
- type ModuleConfigBackend
- func (mc *ModuleConfigBackend) GetEventsChannel() chan events.ModuleEvent
- func (mc ModuleConfigBackend) LoadConfig(ctx context.Context, _ ...string) (*config.KubeConfig, error)
- func (mc ModuleConfigBackend) SaveConfigValues(_ context.Context, moduleName string, values utils.Values) (string, error)
- func (mc ModuleConfigBackend) StartInformer(ctx context.Context, eventC chan config.Event)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModuleConfigBackend ¶
type ModuleConfigBackend struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *rest.Config, deckhouseConfigC chan<- utils.Values, logger *log.Logger) *ModuleConfigBackend
New returns native(Deckhouse) implementation for addon-operator's KubeConfigManager which works directly with deckhouse.io/ModuleConfig, avoiding moving configs to the ConfigMap
func (*ModuleConfigBackend) GetEventsChannel ¶ added in v1.59.0
func (mc *ModuleConfigBackend) GetEventsChannel() chan events.ModuleEvent
func (ModuleConfigBackend) LoadConfig ¶
func (mc ModuleConfigBackend) LoadConfig(ctx context.Context, _ ...string) (*config.KubeConfig, error)
func (ModuleConfigBackend) SaveConfigValues ¶
func (mc ModuleConfigBackend) SaveConfigValues(_ context.Context, moduleName string, values utils.Values) (string, error)
SaveConfigValues saving patches in ModuleConfigBackend.
func (ModuleConfigBackend) StartInformer ¶
func (mc ModuleConfigBackend) StartInformer(ctx context.Context, eventC chan config.Event)
Click to show internal directories.
Click to hide internal directories.