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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Merge other into self.
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.