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

pub struct SourceBuildStrategy {
    pub env: Option<Vec<EnvVar>>,
    pub force_pull: Option<bool>,
    pub from: ObjectReference,
    pub incremental: Option<bool>,
    pub pull_secret: Option<LocalObjectReference>,
    pub scripts: Option<String>,
}

SourceBuildStrategy defines input parameters specific to an Source build.

Fields

env: Option<Vec<EnvVar>>

env contains additional environment variables you want to pass into a builder container.

force_pull: Option<bool>

forcePull describes if the builder should pull the images from registry prior to building.

from: ObjectReference

from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which the container image should be pulled

incremental: Option<bool>

incremental flag forces the Source build to do incremental builds if true.

pull_secret: Option<LocalObjectReference>

pullSecret is the name of a Secret that would be used for setting up the authentication for pulling the container images from the private Docker registries

scripts: Option<String>

scripts is the location of Source scripts

Trait Implementations

impl Clone for SourceBuildStrategy[src]

impl Debug for SourceBuildStrategy[src]

impl Default for SourceBuildStrategy[src]

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

impl PartialEq<SourceBuildStrategy> for SourceBuildStrategy[src]

impl Serialize for SourceBuildStrategy[src]

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