pub struct KubernetesSecretMount {
pub secret_name: String,
pub mount_path: String,
}Expand description
Mounts an existing, setup-owned Kubernetes Secret into a Container pod. The Secret must exist in the deployment namespace before the workload starts.
Fields§
§secret_name: StringName of the existing Secret in the deployment namespace.
mount_path: StringDirectory where Kubernetes mounts the Secret’s keys as read-only files.
Trait Implementations§
Source§impl Clone for KubernetesSecretMount
impl Clone for KubernetesSecretMount
Source§impl Debug for KubernetesSecretMount
impl Debug for KubernetesSecretMount
Source§impl<'de> Deserialize<'de> for KubernetesSecretMount
impl<'de> Deserialize<'de> for KubernetesSecretMount
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
impl Eq for KubernetesSecretMount
Source§impl PartialEq for KubernetesSecretMount
impl PartialEq for KubernetesSecretMount
Source§impl Serialize for KubernetesSecretMount
impl Serialize for KubernetesSecretMount
impl StructuralPartialEq for KubernetesSecretMount
Auto Trait Implementations§
impl Freeze for KubernetesSecretMount
impl RefUnwindSafe for KubernetesSecretMount
impl Send for KubernetesSecretMount
impl Sync for KubernetesSecretMount
impl Unpin for KubernetesSecretMount
impl UnsafeUnpin for KubernetesSecretMount
impl UnwindSafe for KubernetesSecretMount
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.