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

pub struct CustomBuildStrategy {
    pub build_api_version: Option<String>,
    pub env: Option<Vec<EnvVar>>,
    pub expose_docker_socket: Option<bool>,
    pub force_pull: Option<bool>,
    pub from: ObjectReference,
    pub pull_secret: Option<LocalObjectReference>,
    pub secrets: Option<Vec<SecretSpec>>,
}

CustomBuildStrategy defines input parameters specific to Custom build.

Fields

build_api_version: Option<String>

buildAPIVersion is the requested API version for the Build object serialized and passed to the custom builder

env: Option<Vec<EnvVar>>

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

expose_docker_socket: Option<bool>

exposeDockerSocket will allow running Docker commands (and build container images) from inside the container.

force_pull: Option<bool>

forcePull describes if the controller should configure the build pod to always pull the images for the builder or only pull if it is not present locally

from: ObjectReference

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

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

secrets: Option<Vec<SecretSpec>>

secrets is a list of additional secrets that will be included in the build pod

Trait Implementations

impl Clone for CustomBuildStrategy[src]

impl Debug for CustomBuildStrategy[src]

impl Default for CustomBuildStrategy[src]

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

impl PartialEq<CustomBuildStrategy> for CustomBuildStrategy[src]

impl Serialize for CustomBuildStrategy[src]

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