Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WatchEvents ¶ added in v0.0.6
func WatchEvents(client kubernetes.Interface, events chan<- *eventv1beta1.Event, namespace, name string, timeout time.Duration) (closer func(), err error)
WatchEvents starts a Kubernetes watcher, collecting any events emitted in the provided namespace, filtering only the ones regarding the resource with the provided name. The watch is expected to finish after specified timeout (NOTE: rounded down to seconds). Returns a function that, when called, stops the watch and frees its associated resources.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.