pub struct CinderVolumeSource {
pub fs_type: Option<String>,
pub read_only: Option<bool>,
pub secret_ref: Option<LocalObjectReference>,
pub volume_id: Option<String>,
}Expand description
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 +optional
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 +optional
secret_ref: Option<LocalObjectReference>§volume_id: Option<String>volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
Implementations§
Source§impl CinderVolumeSource
impl CinderVolumeSource
pub fn new() -> CinderVolumeSource
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<'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 FromStr for CinderVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a CinderVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for CinderVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a CinderVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for CinderVolumeSource
impl PartialEq for CinderVolumeSource
Source§impl Serialize for CinderVolumeSource
impl Serialize for CinderVolumeSource
Source§impl ToString for CinderVolumeSource
Converts the CinderVolumeSource value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for CinderVolumeSource
Converts the CinderVolumeSource value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer