informers

package
v0.17.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHandlers

type EventHandlers struct {
	AddFunc    func(obj any)
	UpdateFunc func(oldObj, newObj any)
	DeleteFunc func(obj any)
}

type GenericInformer

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

func New

func New(ctx context.Context, c cache.Cache, obj client.Object, handlers EventHandlers) (*GenericInformer, error)

func (*GenericInformer) HasSynced

func (g *GenericInformer) HasSynced() bool

func (*GenericInformer) WaitForSync

func (g *GenericInformer) WaitForSync(ctx context.Context) error

Jump to

Keyboard shortcuts

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