EmptyDirVolumeSource class
Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.
Constructors
- EmptyDirVolumeSource({String? medium, String? sizeLimit})
-
Default constructor.
const
-
EmptyDirVolumeSource.fromJson(Map<
String, dynamic> json) -
Creates a EmptyDirVolumeSource from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- medium → 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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeLimit → String?
-
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a EmptyDirVolumeSource instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited