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

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

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://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md

Trait Implementations

impl Clone for CinderVolumeSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CinderVolumeSource
[src]

Formats the value using the given formatter. Read more

impl Default for CinderVolumeSource
[src]

Returns the "default value" for a type. Read more

impl PartialEq for CinderVolumeSource
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for CinderVolumeSource
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations