Documentation ¶
Index ¶
- type DynamicMultiNamespaceInformer
- func (inf *DynamicMultiNamespaceInformer) AddEventHandler(handler cache.ResourceEventHandler)
- func (inf *DynamicMultiNamespaceInformer) Get(ns, name string) (runtime.Object, error)
- func (inf *DynamicMultiNamespaceInformer) List(ns string) ([]runtime.Object, error)
- func (inf *DynamicMultiNamespaceInformer) Start(ctx context.Context)
- func (inf *DynamicMultiNamespaceInformer) WaitForCacheSync(stopCh <-chan struct{}) map[schema.GroupVersionResource]bool
- type GetterInformer
- type GetterInformerWrapper
- func (w GetterInformerWrapper) AddEventHandler(handler cache.ResourceEventHandler)
- func (w GetterInformerWrapper) Get(ns, name string) (runtime.Object, error)
- func (w GetterInformerWrapper) List(ns string) ([]runtime.Object, error)
- func (w GetterInformerWrapper) Start(ctx context.Context)
- func (w GetterInformerWrapper) WaitForCacheSync(stopCh <-chan struct{}) map[schema.GroupVersionResource]bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicMultiNamespaceInformer ¶
type DynamicMultiNamespaceInformer struct {
// contains filtered or unexported fields
}
DynamicMultiNamespaceInformer is a dynamic informer that spans multiple namespaces by starting individual informers per namespace and aggregating all of these.
func NewDynamicMultiNamespaceInformer ¶
func NewDynamicMultiNamespaceInformer( gvr schema.GroupVersionResource, providerNamespace string, providerConfig *rest.Config, serviceNamespaceInformer dynamic.Informer[bindlisters.APIServiceNamespaceLister], ) (*DynamicMultiNamespaceInformer, error)
func (*DynamicMultiNamespaceInformer) AddEventHandler ¶
func (inf *DynamicMultiNamespaceInformer) AddEventHandler(handler cache.ResourceEventHandler)
func (*DynamicMultiNamespaceInformer) Get ¶
func (inf *DynamicMultiNamespaceInformer) Get(ns, name string) (runtime.Object, error)
func (*DynamicMultiNamespaceInformer) List ¶
func (inf *DynamicMultiNamespaceInformer) List(ns string) ([]runtime.Object, error)
func (*DynamicMultiNamespaceInformer) Start ¶
func (inf *DynamicMultiNamespaceInformer) Start(ctx context.Context)
func (*DynamicMultiNamespaceInformer) WaitForCacheSync ¶
func (inf *DynamicMultiNamespaceInformer) WaitForCacheSync(stopCh <-chan struct{}) map[schema.GroupVersionResource]bool
type GetterInformer ¶
type GetterInformerWrapper ¶
type GetterInformerWrapper struct { GVR schema.GroupVersionResource Delegate dynamicinformer.DynamicSharedInformerFactory }
func (GetterInformerWrapper) AddEventHandler ¶
func (w GetterInformerWrapper) AddEventHandler(handler cache.ResourceEventHandler)
func (GetterInformerWrapper) Get ¶
func (w GetterInformerWrapper) Get(ns, name string) (runtime.Object, error)
func (GetterInformerWrapper) List ¶
func (w GetterInformerWrapper) List(ns string) ([]runtime.Object, error)
func (GetterInformerWrapper) Start ¶
func (w GetterInformerWrapper) Start(ctx context.Context)
func (GetterInformerWrapper) WaitForCacheSync ¶
func (w GetterInformerWrapper) WaitForCacheSync(stopCh <-chan struct{}) map[schema.GroupVersionResource]bool
Click to show internal directories.
Click to hide internal directories.