pub struct CinderVolumeSource {
pub fs_type: Option<String>,
pub read_only: Option<bool>,
pub secret_ref: Option<LocalObjectReference>,
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 is the 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 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>
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§
Source§impl Clone for CinderVolumeSource
impl Clone for CinderVolumeSource
Source§fn clone(&self) -> CinderVolumeSource
fn clone(&self) -> CinderVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CinderVolumeSource
impl Debug for CinderVolumeSource
Source§impl DeepMerge for CinderVolumeSource
impl DeepMerge for CinderVolumeSource
Source§fn merge_from(&mut self, other: CinderVolumeSource)
fn merge_from(&mut self, other: CinderVolumeSource)
other
into self
.Source§impl Default for CinderVolumeSource
impl Default for CinderVolumeSource
Source§fn default() -> CinderVolumeSource
fn default() -> CinderVolumeSource
Source§impl<'de> Deserialize<'de> for CinderVolumeSource
impl<'de> Deserialize<'de> for CinderVolumeSource
Source§fn deserialize<D>(
deserializer: D,
) -> Result<CinderVolumeSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<CinderVolumeSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Source§impl PartialEq for CinderVolumeSource
impl PartialEq for CinderVolumeSource
Source§impl Serialize for CinderVolumeSource
impl Serialize for CinderVolumeSource
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
impl StructuralPartialEq for CinderVolumeSource
Auto Trait Implementations§
impl Freeze for CinderVolumeSource
impl RefUnwindSafe for CinderVolumeSource
impl Send for CinderVolumeSource
impl Sync for CinderVolumeSource
impl Unpin for CinderVolumeSource
impl UnwindSafe for CinderVolumeSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more