[][src]Struct k8s_openapi::api::core::v1::CinderPersistentVolumeSource

pub struct CinderPersistentVolumeSource {
    pub fs_type: Option<String>,
    pub read_only: Option<bool>,
    pub secret_ref: Option<SecretReference>,
    pub volume_id: String,
}

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]

impl Debug for CinderPersistentVolumeSource[src]

impl Default for CinderPersistentVolumeSource[src]

impl<'de> Deserialize<'de> for CinderPersistentVolumeSource[src]

impl PartialEq<CinderPersistentVolumeSource> for CinderPersistentVolumeSource[src]

impl Serialize for CinderPersistentVolumeSource[src]

impl StructuralPartialEq for CinderPersistentVolumeSource[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.