Show / Hide Table of Contents

Class Corev1ResourceClaim

ResourceClaim references one entry in PodSpec.ResourceClaims.

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

Constructors

Corev1ResourceClaim()

Declaration
public Corev1ResourceClaim()

Corev1ResourceClaim(Corev1ResourceClaim)

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

Properties

EqualityContract

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

Name

Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.

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

Request

Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.

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

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(Corev1ResourceClaim?)

Declaration
public virtual bool Equals(Corev1ResourceClaim? other)
Parameters
Type Name Description
Corev1ResourceClaim 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 ==(Corev1ResourceClaim?, Corev1ResourceClaim?)

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

operator !=(Corev1ResourceClaim?, Corev1ResourceClaim?)

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

Implements

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