metadatainformer

package
v0.0.0-...-0416c83 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredMetadataInformer

func NewFilteredMetadataInformer(client kcpmetadata.ClusterInterface, gvr schema.GroupVersionResource, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions metadatainformer.TweakListOptionsFunc) kcpinformers.GenericClusterInformer

NewFilteredMetadataInformer constructs a new informer for a dynamic type.

Types

type SharedInformerFactory

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

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

func NewFilteredSharedInformerFactory

func NewFilteredSharedInformerFactory(client kcpmetadata.ClusterInterface, defaultResync time.Duration, tweakListOptions metadatainformer.TweakListOptionsFunc) SharedInformerFactory

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

func NewSharedInformerFactory

func NewSharedInformerFactory(client kcpmetadata.ClusterInterface, defaultResync time.Duration) SharedInformerFactory

NewSharedInformerFactory constructs a new instance of sharedInformerFactory for all namespaces.

Jump to

Keyboard shortcuts

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