Struct k8s_openapi::api::core::v1::GlusterfsPersistentVolumeSource
source · 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<GlusterfsPersistentVolumeSource> for GlusterfsPersistentVolumeSource
impl PartialEq<GlusterfsPersistentVolumeSource> 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 ==
.