Interface Reaper.Listener

    • Method Detail

      • onEvent

        void onEvent​(@NonNull
                     io.fabric8.kubernetes.client.Watcher.Action action,
                     @NonNull
                     KubernetesSlave node,
                     @NonNull
                     io.fabric8.kubernetes.api.model.Pod pod,
                     @NonNull
                     Set<String> terminationReasons)
              throws IOException,
                     InterruptedException
        Handle Pod event.
        Parameters:
        action - the kind of event that happened to the referred pod
        node - The affected node
        pod - The affected pod
        terminationReasons - Set of termination reasons
        Throws:
        IOException
        InterruptedException