Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::GlusterfsVolumeSource [−][src]
pub struct GlusterfsVolumeSource {
pub endpoints: String,
pub path: String,
pub read_only: Option<bool>,
}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://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
path: String
Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
Trait Implementations
impl Clone for GlusterfsVolumeSource[src]
impl Clone for GlusterfsVolumeSourcefn clone(&self) -> GlusterfsVolumeSource[src]
fn clone(&self) -> GlusterfsVolumeSourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for GlusterfsVolumeSource[src]
impl Debug for GlusterfsVolumeSourcefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for GlusterfsVolumeSource[src]
impl Default for GlusterfsVolumeSourcefn default() -> GlusterfsVolumeSource[src]
fn default() -> GlusterfsVolumeSourceReturns the "default value" for a type. Read more
impl PartialEq for GlusterfsVolumeSource[src]
impl PartialEq for GlusterfsVolumeSourcefn eq(&self, other: &GlusterfsVolumeSource) -> bool[src]
fn eq(&self, other: &GlusterfsVolumeSource) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &GlusterfsVolumeSource) -> bool[src]
fn ne(&self, other: &GlusterfsVolumeSource) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for GlusterfsVolumeSource[src]
impl<'de> Deserialize<'de> for GlusterfsVolumeSourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for GlusterfsVolumeSource[src]
impl Serialize for GlusterfsVolumeSourceAuto Trait Implementations
impl Send for GlusterfsVolumeSource
impl Send for GlusterfsVolumeSourceimpl Sync for GlusterfsVolumeSource
impl Sync for GlusterfsVolumeSource