Show / Hide Table of Contents

Class V1EmptyDirVolumeSource

Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.

Inheritance
object
V1EmptyDirVolumeSource
Implements
IEquatable<V1EmptyDirVolumeSource>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1EmptyDirVolumeSource : IEquatable<V1EmptyDirVolumeSource>

Constructors

V1EmptyDirVolumeSource()

Declaration
public V1EmptyDirVolumeSource()

V1EmptyDirVolumeSource(V1EmptyDirVolumeSource)

Declaration
protected V1EmptyDirVolumeSource(V1EmptyDirVolumeSource original)
Parameters
Type Name Description
V1EmptyDirVolumeSource original

Properties

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

Medium

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

Declaration
[JsonPropertyName("medium")]
public string Medium { get; set; }
Property Value
Type Description
string

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
Type Description
ResourceQuantity

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1EmptyDirVolumeSource?)

Declaration
public virtual bool Equals(V1EmptyDirVolumeSource? other)
Parameters
Type Name Description
V1EmptyDirVolumeSource other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1EmptyDirVolumeSource?, V1EmptyDirVolumeSource?)

Declaration
public static bool operator ==(V1EmptyDirVolumeSource? left, V1EmptyDirVolumeSource? right)
Parameters
Type Name Description
V1EmptyDirVolumeSource left
V1EmptyDirVolumeSource right
Returns
Type Description
bool

operator !=(V1EmptyDirVolumeSource?, V1EmptyDirVolumeSource?)

Declaration
public static bool operator !=(V1EmptyDirVolumeSource? left, V1EmptyDirVolumeSource? right)
Parameters
Type Name Description
V1EmptyDirVolumeSource left
V1EmptyDirVolumeSource right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX