NewSharedInformer creates a new instance for the listwatcher.
(lw ListerWatcher, objType runtime.Object, resyncPeriod time.Duration)
| 125 | |
| 126 | // NewSharedInformer creates a new instance for the listwatcher. |
| 127 | func NewSharedInformer(lw ListerWatcher, objType runtime.Object, resyncPeriod time.Duration) SharedInformer { |
| 128 | return NewSharedIndexInformer(lw, objType, resyncPeriod, Indexers{}) |
| 129 | } |
| 130 | |
| 131 | // NewSharedIndexInformer creates a new instance for the listwatcher. |
| 132 | func NewSharedIndexInformer(lw ListerWatcher, objType runtime.Object, defaultEventHandlerResyncPeriod time.Duration, indexers Indexers) SharedIndexInformer { |