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.
- Alphabetic
- By Inheritance
- JobStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val active: Optional[Int]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val completedIndexes: Optional[String]
- val completionTime: Optional[Time]
- val conditions: Optional[Vector[JobCondition]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val failed: Optional[Int]
-
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.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
def
getCompletionTime: IO[K8sFailure, Time]
Gets completionTime.
Gets completionTime.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
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.
-
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.
-
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.
-
def
getStartTime: IO[K8sFailure, Time]
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.
-
def
getUncountedTerminatedPods: IO[K8sFailure, UncountedTerminatedPods]
Gets uncountedTerminatedPods.
Gets uncountedTerminatedPods.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val ready: Optional[Int]
- val startTime: Optional[Time]
- val succeeded: Optional[Int]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val uncountedTerminatedPods: Optional[UncountedTerminatedPods]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated