kubernetes

package
v2.14.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SettingsWatcher

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

SettingsWatcher watches settings and notifies its subscribers about any changes.

func NewSettingsWatcher

func NewSettingsWatcher(provider provider.SettingsProvider) (*SettingsWatcher, error)

SettingsWatcher returns a new resource watcher.

func (*SettingsWatcher) Subscribe

func (watcher *SettingsWatcher) Subscribe(subscription pubsub.Subscription)

Subscribe allows to register subscription handler which will be invoked on each settings change.

Jump to

Keyboard shortcuts

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