pub struct NfsVolumeSource {
pub path: Option<String>,
pub read_only: Option<bool>,
pub server: Option<String>,
}Expand description
NFS volumes do not support ownership management or SELinux relabeling.
Fields§
§path: Option<String>Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
read_only: Option<bool>ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
server: Option<String>Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
Implementations§
Source§impl NfsVolumeSource
impl NfsVolumeSource
pub fn new() -> NfsVolumeSource
Trait Implementations§
Source§impl Clone for NfsVolumeSource
impl Clone for NfsVolumeSource
Source§fn clone(&self) -> NfsVolumeSource
fn clone(&self) -> NfsVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NfsVolumeSource
impl Debug for NfsVolumeSource
Source§impl<'de> Deserialize<'de> for NfsVolumeSource
impl<'de> Deserialize<'de> for NfsVolumeSource
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 NfsVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a NfsVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for NfsVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a NfsVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for NfsVolumeSource
impl PartialEq for NfsVolumeSource
Source§impl Serialize for NfsVolumeSource
impl Serialize for NfsVolumeSource
Source§impl ToString for NfsVolumeSource
Converts the NfsVolumeSource 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 NfsVolumeSource
Converts the NfsVolumeSource 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