[−][src]Struct k8s_openapi::api::core::v1::CSIVolumeSource
Represents a source location of a volume to mount, managed by an external CSI driver
Fields
driver: String
Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
fs_type: Option<String>
Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
node_publish_secret_ref: Option<LocalObjectReference>
NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
read_only: Option<bool>
Specifies a read-only configuration for the volume. Defaults to false (read/write).
volume_attributes: Option<BTreeMap<String, String>>
VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.
Trait Implementations
impl Clone for CSIVolumeSource
[src]
fn clone(&self) -> CSIVolumeSource
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CSIVolumeSource
[src]
impl Default for CSIVolumeSource
[src]
fn default() -> CSIVolumeSource
[src]
impl<'de> Deserialize<'de> for CSIVolumeSource
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<CSIVolumeSource> for CSIVolumeSource
[src]
fn eq(&self, other: &CSIVolumeSource) -> bool
[src]
fn ne(&self, other: &CSIVolumeSource) -> bool
[src]
impl Serialize for CSIVolumeSource
[src]
impl StructuralPartialEq for CSIVolumeSource
[src]
Auto Trait Implementations
impl RefUnwindSafe for CSIVolumeSource
impl Send for CSIVolumeSource
impl Sync for CSIVolumeSource
impl Unpin for CSIVolumeSource
impl UnwindSafe for CSIVolumeSource
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,