Uses of Class
org.jdrupes.vmoperator.common.K8sObserver
Package
Description
Classes and methods shared among the VM operator modules.
-
Uses of K8sObserver in org.jdrupes.vmoperator.common
Modifier and TypeFieldDescriptionprotected BiConsumer
<K8sObserver<O, L>, Throwable> K8sObserver.onTerminated
Modifier and TypeMethodDescriptionK8sObserver.handler
(BiConsumer<K8sClient, io.kubernetes.client.util.Watch.Response<O>> handler) Sets the handler.K8sObserver.onTerminated
(BiConsumer<K8sObserver<O, L>, Throwable> onTerminated) Sets a function to invoke if the observer terminates.K8sObserver.start()
Start the observer.K8sObserver.stop()
Stops the observer.Modifier and TypeMethodDescriptionK8sObserver.onTerminated
(BiConsumer<K8sObserver<O, L>, Throwable> onTerminated) Sets a function to invoke if the observer terminates.