pub struct NodeAllocatableResourceClaimStatus {
pub containers: Option<Vec<String>>,
pub mapping: Option<Vec<NodeAllocatableMappedResources>>,
pub overhead: Option<Vec<NodeAllocatableOverheadResources>>,
pub resource_claim_name: String,
}Expand description
NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA.
Fields§
§containers: Option<Vec<String>>Containers lists the names of all containers in this pod that reference the claim.
mapping: Option<Vec<NodeAllocatableMappedResources>>Mapping contains allocations through devices mapped in the device spec’s nodeAllocatableResources\[...\].mapping field. This is used by kubelet for pod level and container-level cgroup enforcement.
overhead: Option<Vec<NodeAllocatableOverheadResources>>Overhead contains allocations through devices mapped in the device spec’s nodeAllocatableResources\[...\].overhead field. This is used by kubelet for pod level and container-level cgroup enforcement.
resource_claim_name: StringResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.
Trait Implementations§
Source§impl DeepMerge for NodeAllocatableResourceClaimStatus
impl DeepMerge for NodeAllocatableResourceClaimStatus
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl<'de> Deserialize<'de> for NodeAllocatableResourceClaimStatus
impl<'de> Deserialize<'de> for NodeAllocatableResourceClaimStatus
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for NodeAllocatableResourceClaimStatus
Auto Trait Implementations§
impl Freeze for NodeAllocatableResourceClaimStatus
impl RefUnwindSafe for NodeAllocatableResourceClaimStatus
impl Send for NodeAllocatableResourceClaimStatus
impl Sync for NodeAllocatableResourceClaimStatus
impl Unpin for NodeAllocatableResourceClaimStatus
impl UnsafeUnpin for NodeAllocatableResourceClaimStatus
impl UnwindSafe for NodeAllocatableResourceClaimStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more