Struct k8s_openapi::v1_11::api::core::v1::LocalVolumeSource[][src]

pub struct LocalVolumeSource {
    pub path: String,
}

Local represents directly-attached storage with node affinity (Beta feature)

Fields

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

impl Clone for LocalVolumeSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LocalVolumeSource
[src]

Formats the value using the given formatter. Read more

impl Default for LocalVolumeSource
[src]

Returns the "default value" for a type. Read more

impl PartialEq for LocalVolumeSource
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for LocalVolumeSource
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for LocalVolumeSource
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations