Struct k8s_openapi_ext::corev1::QuobyteVolumeSource
source · [−]pub struct QuobyteVolumeSource {
pub group: Option<String>,
pub read_only: Option<bool>,
pub registry: String,
pub tenant: Option<String>,
pub user: Option<String>,
pub volume: String,
}
Expand description
Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.
Fields
group: Option<String>
group to map volume access to Default is no group
read_only: Option<bool>
readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
registry: String
registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
tenant: Option<String>
tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
user: Option<String>
user to map volume access to Defaults to serivceaccount user
volume: String
volume is a string that references an already created Quobyte volume by name.
Trait Implementations
sourceimpl Clone for QuobyteVolumeSource
impl Clone for QuobyteVolumeSource
sourcefn clone(&self) -> QuobyteVolumeSource
fn clone(&self) -> QuobyteVolumeSource
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 QuobyteVolumeSource
impl Debug for QuobyteVolumeSource
sourceimpl Default for QuobyteVolumeSource
impl Default for QuobyteVolumeSource
sourcefn default() -> QuobyteVolumeSource
fn default() -> QuobyteVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for QuobyteVolumeSource
impl<'de> Deserialize<'de> for QuobyteVolumeSource
sourcefn deserialize<D>(
deserializer: D
) -> Result<QuobyteVolumeSource, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<QuobyteVolumeSource, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<QuobyteVolumeSource> for QuobyteVolumeSource
impl PartialEq<QuobyteVolumeSource> for QuobyteVolumeSource
sourcefn eq(&self, other: &QuobyteVolumeSource) -> bool
fn eq(&self, other: &QuobyteVolumeSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for QuobyteVolumeSource
impl Serialize for QuobyteVolumeSource
sourcefn 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,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for QuobyteVolumeSource
Auto Trait Implementations
impl RefUnwindSafe for QuobyteVolumeSource
impl Send for QuobyteVolumeSource
impl Sync for QuobyteVolumeSource
impl Unpin for QuobyteVolumeSource
impl UnwindSafe for QuobyteVolumeSource
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