Struct k8s_openapi::api::core::v1::GlusterfsPersistentVolumeSource [−][src]
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
EndpointsName 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
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for GlusterfsPersistentVolumeSource
impl Sync for GlusterfsPersistentVolumeSource
impl Unpin for GlusterfsPersistentVolumeSource
Blanket Implementations
Mutably borrows from an owned value. Read more