pub struct GlusterfsVolumeSource {
pub endpoints: Option<String>,
pub path: Option<String>,
pub read_only: Option<bool>,
}Expand description
Glusterfs volumes do not support ownership management or SELinux relabeling.
Fields§
§endpoints: Option<String>EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
path: Option<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 +optional
Implementations§
Source§impl GlusterfsVolumeSource
impl GlusterfsVolumeSource
pub fn new() -> GlusterfsVolumeSource
Trait Implementations§
Source§impl Clone for GlusterfsVolumeSource
impl Clone for GlusterfsVolumeSource
Source§fn clone(&self) -> GlusterfsVolumeSource
fn clone(&self) -> GlusterfsVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GlusterfsVolumeSource
impl Debug for GlusterfsVolumeSource
Source§impl<'de> Deserialize<'de> for GlusterfsVolumeSource
impl<'de> Deserialize<'de> for GlusterfsVolumeSource
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 FromStr for GlusterfsVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a GlusterfsVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for GlusterfsVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a GlusterfsVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for GlusterfsVolumeSource
impl PartialEq for GlusterfsVolumeSource
Source§impl Serialize for GlusterfsVolumeSource
impl Serialize for GlusterfsVolumeSource
Source§impl ToString for GlusterfsVolumeSource
Converts the GlusterfsVolumeSource value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for GlusterfsVolumeSource
Converts the GlusterfsVolumeSource value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer