Struct k8s_openapi::v1_11::api::core::v1::LocalVolumeSource
source · pub struct LocalVolumeSource {
pub path: String,
}
Expand description
Local represents directly-attached storage with node affinity (Beta feature)
Fields§
§path: String
The full path to the volume on the node. It can be either a directory or block device (disk, partition, …). Directories can be represented only by PersistentVolume with VolumeMode=Filesystem. Block devices can be represented only by VolumeMode=Block, which also requires the BlockVolume alpha feature gate to be enabled.
Trait Implementations§
source§impl Clone for LocalVolumeSource
impl Clone for LocalVolumeSource
source§fn clone(&self) -> LocalVolumeSource
fn clone(&self) -> LocalVolumeSource
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 LocalVolumeSource
impl Debug for LocalVolumeSource
source§impl Default for LocalVolumeSource
impl Default for LocalVolumeSource
source§fn default() -> LocalVolumeSource
fn default() -> LocalVolumeSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LocalVolumeSource
impl<'de> Deserialize<'de> for LocalVolumeSource
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