package metadatainformer
import "k8s.io/client-go/metadata/metadatainformer"
Index ¶
- func NewFilteredMetadataInformer(client metadata.Interface, gvr schema.GroupVersionResource, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions TweakListOptionsFunc) informers.GenericInformer
- type SharedInformerFactory
- func NewFilteredSharedInformerFactory(client metadata.Interface, defaultResync time.Duration, namespace string, tweakListOptions TweakListOptionsFunc) SharedInformerFactory
- func NewSharedInformerFactory(client metadata.Interface, defaultResync time.Duration) SharedInformerFactory
- type TweakListOptionsFunc
Functions ¶
func NewFilteredMetadataInformer ¶
func NewFilteredMetadataInformer(client metadata.Interface, gvr schema.GroupVersionResource, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions TweakListOptionsFunc) informers.GenericInformer
NewFilteredMetadataInformer constructs a new informer for a metadata type.
Types ¶
type SharedInformerFactory ¶
type SharedInformerFactory interface { schema.GroupVersionResource) informers.GenericInformer (stopCh <-chan struct{}) map[schema.GroupVersionResource]bool }(stopCh <-chan struct{}) (gvr
SharedInformerFactory provides access to a shared informer and lister for dynamic client
func NewFilteredSharedInformerFactory ¶
func NewFilteredSharedInformerFactory(client metadata.Interface, defaultResync time.Duration, namespace string, tweakListOptions TweakListOptionsFunc) SharedInformerFactory
NewFilteredSharedInformerFactory constructs a new instance of metadataSharedInformerFactory. Listers obtained via this factory will be subject to the same filters as specified here.
func NewSharedInformerFactory ¶
func NewSharedInformerFactory(client metadata.Interface, defaultResync time.Duration) SharedInformerFactory
NewSharedInformerFactory constructs a new instance of metadataSharedInformerFactory for all namespaces.
type TweakListOptionsFunc ¶
type TweakListOptionsFunc func(*metav1.ListOptions)
TweakListOptionsFunc defines the signature of a helper function that wants to provide more listing options to API
Source Files ¶
informer.go interface.go
- Version
- v0.23.6
- Published
- Apr 20, 2022
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 27 minutes ago –
Tools for package owners.