configmap

package
v1.26.3 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 18 Imported by: 2 modules, 1 package

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 Backend

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

Backend implements ConfigMap backend for kube_config_manager

func New

func New(kubeClient *client.Client, namespace, name string, logger *log.Logger) *Backend

New initializes backend for kube_config_manager based on ConfigMap with modules values

func (Backend) LoadConfig

func (b Backend) LoadConfig(ctx context.Context, _ ...string) (*config.KubeConfig, error)

LoadConfig gets config from ConfigMap before starting informer (selective loading configs for a list of modules isn't implemented). Set checksums for global section and modules.

func (Backend) SaveConfigValues

func (b Backend) SaveConfigValues(ctx context.Context, key string, values utils.Values) (string, error)

SaveConfigValues saves patches in the ConfigMap

func (Backend) StartInformer

func (b Backend) 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