confighandler

package
v1.69.4 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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