watch

package
v0.2.25 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(mgr ctrl.Manager) error

func NewControllerWithInputBufferWorkers added in v0.2.18

func NewControllerWithInputBufferWorkers(mgr ctrl.Manager, inputBufferWorkers int) error

func SetKindWatchRateLimit added in v0.1.21

func SetKindWatchRateLimit(rps int)

SetKindWatchRateLimit configures the shared rate limiter for KindWatchControllers.

Types

type KindWatchController

type KindWatchController struct {
	// contains filtered or unexported fields
}

func NewKindWatchController

func NewKindWatchController(ctx context.Context, parent *WatchController, resource *apiv1.ResourceRef) (*KindWatchController, error)

func (*KindWatchController) Reconcile

func (k *KindWatchController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*KindWatchController) Stop

func (k *KindWatchController) Stop(ctx context.Context)

type WatchController

type WatchController struct {
	// contains filtered or unexported fields
}

func (*WatchController) Reconcile

func (c *WatchController) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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