pub struct ConfigMapBuildSource {
pub config_map: LocalObjectReference,
pub destination_dir: Option<String>,
}
Expand description
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§
Source§impl Clone for ConfigMapBuildSource
impl Clone for ConfigMapBuildSource
Source§fn clone(&self) -> ConfigMapBuildSource
fn clone(&self) -> ConfigMapBuildSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConfigMapBuildSource
impl Debug for ConfigMapBuildSource
Source§impl Default for ConfigMapBuildSource
impl Default for ConfigMapBuildSource
Source§fn default() -> ConfigMapBuildSource
fn default() -> ConfigMapBuildSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigMapBuildSource
impl<'de> Deserialize<'de> for ConfigMapBuildSource
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConfigMapBuildSource
impl PartialEq for ConfigMapBuildSource
Source§impl Serialize for ConfigMapBuildSource
impl Serialize for ConfigMapBuildSource
impl StructuralPartialEq for ConfigMapBuildSource
Auto Trait Implementations§
impl Freeze for ConfigMapBuildSource
impl RefUnwindSafe for ConfigMapBuildSource
impl Send for ConfigMapBuildSource
impl Sync for ConfigMapBuildSource
impl Unpin for ConfigMapBuildSource
impl UnwindSafe for ConfigMapBuildSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more