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
sourceimpl Clone for CinderPersistentVolumeSource
impl Clone for CinderPersistentVolumeSource
sourcefn clone(&self) -> CinderPersistentVolumeSource
fn clone(&self) -> CinderPersistentVolumeSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CinderPersistentVolumeSource
impl Debug for CinderPersistentVolumeSource
sourceimpl Default for CinderPersistentVolumeSource
impl Default for CinderPersistentVolumeSource
sourcefn default() -> CinderPersistentVolumeSource
fn default() -> CinderPersistentVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CinderPersistentVolumeSource
impl<'de> Deserialize<'de> for CinderPersistentVolumeSource
sourcefn 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>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CinderPersistentVolumeSource> for CinderPersistentVolumeSource
impl PartialEq<CinderPersistentVolumeSource> for CinderPersistentVolumeSource
sourcefn eq(&self, other: &CinderPersistentVolumeSource) -> bool
fn eq(&self, other: &CinderPersistentVolumeSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CinderPersistentVolumeSource) -> bool
fn ne(&self, other: &CinderPersistentVolumeSource) -> bool
This method tests for !=
.
impl StructuralPartialEq for CinderPersistentVolumeSource
Auto Trait Implementations
impl RefUnwindSafe for CinderPersistentVolumeSource
impl Send for CinderPersistentVolumeSource
impl Sync for CinderPersistentVolumeSource
impl Unpin for CinderPersistentVolumeSource
impl UnwindSafe for CinderPersistentVolumeSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more