pub struct HostPathVolumeSource {
pub path: String,
pub type_: Option<String>,
}
Expand description
Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
Fields§
§path: String
path 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 HostPathVolumeSource
impl Clone for HostPathVolumeSource
Source§fn clone(&self) -> HostPathVolumeSource
fn clone(&self) -> HostPathVolumeSource
Returns a copy of the value. Read more
1.0.0 · 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 HostPathVolumeSource
impl Debug for HostPathVolumeSource
Source§impl DeepMerge for HostPathVolumeSource
impl DeepMerge for HostPathVolumeSource
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for HostPathVolumeSource
impl Default for HostPathVolumeSource
Source§fn default() -> HostPathVolumeSource
fn default() -> HostPathVolumeSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HostPathVolumeSource
impl<'de> Deserialize<'de> for HostPathVolumeSource
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
Source§impl PartialEq for HostPathVolumeSource
impl PartialEq for HostPathVolumeSource
Source§impl Serialize for HostPathVolumeSource
impl Serialize for HostPathVolumeSource
impl StructuralPartialEq for HostPathVolumeSource
Auto Trait Implementations§
impl Freeze for HostPathVolumeSource
impl RefUnwindSafe for HostPathVolumeSource
impl Send for HostPathVolumeSource
impl Sync for HostPathVolumeSource
impl Unpin for HostPathVolumeSource
impl UnwindSafe for HostPathVolumeSource
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