Packages

case class JobStatus(active: Optional[Int] = Optional.Absent, completedIndexes: Optional[String] = Optional.Absent, completionTime: Optional[Time] = Optional.Absent, conditions: Optional[Vector[JobCondition]] = Optional.Absent, failed: Optional[Int] = Optional.Absent, ready: Optional[Int] = Optional.Absent, startTime: Optional[Time] = Optional.Absent, succeeded: Optional[Int] = Optional.Absent, uncountedTerminatedPods: Optional[UncountedTerminatedPods] = Optional.Absent) extends Product with Serializable

JobStatus represents the current state of a Job.

active

The number of pending and running pods.

completedIndexes

CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".

conditions

The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

failed

The number of pods which reached phase Failed.

ready

The number of pods which have a Ready condition. This field is alpha-level. The job controller populates the field when the feature gate JobReadyPods is enabled (disabled by default).

succeeded

The number of pods which reached phase Succeeded.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JobStatus
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JobStatus(active: Optional[Int] = Optional.Absent, completedIndexes: Optional[String] = Optional.Absent, completionTime: Optional[Time] = Optional.Absent, conditions: Optional[Vector[JobCondition]] = Optional.Absent, failed: Optional[Int] = Optional.Absent, ready: Optional[Int] = Optional.Absent, startTime: Optional[Time] = Optional.Absent, succeeded: Optional[Int] = Optional.Absent, uncountedTerminatedPods: Optional[UncountedTerminatedPods] = Optional.Absent)

    active

    The number of pending and running pods.

    completedIndexes

    CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".

    conditions

    The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

    failed

    The number of pods which reached phase Failed.

    ready

    The number of pods which have a Ready condition. This field is alpha-level. The job controller populates the field when the feature gate JobReadyPods is enabled (disabled by default).

    succeeded

    The number of pods which reached phase Succeeded.

Value Members

  1. val active: Optional[Int]
  2. val completedIndexes: Optional[String]
  3. val completionTime: Optional[Time]
  4. val conditions: Optional[Vector[JobCondition]]
  5. val failed: Optional[Int]
  6. def getActive: IO[K8sFailure, Int]

    The number of pending and running pods.

    The number of pending and running pods.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  7. def getCompletedIndexes: IO[K8sFailure, String]

    CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format.

    CompletedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  8. def getCompletionTime: IO[K8sFailure, Time]

    Gets completionTime.

    Gets completionTime.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  9. def getConditions: IO[K8sFailure, Vector[JobCondition]]

    The latest available observations of an object's current state.

    The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  10. def getFailed: IO[K8sFailure, Int]

    The number of pods which reached phase Failed.

    The number of pods which reached phase Failed.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  11. def getReady: IO[K8sFailure, Int]

    The number of pods which have a Ready condition.

    The number of pods which have a Ready condition.

    This field is alpha-level. The job controller populates the field when the feature gate JobReadyPods is enabled (disabled by default).

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  12. def getStartTime: IO[K8sFailure, Time]

    Gets startTime.

    Gets startTime.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  13. def getSucceeded: IO[K8sFailure, Int]

    The number of pods which reached phase Succeeded.

    The number of pods which reached phase Succeeded.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  14. def getUncountedTerminatedPods: IO[K8sFailure, UncountedTerminatedPods]

    Gets uncountedTerminatedPods.

    Gets uncountedTerminatedPods.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  15. val ready: Optional[Int]
  16. val startTime: Optional[Time]
  17. val succeeded: Optional[Int]
  18. val uncountedTerminatedPods: Optional[UncountedTerminatedPods]