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
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl DeepMerge for GlusterfsPersistentVolumeSource
impl DeepMerge for GlusterfsPersistentVolumeSource
sourcefn merge_from(&mut self, other: GlusterfsPersistentVolumeSource)
fn merge_from(&mut self, other: GlusterfsPersistentVolumeSource)
other
into self
.