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>

Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.

§gateway: String

The host address of the ScaleIO API Gateway.

§protection_domain: Option<String>

The name of the ScaleIO Protection Domain for the configured storage.

§read_only: Option<bool>

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>

Flag to enable/disable SSL communication with Gateway, default false

§storage_mode: Option<String>

Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.

§storage_pool: Option<String>

The ScaleIO Storage Pool associated with the protection domain.

§system: String

The name of the storage system as configured in ScaleIO.

§volume_name: Option<String>

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
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 ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
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.