[−][src]Struct openshift_openapi::api::build::v1::ConfigMapBuildSource
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]
fn clone(&self) -> ConfigMapBuildSource
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConfigMapBuildSource
[src]
impl Default for ConfigMapBuildSource
[src]
fn default() -> ConfigMapBuildSource
[src]
impl<'de> Deserialize<'de> for ConfigMapBuildSource
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<ConfigMapBuildSource> for ConfigMapBuildSource
[src]
fn eq(&self, other: &ConfigMapBuildSource) -> bool
[src]
fn ne(&self, other: &ConfigMapBuildSource) -> bool
[src]
impl Serialize for ConfigMapBuildSource
[src]
impl StructuralPartialEq for ConfigMapBuildSource
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConfigMapBuildSource
impl Send for ConfigMapBuildSource
impl Sync for ConfigMapBuildSource
impl Unpin for ConfigMapBuildSource
impl UnwindSafe for ConfigMapBuildSource
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,