Struct k8s_openapi_ext::corev1::EmptyDirVolumeSource
source · [−]Expand description
Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.
Fields
medium: Option<String>
medium represents what type of storage medium should back this directory. The default is “” which means to use the node’s default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
size_limit: Option<Quantity>
sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
Trait Implementations
sourceimpl Clone for EmptyDirVolumeSource
impl Clone for EmptyDirVolumeSource
sourcefn clone(&self) -> EmptyDirVolumeSource
fn clone(&self) -> EmptyDirVolumeSource
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for EmptyDirVolumeSource
impl Debug for EmptyDirVolumeSource
sourceimpl DeepMerge for EmptyDirVolumeSource
impl DeepMerge for EmptyDirVolumeSource
sourcefn merge_from(&mut self, other: EmptyDirVolumeSource)
fn merge_from(&mut self, other: EmptyDirVolumeSource)
other
into self
.