[−][src]Struct k8s_openapi::api::batch::v1::JobStatus
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]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<JobStatus> for JobStatus
[src]
impl Serialize for JobStatus
[src]
impl StructuralPartialEq for JobStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for JobStatus
[src]
impl Send for JobStatus
[src]
impl Sync for JobStatus
[src]
impl Unpin for JobStatus
[src]
impl UnwindSafe for JobStatus
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,