Package io.fabric8.kubernetes.api.model
Class NodeAllocatableResourceClaimStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.NodeAllocatableResourceClaimStatus
-
- All Implemented Interfaces:
Editable<NodeAllocatableResourceClaimStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeAllocatableResourceClaimStatus extends Object implements Editable<NodeAllocatableResourceClaimStatusBuilder>, KubernetesResource
NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeAllocatableResourceClaimStatus()No args constructor for use in serializationNodeAllocatableResourceClaimStatus(List<String> containers, List<NodeAllocatableMappedResources> mapping, List<NodeAllocatableOverheadResources> overhead, String resourceClaimName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeAllocatableResourceClaimStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getContainers()Containers lists the names of all containers in this pod that reference the claim.List<NodeAllocatableMappedResources>getMapping()Mapping contains allocations through devices mapped in the device spec's `nodeAllocatableResources[...].mapping` field.List<NodeAllocatableOverheadResources>getOverhead()Overhead contains allocations through devices mapped in the device spec's `nodeAllocatableResources[...].overhead` field.StringgetResourceClaimName()ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetContainers(List<String> containers)Containers lists the names of all containers in this pod that reference the claim.voidsetMapping(List<NodeAllocatableMappedResources> mapping)Mapping contains allocations through devices mapped in the device spec's `nodeAllocatableResources[...].mapping` field.voidsetOverhead(List<NodeAllocatableOverheadResources> overhead)Overhead contains allocations through devices mapped in the device spec's `nodeAllocatableResources[...].overhead` field.voidsetResourceClaimName(String resourceClaimName)ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.NodeAllocatableResourceClaimStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
NodeAllocatableResourceClaimStatus
public NodeAllocatableResourceClaimStatus()
No args constructor for use in serialization
-
NodeAllocatableResourceClaimStatus
public NodeAllocatableResourceClaimStatus(List<String> containers, List<NodeAllocatableMappedResources> mapping, List<NodeAllocatableOverheadResources> overhead, String resourceClaimName)
-
-
Method Detail
-
getContainers
public List<String> getContainers()
Containers lists the names of all containers in this pod that reference the claim.
-
setContainers
public void setContainers(List<String> containers)
Containers lists the names of all containers in this pod that reference the claim.
-
getMapping
public List<NodeAllocatableMappedResources> getMapping()
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.
-
setMapping
public void setMapping(List<NodeAllocatableMappedResources> mapping)
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.
-
getOverhead
public List<NodeAllocatableOverheadResources> getOverhead()
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.
-
setOverhead
public void setOverhead(List<NodeAllocatableOverheadResources> overhead)
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.
-
getResourceClaimName
public String getResourceClaimName()
ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.
-
setResourceClaimName
public void setResourceClaimName(String resourceClaimName)
ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.
-
edit
public NodeAllocatableResourceClaimStatusBuilder edit()
- Specified by:
editin interfaceEditable<NodeAllocatableResourceClaimStatusBuilder>
-
toBuilder
public NodeAllocatableResourceClaimStatusBuilder toBuilder()
-
-