Class V1alpha2PodGroupResourceClaim
PodGroupResourceClaim references exactly one ResourceClaim, either directly or
by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for
the PodGroup.
It adds a name to it that uniquely identifies the ResourceClaim inside the
PodGroup. Pods that need access to the ResourceClaim define a matching reference
in its own Spec.ResourceClaims. The Pod's claim must match all fields of the
PodGroup's claim exactly.
Inheritance
V1alpha2PodGroupResourceClaim
Assembly: KubernetesClient.dll
Syntax
public record V1alpha2PodGroupResourceClaim : IEquatable<V1alpha2PodGroupResourceClaim>
Constructors
V1alpha2PodGroupResourceClaim()
Declaration
public V1alpha2PodGroupResourceClaim()
V1alpha2PodGroupResourceClaim(V1alpha2PodGroupResourceClaim)
Declaration
protected V1alpha2PodGroupResourceClaim(V1alpha2PodGroupResourceClaim original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Name
Name uniquely identifies this resource claim inside the PodGroup. This must be a
DNS_LABEL.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
ResourceClaimName
ResourceClaimName is the name of a ResourceClaim object in the same namespace as
this PodGroup. The ResourceClaim will be reserved for the PodGroup instead of
its individual pods.
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
Declaration
[JsonPropertyName("resourceClaimName")]
public string ResourceClaimName { get; set; }
Property Value
ResourceClaimTemplateName
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the
same namespace as this PodGroup.
The template will be used to create a new ResourceClaim, which will be bound to
this PodGroup. When this PodGroup is deleted, the ResourceClaim will also be
deleted. The PodGroup name and resource name, along with a generated component,
will be used to form a unique name for the ResourceClaim, which will be recorded
in podgroup.status.resourceClaimStatuses.
This field is immutable and no changes will be made to the corresponding
ResourceClaim by the control plane after creating the ResourceClaim.
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
Declaration
[JsonPropertyName("resourceClaimTemplateName")]
public string ResourceClaimTemplateName { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1alpha2PodGroupResourceClaim?)
Declaration
public virtual bool Equals(V1alpha2PodGroupResourceClaim? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1alpha2PodGroupResourceClaim?, V1alpha2PodGroupResourceClaim?)
Declaration
public static bool operator ==(V1alpha2PodGroupResourceClaim? left, V1alpha2PodGroupResourceClaim? right)
Parameters
Returns
operator !=(V1alpha2PodGroupResourceClaim?, V1alpha2PodGroupResourceClaim?)
Declaration
public static bool operator !=(V1alpha2PodGroupResourceClaim? left, V1alpha2PodGroupResourceClaim? right)
Parameters
Returns
Implements