Klasse PodKube

java.lang.Object
de.dlr.proseo.model.rest.model.PlannerPod
de.dlr.proseo.planner.rest.model.PodKube
Alle implementierten Schnittstellen:
Serializable

public class PodKube extends PlannerPod
Handle a Kubernetes pod/job
Autor:
Ernst Melchinger
Siehe auch:
  • Konstruktordetails

    • PodKube

      public PodKube(io.kubernetes.client.openapi.models.V1Job job)
      Set instance variables and convert data to text
      Parameter:
      job - Kubernetes job
  • Methodendetails

    • isCompleted

      public boolean isCompleted()
      Gibt zurück:
      true if job has been completed
    • hasStatus

      public boolean hasStatus(String status)
      Parameter:
      status - to look for
      Gibt zurück:
      true if job state equals status or Kubernetes job state and type is completed