informer

package
v0.0.0-...-392b1d9 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDynamicInformer

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

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

func NewInformer

func NewInformer(
	c clientset.Interface,
	kind string,
	selector *measurementutil.ObjectSelector,
	handleObj func(interface{}, interface{}),
) cache.SharedInformer

NewInformer creates a new informer for given kind, namespace, fieldSelector and labelSelector.

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