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

pub struct SecretBuildSource {
    pub destination_dir: Option<String>,
    pub secret: LocalObjectReference,
}

SecretBuildSource describes a secret and its destination directory that will be used only at the build time. The content of the secret referenced here will be copied into the destination directory instead of mounting.

Fields

destination_dir: Option<String>

destinationDir is the directory where the files from the secret should be available for the build time. For the Source build strategy, these will be injected into a container where the assemble script runs. Later, when the script finishes, all files injected will be truncated to zero length. For the container image build strategy, these will be copied into the build directory, where the Dockerfile is located, so users can ADD or COPY them during container image build.

secret: LocalObjectReference

secret is a reference to an existing secret that you want to use in your build.

Trait Implementations

impl Clone for SecretBuildSource[src]

impl Debug for SecretBuildSource[src]

impl Default for SecretBuildSource[src]

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

impl PartialEq<SecretBuildSource> for SecretBuildSource[src]

impl Serialize for SecretBuildSource[src]

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