confighandler

package
v1.70.14 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(client client.Client, deckhouseConfigCh chan<- utils.Values) *Handler

func (*Handler) HandleEvent

func (h *Handler) HandleEvent(moduleConfig *v1alpha1.ModuleConfig, op config.Op)

HandleEvent sends event to addon-operator

func (*Handler) LoadConfig

func (h *Handler) LoadConfig(ctx context.Context, _ ...string) (*config.KubeConfig, error)

LoadConfig loads initial modules config before starting

func (*Handler) ModuleConfigChannelIsSet added in v1.68.0

func (h *Handler) ModuleConfigChannelIsSet() bool

func (*Handler) SaveConfigValues

func (h *Handler) SaveConfigValues(_ context.Context, _ string, _ utils.Values) (string, error)

SaveConfigValues saving patches in ModuleConfigBackend. Deprecated

func (*Handler) StartInformer

func (h *Handler) StartInformer(_ context.Context, eventCh chan config.Event)

StartInformer does not start informer, it just registers channels, this name is used just to implement interface

Jump to

Keyboard shortcuts

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