JobStatus

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

JobStatus represents the current state of a Job.

Value Params
active

The number of actively running pods.

conditions

The latest available observations of an object's current state. When a job fails, one of the conditions will have type == "Failed". 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.

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

Inherited methods

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