pub struct GlusterfsPersistentVolumeSource {
pub endpoints: String,
pub endpoints_namespace: Option<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
endpoints_namespace: Option<String>
endpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. 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
sourceimpl Clone for GlusterfsPersistentVolumeSource
impl Clone for GlusterfsPersistentVolumeSource
sourcefn clone(&self) -> GlusterfsPersistentVolumeSource
fn clone(&self) -> GlusterfsPersistentVolumeSource
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 Default for GlusterfsPersistentVolumeSource
impl Default for GlusterfsPersistentVolumeSource
sourcefn default() -> GlusterfsPersistentVolumeSource
fn default() -> GlusterfsPersistentVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GlusterfsPersistentVolumeSource
impl<'de> Deserialize<'de> for GlusterfsPersistentVolumeSource
sourcefn deserialize<D>(
deserializer: D
) -> Result<GlusterfsPersistentVolumeSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<GlusterfsPersistentVolumeSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<GlusterfsPersistentVolumeSource> for GlusterfsPersistentVolumeSource
impl PartialEq<GlusterfsPersistentVolumeSource> for GlusterfsPersistentVolumeSource
sourcefn eq(&self, other: &GlusterfsPersistentVolumeSource) -> bool
fn eq(&self, other: &GlusterfsPersistentVolumeSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for GlusterfsPersistentVolumeSource
impl Serialize for GlusterfsPersistentVolumeSource
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 GlusterfsPersistentVolumeSource
Auto Trait Implementations
impl RefUnwindSafe for GlusterfsPersistentVolumeSource
impl Send for GlusterfsPersistentVolumeSource
impl Sync for GlusterfsPersistentVolumeSource
impl Unpin for GlusterfsPersistentVolumeSource
impl UnwindSafe for GlusterfsPersistentVolumeSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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