backend

package
v1.54.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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, logger logger.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) LoadConfig

func (mc ModuleConfigBackend) LoadConfig(ctx context.Context) (*config.KubeConfig, error)

func (ModuleConfigBackend) SaveConfigValues

func (mc ModuleConfigBackend) SaveConfigValues(_ context.Context, moduleName string, values utils.Values) (string, error)

SaveConfigValues saving patches in ModuleConfigBackend. Used for settings-conversions

func (ModuleConfigBackend) StartInformer

func (mc ModuleConfigBackend) StartInformer(ctx context.Context, eventC chan config.Event)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL