watcher

package
v0.0.0-...-11b31ba Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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