Struct k8s_openapi::api::core::v1::CinderPersistentVolumeSource
source · 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>
fsType 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 is 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>
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 CinderPersistentVolumeSource
impl Clone for CinderPersistentVolumeSource
source§fn clone(&self) -> CinderPersistentVolumeSource
fn clone(&self) -> CinderPersistentVolumeSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CinderPersistentVolumeSource
impl Debug for CinderPersistentVolumeSource
source§impl DeepMerge for CinderPersistentVolumeSource
impl DeepMerge for CinderPersistentVolumeSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for CinderPersistentVolumeSource
impl Default for CinderPersistentVolumeSource
source§fn default() -> CinderPersistentVolumeSource
fn default() -> CinderPersistentVolumeSource
source§impl<'de> Deserialize<'de> for CinderPersistentVolumeSource
impl<'de> Deserialize<'de> for CinderPersistentVolumeSource
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 JsonSchema for CinderPersistentVolumeSource
impl JsonSchema for CinderPersistentVolumeSource
source§fn schema_name() -> String
fn schema_name() -> String
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moresource§impl PartialEq for CinderPersistentVolumeSource
impl PartialEq for CinderPersistentVolumeSource
source§fn eq(&self, other: &CinderPersistentVolumeSource) -> bool
fn eq(&self, other: &CinderPersistentVolumeSource) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CinderPersistentVolumeSource
Auto Trait Implementations§
impl Freeze for CinderPersistentVolumeSource
impl RefUnwindSafe for CinderPersistentVolumeSource
impl Send for CinderPersistentVolumeSource
impl Sync for CinderPersistentVolumeSource
impl Unpin for CinderPersistentVolumeSource
impl UnwindSafe for CinderPersistentVolumeSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)