watcher

package
v1.119.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapWatcher

type ConfigMapWatcher struct {
	ConfigMapName string
	WatchFunc     func(string, map[string]string) error
}

ConfigMapWatcher represents a single configmap watcher

type ConfigMapWatchers

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

func NewConfigMapWatchers

func NewConfigMapWatchers(kubeClientset kubernetes.Interface, namespace string, watchers ...*ConfigMapWatcher) *ConfigMapWatchers

func (*ConfigMapWatchers) Add

func (cmw *ConfigMapWatchers) Add(configMapName string, watchFunc func(string, map[string]string) error)

func (*ConfigMapWatchers) AddWatcher

func (cmw *ConfigMapWatchers) AddWatcher(watcher *ConfigMapWatcher)

func (*ConfigMapWatchers) Stop added in v1.114.0

func (cmw *ConfigMapWatchers) Stop()

func (*ConfigMapWatchers) Watch added in v1.114.0

func (cmw *ConfigMapWatchers) Watch()

Jump to

Keyboard shortcuts

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