[−][src]Struct k8s_openapi::api::core::v1::CinderPersistentVolumeSource
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
impl Clone for CinderPersistentVolumeSource
[src]
pub fn clone(&self) -> CinderPersistentVolumeSource
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CinderPersistentVolumeSource
[src]
impl Default for CinderPersistentVolumeSource
[src]
pub fn default() -> CinderPersistentVolumeSource
[src]
impl<'de> Deserialize<'de> for CinderPersistentVolumeSource
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<CinderPersistentVolumeSource> for CinderPersistentVolumeSource
[src]
pub fn eq(&self, other: &CinderPersistentVolumeSource) -> bool
[src]
pub fn ne(&self, other: &CinderPersistentVolumeSource) -> bool
[src]
impl Serialize for CinderPersistentVolumeSource
[src]
impl StructuralPartialEq for CinderPersistentVolumeSource
[src]
Auto Trait Implementations
impl RefUnwindSafe for CinderPersistentVolumeSource
[src]
impl Send for CinderPersistentVolumeSource
[src]
impl Sync for CinderPersistentVolumeSource
[src]
impl Unpin for CinderPersistentVolumeSource
[src]
impl UnwindSafe for CinderPersistentVolumeSource
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,