pub struct GlusterfsVolumeSource {
pub endpoints: String,
pub path: String,
pub read_only: Option<bool>,
}
Expand description
Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.
Fields§
§endpoints: String
endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
path: String
path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
read_only: Option<bool>
readOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
Trait Implementations§
Source§impl Clone for GlusterfsVolumeSource
impl Clone for GlusterfsVolumeSource
Source§fn clone(&self) -> GlusterfsVolumeSource
fn clone(&self) -> GlusterfsVolumeSource
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GlusterfsVolumeSource
impl Debug for GlusterfsVolumeSource
Source§impl DeepMerge for GlusterfsVolumeSource
impl DeepMerge for GlusterfsVolumeSource
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for GlusterfsVolumeSource
impl Default for GlusterfsVolumeSource
Source§fn default() -> GlusterfsVolumeSource
fn default() -> GlusterfsVolumeSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GlusterfsVolumeSource
impl<'de> Deserialize<'de> for GlusterfsVolumeSource
Source§fn 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
Source§impl PartialEq for GlusterfsVolumeSource
impl PartialEq for GlusterfsVolumeSource
Source§impl Serialize for GlusterfsVolumeSource
impl Serialize for GlusterfsVolumeSource
impl StructuralPartialEq for GlusterfsVolumeSource
Auto Trait Implementations§
impl Freeze for GlusterfsVolumeSource
impl RefUnwindSafe for GlusterfsVolumeSource
impl Send for GlusterfsVolumeSource
impl Sync for GlusterfsVolumeSource
impl Unpin for GlusterfsVolumeSource
impl UnwindSafe for GlusterfsVolumeSource
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
Mutably borrows from an owned value. Read more