Struct k8s_openapi::api::core::v1::CinderVolumeSource
source · pub struct CinderVolumeSource {
pub fs_type: Option<String>,
pub read_only: Option<bool>,
pub secret_ref: Option<LocalObjectReference>,
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>
fsType is the 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>
readOnly 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<LocalObjectReference>
secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.
volume_id: String
volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
Trait Implementations§
source§impl Clone for CinderVolumeSource
impl Clone for CinderVolumeSource
source§fn clone(&self) -> CinderVolumeSource
fn clone(&self) -> CinderVolumeSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CinderVolumeSource
impl Debug for CinderVolumeSource
source§impl DeepMerge for CinderVolumeSource
impl DeepMerge for CinderVolumeSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for CinderVolumeSource
impl Default for CinderVolumeSource
source§fn default() -> CinderVolumeSource
fn default() -> CinderVolumeSource
source§impl<'de> Deserialize<'de> for CinderVolumeSource
impl<'de> Deserialize<'de> for CinderVolumeSource
source§fn 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>,
source§impl PartialEq for CinderVolumeSource
impl PartialEq for CinderVolumeSource
source§fn eq(&self, other: &CinderVolumeSource) -> bool
fn eq(&self, other: &CinderVolumeSource) -> bool
self
and other
values to be equal, and is used
by ==
.