pub struct ConfigFileMount {
pub source: PathBuf,
pub mount_path: String,
pub key: String,
}Expand description
One file composed into the workload (ConfigMap mount for k8s bootstrap).
Fields§
§source: PathBufAbsolute path on the operator machine.
mount_path: StringPath inside the container (e.g. /app/config.yaml).
key: StringConfigMap key (basename-safe).
Trait Implementations§
Source§impl Clone for ConfigFileMount
impl Clone for ConfigFileMount
Source§fn clone(&self) -> ConfigFileMount
fn clone(&self) -> ConfigFileMount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConfigFileMount
impl Debug for ConfigFileMount
Source§impl<'de> Deserialize<'de> for ConfigFileMount
impl<'de> Deserialize<'de> for ConfigFileMount
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
Auto Trait Implementations§
impl Freeze for ConfigFileMount
impl RefUnwindSafe for ConfigFileMount
impl Send for ConfigFileMount
impl Sync for ConfigFileMount
impl Unpin for ConfigFileMount
impl UnsafeUnpin for ConfigFileMount
impl UnwindSafe for ConfigFileMount
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