informers

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Informer

type Informer interface {
	// contains filtered or unexported methods
}

func NewInformer

func NewInformer(client resourceclient.Client, gvk schema.GroupVersionKind, branchName string) Informer

type InformerFactory

type InformerFactory interface {
	AddEventHandler(gvk schema.GroupVersionKind, reconcilerName string, handler OnChangeFn) error
	Start(ctx context.Context)
}

func NewInformerFactory

func NewInformerFactory(client resourceclient.Client, gvks sets.Set[schema.GroupVersionKind], branchName string) InformerFactory

type OnChangeFn

type OnChangeFn func(ctx context.Context, eventType resourcepb.Watch_EventType, obj runtime.Unstructured) bool

Jump to

Keyboard shortcuts

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