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§
Source§impl Clone for GlusterfsPersistentVolumeSource
impl Clone for GlusterfsPersistentVolumeSource
Source§fn clone(&self) -> GlusterfsPersistentVolumeSource
fn clone(&self) -> GlusterfsPersistentVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl DeepMerge for GlusterfsPersistentVolumeSource
impl DeepMerge for GlusterfsPersistentVolumeSource
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.Source§impl Default for GlusterfsPersistentVolumeSource
impl Default for GlusterfsPersistentVolumeSource
Source§fn default() -> GlusterfsPersistentVolumeSource
fn default() -> GlusterfsPersistentVolumeSource
Source§impl<'de> Deserialize<'de> for GlusterfsPersistentVolumeSource
impl<'de> Deserialize<'de> for GlusterfsPersistentVolumeSource
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>,
Source§impl PartialEq for GlusterfsPersistentVolumeSource
impl PartialEq for GlusterfsPersistentVolumeSource
Source§fn eq(&self, other: &GlusterfsPersistentVolumeSource) -> bool
fn eq(&self, other: &GlusterfsPersistentVolumeSource) -> bool
self
and other
values to be equal, and is used by ==
.