Struct openshift_openapi::api::build::v1::BuildStatus[][src]

pub struct BuildStatus {
    pub cancelled: Option<bool>,
    pub completion_timestamp: Option<Time>,
    pub config: Option<ObjectReference>,
    pub duration: Option<i64>,
    pub log_snippet: Option<String>,
    pub message: Option<String>,
    pub output: Option<BuildStatusOutput>,
    pub output_docker_image_reference: Option<String>,
    pub phase: String,
    pub reason: Option<String>,
    pub stages: Option<Vec<StageInfo>>,
    pub start_timestamp: Option<Time>,
}

BuildStatus contains the status of a build

Fields

cancelled: Option<bool>

cancelled describes if a cancel event was triggered for the build.

completion_timestamp: Option<Time>

completionTimestamp is a timestamp representing the server time when this Build was finished, whether that build failed or succeeded. It reflects the time at which the Pod running the Build terminated. It is represented in RFC3339 form and is in UTC.

config: Option<ObjectReference>

config is an ObjectReference to the BuildConfig this Build is based on.

duration: Option<i64>

duration contains time.Duration object describing build time.

log_snippet: Option<String>

logSnippet is the last few lines of the build log. This value is only set for builds that failed.

message: Option<String>

message is a human-readable message indicating details about why the build has this status.

output: Option<BuildStatusOutput>

output describes the container image the build has produced.

output_docker_image_reference: Option<String>

outputDockerImageReference contains a reference to the container image that will be built by this build. Its value is computed from Build.Spec.Output.To, and should include the registry address, so that it can be used to push and pull the image.

phase: String

phase is the point in the build lifecycle. Possible values are "New", "Pending", "Running", "Complete", "Failed", "Error", and "Cancelled".

reason: Option<String>

reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.

stages: Option<Vec<StageInfo>>

stages contains details about each stage that occurs during the build including start time, duration (in milliseconds), and the steps that occured within each stage.

start_timestamp: Option<Time>

startTimestamp is a timestamp representing the server time when this Build started running in a Pod. It is represented in RFC3339 form and is in UTC.

Trait Implementations

impl Clone for BuildStatus[src]

impl Debug for BuildStatus[src]

impl Default for BuildStatus[src]

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

impl PartialEq<BuildStatus> for BuildStatus[src]

impl Serialize for BuildStatus[src]

impl StructuralPartialEq for BuildStatus[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.