Struct k8s_openapi::api::core::v1::CinderPersistentVolumeSource [−][src]
pub struct CinderPersistentVolumeSource {
pub fs_type: Option<String>,
pub read_only: Option<bool>,
pub secret_ref: Option<SecretReference>,
pub volume_id: String,
}
Expand description
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
Fields
fs_type: Option<String>
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
read_only: Option<bool>
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
secret_ref: Option<SecretReference>
Optional: points to a secret object containing parameters used to connect to OpenStack.
volume_id: String
volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
Trait Implementations
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 !=
.
Auto Trait Implementations
impl Send for CinderPersistentVolumeSource
impl Sync for CinderPersistentVolumeSource
impl Unpin for CinderPersistentVolumeSource
impl UnwindSafe for CinderPersistentVolumeSource
Blanket Implementations
Mutably borrows from an owned value. Read more