Interface Watcher<T>


public interface Watcher<T>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    eventReceived(Watcher.Action action, T resource)
     
    void
    onClose(io.kubernetes.client.openapi.ApiException cause)
    Run when the watcher finally closes.
  • Method Details

    • eventReceived

      void eventReceived(Watcher.Action action, T resource)
    • onClose

      void onClose(io.kubernetes.client.openapi.ApiException cause)
      Run when the watcher finally closes.
      Parameters:
      cause - What caused the watcher to be closed. Null means normal close.