Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceWatcher ¶
type ResourceWatcher struct {
// contains filtered or unexported fields
}
func NewResourceWatcher ¶
func NewResourceWatcher(client dynamic.Interface, gvk schema.GroupVersionResource, namespace string) *ResourceWatcher
func (*ResourceWatcher) GetEventsChannel ¶
func (w *ResourceWatcher) GetEventsChannel() <-chan event.GenericEvent
func (*ResourceWatcher) IsStarted ¶
func (w *ResourceWatcher) IsStarted() bool
func (*ResourceWatcher) Start ¶
func (w *ResourceWatcher) Start()
func (*ResourceWatcher) Stop ¶
func (w *ResourceWatcher) Stop()
type Watcher ¶
type Watcher interface { Start() Stop() GetEventsChannel() <-chan event.GenericEvent IsStarted() bool }
Click to show internal directories.
Click to hide internal directories.