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

pub struct ConfigMapBuildSource {
    pub config_map: LocalObjectReference,
    pub destination_dir: Option<String>,
}

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

Fields

config_map: LocalObjectReference

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

destination_dir: Option<String>

destinationDir is the directory where the files from the configmap should be available for the build time. For the Source build strategy, these will be injected into a container where the assemble script runs. 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.

Trait Implementations

impl Clone for ConfigMapBuildSource[src]

impl Debug for ConfigMapBuildSource[src]

impl Default for ConfigMapBuildSource[src]

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

impl PartialEq<ConfigMapBuildSource> for ConfigMapBuildSource[src]

impl Serialize for ConfigMapBuildSource[src]

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