Documentation ¶
Index ¶
- func ForceSyncFromInformer(stopCh <-chan struct{}, cacheSyncer CacheSyncer, informer cache.SharedInformer, ...) (cache.ResourceEventHandlerRegistration, error)
- func NewForceSyncSharedInformerFactory(factory informers.SharedInformerFactory) informers.SharedInformerFactory
- type CacheSyncer
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForceSyncFromInformer ¶
func ForceSyncFromInformer(stopCh <-chan struct{}, cacheSyncer CacheSyncer, informer cache.SharedInformer, handler cache.ResourceEventHandler, options ...Option) (cache.ResourceEventHandlerRegistration, error)
ForceSyncFromInformer ensures that the EventHandler will synchronize data immediately after registration, helping those plugins that need to build memory status through EventHandler to correctly synchronize data
func NewForceSyncSharedInformerFactory ¶ added in v1.4.0
func NewForceSyncSharedInformerFactory(factory informers.SharedInformerFactory) informers.SharedInformerFactory
Types ¶
type CacheSyncer ¶
Click to show internal directories.
Click to hide internal directories.