Documentation ¶
Index ¶
- func NewDynamicInformer(c dynamic.Interface, gvr schema.GroupVersionResource, ...) cache.SharedInformer
- func NewInformer(c clientset.Interface, kind string, selector *measurementutil.ObjectSelector, ...) 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 *measurementutil.ObjectSelector, handleObj func(interface{}, interface{}), ) cache.SharedInformer
NewDynamicInformer creates a new dynamic informer for given namespace, fieldSelector and labelSelector.
func NewInformer ¶
func NewInformer( c clientset.Interface, kind string, selector *measurementutil.ObjectSelector, handleObj func(interface{}, interface{}), ) cache.SharedInformer
NewInformer creates a new informer for given kind, namespace, fieldSelector and labelSelector.
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.