[][src]Struct k8s_openapi::api::batch::v1::JobStatus

pub struct JobStatus {
    pub active: Option<i32>,
    pub completion_time: Option<Time>,
    pub conditions: Option<Vec<JobCondition>>,
    pub failed: Option<i32>,
    pub start_time: Option<Time>,
    pub succeeded: Option<i32>,
}

JobStatus represents the current state of a Job.

Fields

active: Option<i32>

The number of actively running pods.

completion_time: Option<Time>

Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.

conditions: Option<Vec<JobCondition>>

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: Option<i32>

The number of pods which reached phase Failed.

start_time: Option<Time>

Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.

succeeded: Option<i32>

The number of pods which reached phase Succeeded.

Trait Implementations

impl Clone for JobStatus[src]

impl Debug for JobStatus[src]

impl Default for JobStatus[src]

impl<'de> Deserialize<'de> for JobStatus[src]

impl PartialEq<JobStatus> for JobStatus[src]

impl Serialize for JobStatus[src]

impl StructuralPartialEq for JobStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.