JobStatus

case
class JobStatus(active: Optional[Int], completedIndexes: Optional[String], completionTime: Optional[Time], conditions: Optional[Vector[JobCondition]], failed: Optional[Int], startTime: Optional[Time], succeeded: Optional[Int], uncountedTerminatedPods: Optional[UncountedTerminatedPods])

JobStatus represents the current state of a Job.

Value Params
active

The number of actively 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.

succeeded

The number of pods which reached phase Succeeded.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getActive: IO[K8sFailure, Int]

The number of actively running pods.

The number of actively running pods.

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

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".

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.

Gets completionTime.

Gets completionTime.

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

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/

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.

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.

Gets startTime.

Gets startTime.

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

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.

Gets uncountedTerminatedPods.

Gets uncountedTerminatedPods.

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

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product