watcher

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StopFunc

type StopFunc func()

type Watcher

type Watcher interface {
	// Run Watcher in the background, listening for k8s resource events, until StopFunc is called
	RunBackground() StopFunc
	// Get ResourceEventHandler
	GetHandler() resEventHandler.ResourceEventHandler
}

func NewWatcher

func NewWatcher(eventHandler resEventHandler.ResourceEventHandler, client k8sClient.Client) Watcher

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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