[−][src]Struct openshift_openapi::api::build::v1::SecretBuildSource
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]
fn clone(&self) -> SecretBuildSource
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SecretBuildSource
[src]
impl Default for SecretBuildSource
[src]
fn default() -> SecretBuildSource
[src]
impl<'de> Deserialize<'de> for SecretBuildSource
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<SecretBuildSource> for SecretBuildSource
[src]
fn eq(&self, other: &SecretBuildSource) -> bool
[src]
fn ne(&self, other: &SecretBuildSource) -> bool
[src]
impl Serialize for SecretBuildSource
[src]
impl StructuralPartialEq for SecretBuildSource
[src]
Auto Trait Implementations
impl RefUnwindSafe for SecretBuildSource
impl Send for SecretBuildSource
impl Sync for SecretBuildSource
impl Unpin for SecretBuildSource
impl UnwindSafe for SecretBuildSource
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>,