type SharedInformer …
type ResourceEventHandlerRegistration …
type SharedIndexInformer …
func NewSharedInformer(lw ListerWatcher, exampleObject runtime.Object, defaultEventHandlerResyncPeriod time.Duration) SharedInformer { … }
func NewSharedIndexInformer(lw ListerWatcher, exampleObject runtime.Object, defaultEventHandlerResyncPeriod time.Duration, indexers Indexers) SharedIndexInformer { … }
func NewSharedIndexInformerWithOptions(lw ListerWatcher, exampleObject runtime.Object, options SharedIndexInformerOptions) SharedIndexInformer { … }
type SharedIndexInformerOptions …
type InformerSynced …
const syncedPollPeriod …
const initialBufferSize …
func WaitForNamedCacheSync(controllerName string, stopCh <-chan struct{ … }
func WaitForCacheSync(stopCh <-chan struct{ … }
type sharedIndexInformer …
type dummyController …
func (v *dummyController) Run(stopCh <-chan struct{ … }
func (v *dummyController) HasSynced() bool { … }
func (v *dummyController) LastSyncResourceVersion() string { … }
type updateNotification …
type addNotification …
type deleteNotification …
func (s *sharedIndexInformer) SetWatchErrorHandler(handler WatchErrorHandler) error { … }
func (s *sharedIndexInformer) SetTransform(handler TransformFunc) error { … }
func (s *sharedIndexInformer) Run(stopCh <-chan struct{ … }
func (s *sharedIndexInformer) HasStarted() bool { … }
func (s *sharedIndexInformer) HasSynced() bool { … }
func (s *sharedIndexInformer) LastSyncResourceVersion() string { … }
func (s *sharedIndexInformer) GetStore() Store { … }
func (s *sharedIndexInformer) GetIndexer() Indexer { … }
func (s *sharedIndexInformer) AddIndexers(indexers Indexers) error { … }
func (s *sharedIndexInformer) GetController() Controller { … }
func (s *sharedIndexInformer) AddEventHandler(handler ResourceEventHandler) (ResourceEventHandlerRegistration, error) { … }
func determineResyncPeriod(desired, check time.Duration) time.Duration { … }
const minimumResyncPeriod …
func (s *sharedIndexInformer) AddEventHandlerWithResyncPeriod(handler ResourceEventHandler, resyncPeriod time.Duration) (ResourceEventHandlerRegistration, error) { … }
func (s *sharedIndexInformer) HandleDeltas(obj interface{ … }
func (s *sharedIndexInformer) OnAdd(obj interface{ … }
func (s *sharedIndexInformer) OnUpdate(old, new interface{ … }
func (s *sharedIndexInformer) OnDelete(old interface{ … }
func (s *sharedIndexInformer) IsStopped() bool { … }
func (s *sharedIndexInformer) RemoveEventHandler(handle ResourceEventHandlerRegistration) error { … }
type sharedProcessor …
func (p *sharedProcessor) getListener(registration ResourceEventHandlerRegistration) *processorListener { … }
func (p *sharedProcessor) addListener(listener *processorListener) ResourceEventHandlerRegistration { … }
func (p *sharedProcessor) removeListener(handle ResourceEventHandlerRegistration) error { … }
func (p *sharedProcessor) distribute(obj interface{ … }
func (p *sharedProcessor) run(stopCh <-chan struct{ … }
func (p *sharedProcessor) shouldResync() bool { … }
func (p *sharedProcessor) resyncCheckPeriodChanged(resyncCheckPeriod time.Duration) { … }
type processorListener …
func (p *processorListener) HasSynced() bool { … }
func newProcessListener(handler ResourceEventHandler, requestedResyncPeriod, resyncPeriod time.Duration, now time.Time, bufferSize int, hasSynced func() bool) *processorListener { … }
func (p *processorListener) add(notification interface{ … }
func (p *processorListener) pop() { … }
func (p *processorListener) run() { … }
func (p *processorListener) shouldResync(now time.Time) bool { … }
func (p *processorListener) determineNextResync(now time.Time) { … }
func (p *processorListener) setResyncPeriod(resyncPeriod time.Duration) { … }