Struct k8s_openapi::api::core::v1::NFSVolumeSource
source · Expand description
Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.
Fields§
§path: 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
server: String
server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
Trait Implementations§
source§impl Clone for NFSVolumeSource
impl Clone for NFSVolumeSource
source§fn clone(&self) -> NFSVolumeSource
fn clone(&self) -> NFSVolumeSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NFSVolumeSource
impl Debug for NFSVolumeSource
source§impl DeepMerge for NFSVolumeSource
impl DeepMerge for NFSVolumeSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for NFSVolumeSource
impl Default for NFSVolumeSource
source§fn default() -> NFSVolumeSource
fn default() -> NFSVolumeSource
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<NFSVolumeSource> for NFSVolumeSource
impl PartialEq<NFSVolumeSource> for NFSVolumeSource
source§fn eq(&self, other: &NFSVolumeSource) -> bool
fn eq(&self, other: &NFSVolumeSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.