dynamicinformer

package
v0.31.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 17 Imported by: 2 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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