Class Reaper.RemoveAgentOnPodDeleted

    • Constructor Detail

      • RemoveAgentOnPodDeleted

        public RemoveAgentOnPodDeleted()
    • Method Detail

      • onEvent

        public 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
        Description copied from interface: Reaper.Listener
        Handle Pod event.
        Specified by:
        onEvent in interface Reaper.Listener
        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