Struct k8s_openapi::v1_9::api::core::v1::CSIPersistentVolumeSource
source · pub struct CSIPersistentVolumeSource {
pub driver: String,
pub read_only: Option<bool>,
pub volume_handle: String,
}
Expand description
Represents storage that is managed by an external CSI volume driver
Fields§
§driver: String
Driver is the name of the driver to use for this volume. Required.
read_only: Option<bool>
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).
volume_handle: String
VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
Trait Implementations§
source§impl Clone for CSIPersistentVolumeSource
impl Clone for CSIPersistentVolumeSource
source§fn clone(&self) -> CSIPersistentVolumeSource
fn clone(&self) -> CSIPersistentVolumeSource
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 CSIPersistentVolumeSource
impl Debug for CSIPersistentVolumeSource
source§impl Default for CSIPersistentVolumeSource
impl Default for CSIPersistentVolumeSource
source§fn default() -> CSIPersistentVolumeSource
fn default() -> CSIPersistentVolumeSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CSIPersistentVolumeSource
impl<'de> Deserialize<'de> for CSIPersistentVolumeSource
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