pub struct EmptyDirVolumeSource {
pub medium: Option<String>,
pub size_limit: Option<String>,
}Expand description
In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
This type is not used in any activity, and only used as part of another schema.
Fields§
§medium: Option<String>The medium on which the data is stored. 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<String>Limit on the storage usable by 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. The default is nil which means that the limit is undefined. More info: https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. Info in Kubernetes: https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
Trait Implementations§
Source§impl Clone for EmptyDirVolumeSource
impl Clone for EmptyDirVolumeSource
Source§fn clone(&self) -> EmptyDirVolumeSource
fn clone(&self) -> EmptyDirVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more