backend

package
v1.24.21 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: Apache-2.0 Imports: 3 Imported by: 3 modules, 3 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 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