pub struct OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath {
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 OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
impl Clone for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
Source§fn clone(
&self,
) -> OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
fn clone( &self, ) -> OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
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 OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
impl Default for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
Source§fn default() -> OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
fn default() -> OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
impl<'de> Deserialize<'de> for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
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 OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
Auto Trait Implementations§
impl Freeze for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
impl RefUnwindSafe for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
impl Send for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
impl Sync for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
impl Unpin for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
impl UnsafeUnpin for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
impl UnwindSafe for OperatorConfigDriverSpecDefaultsNodePluginVolumesVolumeHostPath
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