pub struct PodResourceClaimStatus {
pub name: String,
pub resource_claim_name: Option<String>,
}Expand description
PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.
Fields§
§name: StringName uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL.
resource_claim_name: Option<String>ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.
When the DRAWorkloadResourceClaims feature is enabled and the corresponding PodResourceClaim matches a PodGroupResourceClaim made by the Pod’s PodGroup, then this is the name of the ResourceClaim generated and reserved for the PodGroup.
If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.
Trait Implementations§
Source§impl Clone for PodResourceClaimStatus
impl Clone for PodResourceClaimStatus
Source§impl Debug for PodResourceClaimStatus
impl Debug for PodResourceClaimStatus
Source§impl DeepMerge for PodResourceClaimStatus
impl DeepMerge for PodResourceClaimStatus
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other into self.