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

View Source

V1EmptyDirVolumeSource()

Declaration
public V1EmptyDirVolumeSource()
View Source

V1EmptyDirVolumeSource(V1EmptyDirVolumeSource)

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

Properties

View Source

EqualityContract

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

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

Methods

View Source

Equals(object?)

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

Equals(V1EmptyDirVolumeSource?)

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

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

View Source

operator ==(V1EmptyDirVolumeSource?, V1EmptyDirVolumeSource?)

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

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>
  • View Source
In this article
Back to top Generated by DocFX