struct

Kubernetes::NodeAllocatableResourceClaimStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

containers

Containers lists the names of all containers in this pod that reference the claim.

Source
containers=(containers : Array(String) | Nil)

Containers lists the names of all containers in this pod that reference the claim.

Source
resource_claim_name

ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.

Source
resource_claim_name=(resource_claim_name : String | Nil)

ResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.

Source
resources

Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.

Source
resources=(resources : Hash(String, Quantity) | Nil)

Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source