watchers

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TypedSecondaryWatcher

type TypedSecondaryWatcher[object client.Object] struct {
	// contains filtered or unexported fields
}

TypedSecondaryWatcher watches secondary resources and enqueues reconcile requests for the primary resource.

func (*TypedSecondaryWatcher[object]) SetupWithController

func (w *TypedSecondaryWatcher[object]) SetupWithController(controller controller.Controller, obj object) error

SetupWithController sets up the watcher with the given controller

type TypedSecondaryWatcherBuilder

type TypedSecondaryWatcherBuilder[object client.Object] struct {
	// contains filtered or unexported fields
}

TypedSecondaryWatcherBuilder builds a TypedSecondaryWatcher instance

func NewTypedSecondaryWatcherBuilder

func NewTypedSecondaryWatcherBuilder[object client.Object]() *TypedSecondaryWatcherBuilder[object]

NewTypedSecondaryWatcherBuilder creates a new builder for TypedSecondaryWatcher

func (*TypedSecondaryWatcherBuilder[object]) Build

func (b *TypedSecondaryWatcherBuilder[object]) Build() *TypedSecondaryWatcher[object]

Build creates the TypedSecondaryWatcher instance

func (*TypedSecondaryWatcherBuilder[object]) WithCache

func (b *TypedSecondaryWatcherBuilder[object]) WithCache(cache cache.Cache) *TypedSecondaryWatcherBuilder[object]

WithCache sets the cache for the watcher

func (*TypedSecondaryWatcherBuilder[object]) WithFilter

func (b *TypedSecondaryWatcherBuilder[object]) WithFilter(filter predicate.TypedPredicate[object]) *TypedSecondaryWatcherBuilder[object]

WithFilter sets the predicate filter for the watcher

func (*TypedSecondaryWatcherBuilder[object]) WithHandler

func (b *TypedSecondaryWatcherBuilder[object]) WithHandler(handler handler.TypedEventHandler[object, reconcile.Request]) *TypedSecondaryWatcherBuilder[object]

WithHandler sets the event handler for the watcher

Jump to

Keyboard shortcuts

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