Struct k8s_openapi::api::core::v1::EmptyDirVolumeSource
source · pub struct EmptyDirVolumeSource {
pub medium: Option<String>,
pub size_limit: Option<Quantity>,
}
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: 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 moresource§impl Debug for EmptyDirVolumeSource
impl Debug for EmptyDirVolumeSource
source§impl DeepMerge for EmptyDirVolumeSource
impl DeepMerge for EmptyDirVolumeSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for EmptyDirVolumeSource
impl Default for EmptyDirVolumeSource
source§fn default() -> EmptyDirVolumeSource
fn default() -> EmptyDirVolumeSource
source§impl<'de> Deserialize<'de> for EmptyDirVolumeSource
impl<'de> Deserialize<'de> for EmptyDirVolumeSource
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 JsonSchema for EmptyDirVolumeSource
impl JsonSchema for EmptyDirVolumeSource
source§fn schema_name() -> String
fn schema_name() -> String
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moresource§impl PartialEq for EmptyDirVolumeSource
impl PartialEq for EmptyDirVolumeSource
source§impl Serialize for EmptyDirVolumeSource
impl Serialize for EmptyDirVolumeSource
impl StructuralPartialEq for EmptyDirVolumeSource
Auto Trait Implementations§
impl Freeze for EmptyDirVolumeSource
impl RefUnwindSafe for EmptyDirVolumeSource
impl Send for EmptyDirVolumeSource
impl Sync for EmptyDirVolumeSource
impl Unpin for EmptyDirVolumeSource
impl UnwindSafe for EmptyDirVolumeSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)