[][src]Struct k8s_openapi::api::core::v1::FlexPersistentVolumeSource

pub struct FlexPersistentVolumeSource {
    pub driver: String,
    pub fs_type: Option<String>,
    pub options: Option<BTreeMap<String, String>>,
    pub read_only: Option<bool>,
    pub secret_ref: Option<SecretReference>,
}

FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.

Fields

driver: String

Driver is the name of the driver to use for this volume.

fs_type: Option<String>

Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.

options: Option<BTreeMap<String, String>>

Optional: Extra command options if any.

read_only: Option<bool>

Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.

secret_ref: Option<SecretReference>

Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.

Trait Implementations

impl Clone for FlexPersistentVolumeSource[src]

impl Debug for FlexPersistentVolumeSource[src]

impl Default for FlexPersistentVolumeSource[src]

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

impl PartialEq<FlexPersistentVolumeSource> for FlexPersistentVolumeSource[src]

impl Serialize for FlexPersistentVolumeSource[src]

impl StructuralPartialEq for FlexPersistentVolumeSource[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.