struct

Kubernetes::AllocationResult

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

AllocationResult contains attributes of an allocated resource.

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

allocation_timestamp

AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown. This is a beta field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.

Source
allocation_timestamp=(allocation_timestamp : Time | Nil)

AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown. This is a beta field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.

Source
devices

Devices is the result of allocating devices.

Source
devices=(devices : DeviceAllocationResult | Nil)

Devices is the result of allocating devices.

Source
node_selector

NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.

Source
node_selector=(node_selector : NodeSelector | Nil)

NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source