package dynamicinformer
import "k8s.io/client-go/dynamic/dynamicinformer"
Index ¶
- func NewFilteredDynamicInformer(client dynamic.Interface, gvr schema.GroupVersionResource, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions TweakListOptionsFunc) informers.GenericInformer
- type DynamicSharedInformerFactory
- func NewDynamicSharedInformerFactory(client dynamic.Interface, defaultResync time.Duration) DynamicSharedInformerFactory
- func NewFilteredDynamicSharedInformerFactory(client dynamic.Interface, defaultResync time.Duration, namespace string, tweakListOptions TweakListOptionsFunc) DynamicSharedInformerFactory
- type TweakListOptionsFunc
Functions ¶
func NewFilteredDynamicInformer ¶
func NewFilteredDynamicInformer(client dynamic.Interface, gvr schema.GroupVersionResource, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions TweakListOptionsFunc) informers.GenericInformer
NewFilteredDynamicInformer constructs a new informer for a dynamic type.
Types ¶
type DynamicSharedInformerFactory ¶
type DynamicSharedInformerFactory interface { schema.GroupVersionResource) informers.GenericInformer (stopCh <-chan struct{}) map[schema.GroupVersionResource]bool }(stopCh <-chan struct{}) (gvr
DynamicSharedInformerFactory provides access to a shared informer and lister for dynamic client
func NewDynamicSharedInformerFactory ¶
func NewDynamicSharedInformerFactory(client dynamic.Interface, defaultResync time.Duration) DynamicSharedInformerFactory
NewDynamicSharedInformerFactory constructs a new instance of dynamicSharedInformerFactory for all namespaces.
func NewFilteredDynamicSharedInformerFactory ¶
func NewFilteredDynamicSharedInformerFactory(client dynamic.Interface, defaultResync time.Duration, namespace string, tweakListOptions TweakListOptionsFunc) DynamicSharedInformerFactory
NewFilteredDynamicSharedInformerFactory constructs a new instance of dynamicSharedInformerFactory. Listers obtained via this factory will be subject to the same filters as specified here.
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.17.15
- Published
- Dec 9, 2020
- Platform
- js/wasm
- Imports
- 11 packages
- Last checked
- 32 minutes ago –
Tools for package owners.