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
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<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
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
sourcefn ne(&self, other: &GlusterfsPersistentVolumeSource) -> bool
fn ne(&self, other: &GlusterfsPersistentVolumeSource) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more