Package org.cdk8s.plus24.k8s
Interface EmptyDirVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EmptyDirVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-03-31T02:28:41.764Z") @Stability(Stable) public interface EmptyDirVolumeSource extends software.amazon.jsii.JsiiSerializable
Represents an empty directory for a pod.Empty directory volumes support ownership management and SELinux relabeling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EmptyDirVolumeSource.Builder
A builder forEmptyDirVolumeSource
static class
EmptyDirVolumeSource.Jsii$Proxy
An implementation forEmptyDirVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static EmptyDirVolumeSource.Builder
builder()
default String
getMedium()
medium represents what type of storage medium should back this directory.default Quantity
getSizeLimit()
sizeLimit is the total amount of local storage required for this EmptyDir volume.
-
-
-
Method Detail
-
getMedium
@Stability(Stable) @Nullable default String getMedium()
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
-
getSizeLimit
@Stability(Stable) @Nullable default Quantity getSizeLimit()
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
-
builder
@Stability(Stable) static EmptyDirVolumeSource.Builder builder()
- Returns:
- a
EmptyDirVolumeSource.Builder
ofEmptyDirVolumeSource
-
-