Documentation ¶
Index ¶
- func NewDynamicInformer(c dynamic.Interface, gvr schema.GroupVersionResource, ...) cache.SharedInformer
- func NewInformer(lw cache.ListerWatcher, handleObj func(interface{}, interface{})) cache.SharedInformer
- func StartAndSync(i cache.SharedInformer, stopCh <-chan struct{}, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDynamicInformer ¶
func NewDynamicInformer( c dynamic.Interface, gvr schema.GroupVersionResource, selector *util.ObjectSelector, handleObj func(interface{}, interface{}), ) cache.SharedInformer
NewDynamicInformer creates a new dynamic informer for given namespace, fieldSelector and labelSelector.
func NewInformer ¶
func NewInformer( lw cache.ListerWatcher, handleObj func(interface{}, interface{}), ) cache.SharedInformer
NewInformer creates a new informer.
func StartAndSync ¶
func StartAndSync(i cache.SharedInformer, stopCh <-chan struct{}, timeout time.Duration) error
StartAndSync starts informer and waits for it to be synced.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.