Class V1EmptyDirVolumeSource
Represents an empty directory for a pod. Empty directory volumes support
ownership management and SELinux relabeling.
Inheritance
V1EmptyDirVolumeSource
Assembly: KubernetesClient.dll
Syntax
public record V1EmptyDirVolumeSource : IEquatable<V1EmptyDirVolumeSource>
Constructors
View Source
V1EmptyDirVolumeSource()
Declaration
public V1EmptyDirVolumeSource()
View Source
V1EmptyDirVolumeSource(V1EmptyDirVolumeSource)
Declaration
protected V1EmptyDirVolumeSource(V1EmptyDirVolumeSource original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
Medium
Declaration
[JsonPropertyName("medium")]
public string Medium { get; set; }
Property Value
View Source
SizeLimit
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
Declaration
[JsonPropertyName("sizeLimit")]
public ResourceQuantity SizeLimit { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1EmptyDirVolumeSource?)
Declaration
public virtual bool Equals(V1EmptyDirVolumeSource? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1EmptyDirVolumeSource?, V1EmptyDirVolumeSource?)
Declaration
public static bool operator ==(V1EmptyDirVolumeSource? left, V1EmptyDirVolumeSource? right)
Parameters
Returns
View Source
operator !=(V1EmptyDirVolumeSource?, V1EmptyDirVolumeSource?)
Declaration
public static bool operator !=(V1EmptyDirVolumeSource? left, V1EmptyDirVolumeSource? right)
Parameters
Returns
Implements