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

pub struct BuildOutput {
    pub image_labels: Option<Vec<ImageLabel>>,
    pub push_secret: Option<LocalObjectReference>,
    pub to: Option<ObjectReference>,
}

BuildOutput is input to a build strategy and describes the container image that the strategy should produce.

Fields

image_labels: Option<Vec<ImageLabel>>

imageLabels define a list of labels that are applied to the resulting image. If there are multiple labels with the same name then the last one in the list is used.

push_secret: Option<LocalObjectReference>

PushSecret is the name of a Secret that would be used for setting up the authentication for executing the Docker push to authentication enabled Docker Registry (or Docker Hub).

to: Option<ObjectReference>

to defines an optional location to push the output of this build to. Kind must be one of 'ImageStreamTag' or 'DockerImage'. This value will be used to look up a container image repository to push to. In the case of an ImageStreamTag, the ImageStreamTag will be looked for in the namespace of the build unless Namespace is specified.

Trait Implementations

impl Clone for BuildOutput[src]

impl Debug for BuildOutput[src]

impl Default for BuildOutput[src]

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

impl PartialEq<BuildOutput> for BuildOutput[src]

impl Serialize for BuildOutput[src]

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