struct

Kubernetes::PodExtendedResourceClaimStatus

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

PodExtendedResourceClaimStatus is stored in the PodStatus for the extended resource requests backed by DRA. It stores the generated name for the corresponding special ResourceClaim created by the scheduler.

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

request_mappings

RequestMappings identifies the mapping of <container, extended resource backed by DRA> to device request in the generated ResourceClaim.

Source
request_mappings=(request_mappings : Array(ContainerExtendedResourceRequest) | Nil)

RequestMappings identifies the mapping of <container, extended resource backed by DRA> to device request in the generated ResourceClaim.

Source
resource_claim_name

ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.

Source
resource_claim_name=(resource_claim_name : String | Nil)

ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source