Struct k8s_openapi::api::core::v1::GlusterfsVolumeSource
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)