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

View Source

Corev1ResourceClaim()

Declaration
public Corev1ResourceClaim()
View Source

Corev1ResourceClaim(Corev1ResourceClaim)

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

Properties

View Source

EqualityContract

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

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
View Source

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

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

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

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

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