pub struct OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath {
pub path: String,
pub type: Option<String>,
}Expand description
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
Fields§
§path: Stringpath of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
type: Option<String>type for HostPath Volume Defaults to “” More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
Trait Implementations§
Source§impl Clone for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
impl Clone for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
Source§fn clone(
&self,
) -> OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
fn clone( &self, ) -> OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
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 Default for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
impl Default for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
Source§fn default() -> OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
fn default() -> OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
impl<'de> Deserialize<'de> for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
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 StructuralPartialEq for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
Auto Trait Implementations§
impl Freeze for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
impl RefUnwindSafe for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
impl Send for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
impl Sync for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
impl Unpin for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
impl UnsafeUnpin for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
impl UnwindSafe for OperatorConfigDriverSpecDefaultsControllerPluginVolumesVolumeHostPath
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