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

pub struct CinderVolumeSource {
    pub fs_type: Option<String>,
    pub read_only: Option<bool>,
    pub secret_ref: Option<LocalObjectReference>,
    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<LocalObjectReference>

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 CinderVolumeSource[src]

impl Debug for CinderVolumeSource[src]

impl Default for CinderVolumeSource[src]

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

impl PartialEq<CinderVolumeSource> for CinderVolumeSource[src]

impl Serialize for CinderVolumeSource[src]

impl StructuralPartialEq for CinderVolumeSource[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.