watcher

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package watcher stores interface DefaultingWatcherWithOnChange

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultingWatcherWithOnChange

type DefaultingWatcherWithOnChange interface {
	// DefaultingWatcher is similar to Watcher, but if a ConfigMap is absent, then a code provided
	// default will be used.
	configmap.DefaultingWatcher

	// OnChange invokes the callbacks of all observers of the given ConfigMap.
	OnChange(*corev1.ConfigMap)
}

DefaultingWatcherWithOnChange is a configmap.DefaultingWatcher that also has an OnChange callback.

Jump to

Keyboard shortcuts

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