dynamicinformer

package
v0.0.0-...-f5949d8 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 17 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredDynamicInformer

func NewFilteredDynamicInformer(client kcpdynamic.ClusterInterface, gvr schema.GroupVersionResource, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions dynamicinformer.TweakListOptionsFunc) kcpinformers.GenericClusterInformer

NewFilteredDynamicInformer constructs a new informer for a dynamic type.

Types

type DynamicSharedInformerFactory

type DynamicSharedInformerFactory interface {
	Start(stopCh <-chan struct{})
	ForResource(gvr schema.GroupVersionResource) kcpinformers.GenericClusterInformer
	WaitForCacheSync(stopCh <-chan struct{}) map[schema.GroupVersionResource]bool
}

DynamicSharedInformerFactory provides access to a shared informer and lister for dynamic client.

func NewDynamicSharedInformerFactory

func NewDynamicSharedInformerFactory(client kcpdynamic.ClusterInterface, defaultResync time.Duration) DynamicSharedInformerFactory

NewDynamicSharedInformerFactory constructs a new instance of dynamicSharedInformerFactory for all namespaces.

func NewFilteredDynamicSharedInformerFactory

func NewFilteredDynamicSharedInformerFactory(client kcpdynamic.ClusterInterface, defaultResync time.Duration, tweakListOptions dynamicinformer.TweakListOptionsFunc) DynamicSharedInformerFactory

NewFilteredDynamicSharedInformerFactory constructs a new instance of dynamicSharedInformerFactory. Listers obtained via this factory will be subject to the same filters as specified here.

Jump to

Keyboard shortcuts

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