pub struct QuobyteVolumeSource {
pub registry: Option<String>,
pub volume: Option<String>,
pub read_only: Option<bool>,
pub user: Option<String>,
pub group: Option<String>,
pub tenant: Option<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§
§registry: Option<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
volume: Option<String>
volume is a string that references an already created Quobyte volume by name.
read_only: Option<bool>
readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. +optional
user: Option<String>
user to map volume access to Defaults to serivceaccount user +optional
group: Option<String>
group to map volume access to Default is no group +optional
tenant: Option<String>
tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin +optional
Implementations§
Source§impl QuobyteVolumeSource
impl QuobyteVolumeSource
Sourcepub fn registry(&self) -> &str
pub fn registry(&self) -> &str
Returns the value of registry
, or the default value if registry
is unset.
Sourcepub fn volume(&self) -> &str
pub fn volume(&self) -> &str
Returns the value of volume
, or the default value if volume
is unset.
Sourcepub fn read_only(&self) -> bool
pub fn read_only(&self) -> bool
Returns the value of read_only
, or the default value if read_only
is unset.
Trait Implementations§
Source§impl Clone for QuobyteVolumeSource
impl Clone for QuobyteVolumeSource
Source§fn clone(&self) -> QuobyteVolumeSource
fn clone(&self) -> QuobyteVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for QuobyteVolumeSource
impl Debug for QuobyteVolumeSource
Source§impl Default for QuobyteVolumeSource
impl Default for QuobyteVolumeSource
Source§impl Hash for QuobyteVolumeSource
impl Hash for QuobyteVolumeSource
Source§impl Message for QuobyteVolumeSource
impl Message for QuobyteVolumeSource
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.