Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct { *types.Base // TODO: This should be thread safe. DeviceGroups map[string]int32 }
Watcher represents a watcher type that watches namespaces.
func (Watcher) AddFunc ¶
func (w Watcher) AddFunc() func(obj interface{})
AddFunc is a function that implements the Watcher interface.
func (Watcher) DeleteFunc ¶
func (w Watcher) DeleteFunc() func(obj interface{})
DeleteFunc is a function that implements the Watcher interface.
func (Watcher) UpdateFunc ¶
func (w Watcher) UpdateFunc() func(oldObj, newObj interface{})
UpdateFunc is a function that implements the Watcher interface.
Click to show internal directories.
Click to hide internal directories.