controller

package
v0.0.0-...-e4d8b92 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: 9 Imported by: 1 module, 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

func NewConfigMapController

func NewConfigMapController(
	controllerContext context.Context,
	controllerCancel context.CancelFunc,
	kubeClientset kubernetes.Interface,
	configMapInformer coreinformers.ConfigMapInformer,
	configMapName, configMapNamespace string) (*controller.CloudNetworkConfigController, error)

NewConfigMapController returns a new ConfigMap controller

Types

type ConfigMapController

type ConfigMapController struct {
	controller.CloudNetworkConfigController
	// contains filtered or unexported fields
}

ConfigMapController is the controller implementation for ConfigMap resources This controller is used to watch for configMap rotations by the cloud- credentials-operator for what concerns the cloud API configMap

func (*ConfigMapController) InitialSync

func (s *ConfigMapController) InitialSync() error

func (*ConfigMapController) SyncHandler

func (s *ConfigMapController) SyncHandler(key string) error

syncHandler does *not* compare the actual state with the desired, it's triggered on a configMap.data change or configMap deletion and cancels the global context forcing us to re-initialize the cloud credentials on restart.

Jump to

Keyboard shortcuts

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