backend

package
v1.61.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 14 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, deckhouseConfigC chan<- utils.Values, 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) 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)

Jump to

Keyboard shortcuts

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