backend

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigHandler

type ConfigHandler interface {
	// StartInformer starts backend watcher which follows a resource, parse and send module/modules values for kube_config_manager
	StartInformer(ctx context.Context, eventC chan config.Event)

	// LoadConfig loads initial modules config before starting the informer
	LoadConfig(ctx context.Context, modulesNames ...string) (*config.KubeConfig, error)

	// SaveConfigValues saves patches for modules in backend (if supported), overriding the configuration
	// Deprecated: saving values in the values source is not recommended and shouldn't be used anymore
	SaveConfigValues(ctx context.Context, key string, values utils.Values) (string, error)
}

ConfigHandler load and saves(optional) configuration for module

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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