Struct k8s_openapi::v1_10::api::core::v1::FlexPersistentVolumeSource [−][src]
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 Clone for FlexPersistentVolumeSourcefn clone(&self) -> FlexPersistentVolumeSource[src]
fn clone(&self) -> FlexPersistentVolumeSourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for FlexPersistentVolumeSource[src]
impl Debug for FlexPersistentVolumeSourcefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for FlexPersistentVolumeSource[src]
impl Default for FlexPersistentVolumeSourcefn default() -> FlexPersistentVolumeSource[src]
fn default() -> FlexPersistentVolumeSourceReturns the "default value" for a type. Read more
impl PartialEq for FlexPersistentVolumeSource[src]
impl PartialEq for FlexPersistentVolumeSourcefn eq(&self, other: &FlexPersistentVolumeSource) -> bool[src]
fn eq(&self, other: &FlexPersistentVolumeSource) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &FlexPersistentVolumeSource) -> bool[src]
fn ne(&self, other: &FlexPersistentVolumeSource) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for FlexPersistentVolumeSource[src]
impl<'de> Deserialize<'de> for FlexPersistentVolumeSourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for FlexPersistentVolumeSource[src]
impl Serialize for FlexPersistentVolumeSourceAuto Trait Implementations
impl Send for FlexPersistentVolumeSource
impl Send for FlexPersistentVolumeSourceimpl Sync for FlexPersistentVolumeSource
impl Sync for FlexPersistentVolumeSource