watch

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(mgr ctrl.Manager) 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