watch

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccountRegistry   = NewRegistry()
	NamespaceRegistry = NewRegistry()
)

Functions

This section is empty.

Types

type Registry

type Registry interface {
	Subscribe(watcher Watcher)
	Unsubscribe(watcher Watcher)
	Start(ctx context.Context, cache cache.Cache, obj client.Object) error
}

func NewRegistry

func NewRegistry() Registry

type Watcher

type Watcher interface {
	Observe(event watch.Event)
}

Jump to

Keyboard shortcuts

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