watch

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WatchNamespace            = "kubevol"
	WatchConfigMapTrackerName = "kubevol-configmap-tracker"
	WatchSecretTrackerName    = "kubevol-secret-tracker"
)

Functions

func GetConfigMapKey

func GetConfigMapKey(namespace string, name string) string

Types

type Watch

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

func NewWatch

func NewWatch(f *core.Factory) *Watch

func (Watch) AddConfigMapTracker added in v0.6.0

func (w Watch) AddConfigMapTracker(new interface{})

func (Watch) AddSecretTracker added in v0.6.0

func (w Watch) AddSecretTracker(obj interface{})

func (Watch) DeleteConfigMapTracker

func (w Watch) DeleteConfigMapTracker(obj interface{})

func (Watch) DeleteSecretTracker

func (w Watch) DeleteSecretTracker(obj interface{})

func (Watch) DeleteTracker added in v0.6.0

func (w Watch) DeleteTracker(trackerConfigmapName string, ns string, nm string)

func (Watch) UpateConfigMapTracker

func (w Watch) UpateConfigMapTracker(old, new interface{})

func (Watch) UpateSecretTracker

func (w Watch) UpateSecretTracker(old, new interface{})

func (Watch) UpdateTracker added in v0.6.0

func (w Watch) UpdateTracker(trackerConfigmapName string, ns string, nm string)

Jump to

Keyboard shortcuts

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