informer

package
v0.0.0-...-b37ff9f Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 9

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