Struct k8s_openapi::api::core::v1::ScaleIOPersistentVolumeSource
source · [−]pub struct ScaleIOPersistentVolumeSource {
pub fs_type: Option<String>,
pub gateway: String,
pub protection_domain: Option<String>,
pub read_only: Option<bool>,
pub secret_ref: SecretReference,
pub ssl_enabled: Option<bool>,
pub storage_mode: Option<String>,
pub storage_pool: Option<String>,
pub system: String,
pub volume_name: Option<String>,
}
Expand description
ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume
Fields
fs_type: Option<String>
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Default is “xfs”
gateway: String
gateway is the host address of the ScaleIO API Gateway.
protection_domain: Option<String>
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
read_only: Option<bool>
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
secret_ref: SecretReference
secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
ssl_enabled: Option<bool>
sslEnabled is the flag to enable/disable SSL communication with Gateway, default false
storage_mode: Option<String>
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
storage_pool: Option<String>
storagePool is the ScaleIO Storage Pool associated with the protection domain.
system: String
system is the name of the storage system as configured in ScaleIO.
volume_name: Option<String>
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
Trait Implementations
sourceimpl Clone for ScaleIOPersistentVolumeSource
impl Clone for ScaleIOPersistentVolumeSource
sourcefn clone(&self) -> ScaleIOPersistentVolumeSource
fn clone(&self) -> ScaleIOPersistentVolumeSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ScaleIOPersistentVolumeSource
impl Debug for ScaleIOPersistentVolumeSource
sourceimpl Default for ScaleIOPersistentVolumeSource
impl Default for ScaleIOPersistentVolumeSource
sourcefn default() -> ScaleIOPersistentVolumeSource
fn default() -> ScaleIOPersistentVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ScaleIOPersistentVolumeSource
impl<'de> Deserialize<'de> for ScaleIOPersistentVolumeSource
sourcefn 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
sourceimpl PartialEq<ScaleIOPersistentVolumeSource> for ScaleIOPersistentVolumeSource
impl PartialEq<ScaleIOPersistentVolumeSource> for ScaleIOPersistentVolumeSource
sourcefn eq(&self, other: &ScaleIOPersistentVolumeSource) -> bool
fn eq(&self, other: &ScaleIOPersistentVolumeSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ScaleIOPersistentVolumeSource) -> bool
fn ne(&self, other: &ScaleIOPersistentVolumeSource) -> bool
This method tests for !=
.
impl StructuralPartialEq for ScaleIOPersistentVolumeSource
Auto Trait Implementations
impl RefUnwindSafe for ScaleIOPersistentVolumeSource
impl Send for ScaleIOPersistentVolumeSource
impl Sync for ScaleIOPersistentVolumeSource
impl Unpin for ScaleIOPersistentVolumeSource
impl UnwindSafe for ScaleIOPersistentVolumeSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more