Documentation ¶
Overview ¶
The informers defines a registry for sharing informers
Index ¶
- type InformerGetter
- type InformerProvider
- type InformerRegistry
- func (im InformerRegistry) Get(object metav1.Object) cache.SharedInformer
- func (im InformerRegistry) GetInformerProvider(object metav1.Object) InformerProvider
- func (im InformerRegistry) Insert(object metav1.Object, informerprovider InformerProvider) error
- func (im InformerRegistry) RunAll(stop <-chan struct{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InformerGetter ¶
type InformerGetter interface {
GetInformer(object metav1.Object) cache.SharedInformer
}
type InformerProvider ¶
type InformerProvider interface {
Informer() cache.SharedIndexInformer
}
type InformerRegistry ¶
type InformerRegistry map[string]InformerProvider
InformerRegistry contains a map of
func (InformerRegistry) Get ¶
func (im InformerRegistry) Get(object metav1.Object) cache.SharedInformer
Get gets an SharedInformer from the Map
func (InformerRegistry) GetInformerProvider ¶
func (im InformerRegistry) GetInformerProvider(object metav1.Object) InformerProvider
func (InformerRegistry) Insert ¶
func (im InformerRegistry) Insert(object metav1.Object, informerprovider InformerProvider) error
Insert adds an SharedInformer to the Map
func (InformerRegistry) RunAll ¶
func (im InformerRegistry) RunAll(stop <-chan struct{})
RunAll runs all of the shared informers
Click to show internal directories.
Click to hide internal directories.