informer

package
v0.0.0-...-f5e6093 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDynamicInformer

func NewDynamicInformer(
	c dynamic.Interface,
	gvr schema.GroupVersionResource,
	selector *util.ObjectSelector,
	handleObj func(interface{}, interface{}),
) cache.SharedInformer

NewDynamicInformer creates a new dynamic informer for given namespace, fieldSelector and labelSelector.

func NewInformer

func NewInformer(
	lw cache.ListerWatcher,
	handleObj func(interface{}, interface{}),
) cache.SharedInformer

NewInformer creates a new informer.

func StartAndSync

func StartAndSync(i cache.SharedInformer, stopCh <-chan struct{}, timeout time.Duration) error

StartAndSync starts informer and waits for it to be synced.

Types

This section is empty.

Jump to

Keyboard shortcuts

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