public interface Watchable<T>
| Modifier and Type | Method and Description |
|---|---|
Watch |
watch(io.fabric8.kubernetes.api.model.ListOptions options,
Watcher<T> watcher)
Watch returns
Watch interface that watches requested resource |
Watch |
watch(String resourceVersion,
Watcher<T> watcher)
Deprecated.
Please use
watch(ListOptions, Watcher) instead, it has a parameter of resourceVersion |
Watch |
watch(Watcher<T> watcher)
Watch returns
Watch interface that watches requested resource |
Watch watch(Watcher<T> watcher)
Watch interface that watches requested resourcewatcher - Watcher interface of Kubernetes resourceWatchWatch watch(io.fabric8.kubernetes.api.model.ListOptions options, Watcher<T> watcher)
Watch interface that watches requested resource
The passed in options may be modified as a side-effect of this call.
Values that already exist at this context, such as the labels, fields,
and resourceVersion will be overridden on the passed in options regardless of initial values.
options - options available for watch operationwatcher - Watcher interface of Kubernetes resourceWatch@Deprecated Watch watch(String resourceVersion, Watcher<T> watcher)
watch(ListOptions, Watcher) instead, it has a parameter of resourceVersionWatch interface that watches requested resource from
specified resourceVersionresourceVersion - resource version from where to start watchwatcher - Watcher interface of Kubernetes resourceWatchCopyright © 2015–2023 Red Hat. All rights reserved.