struct
Kubernetes::AllocationResult
- Kubernetes::AllocationResult
- Struct
- Value
- Object
Overview
AllocationResult contains attributes of an allocated resource.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_resource_v1.crgenerated/models/io_k8s_api_resource_v1beta1.cr
generated/models/io_k8s_api_resource_v1beta2.cr
Constructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .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)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#allocation_timestamp : Time | Nil
AllocationTimestamp stores the time when the resources were allocated.
-
#allocation_timestamp=(allocation_timestamp : Time | Nil)
AllocationTimestamp stores the time when the resources were allocated.
-
#devices : DeviceAllocationResult | Nil
Devices is the result of allocating devices.
-
#devices=(devices : DeviceAllocationResult | Nil)
Devices is the result of allocating devices.
-
#node_selector : NodeSelector | Nil
NodeSelector defines where the allocated resources are available.
-
#node_selector=(node_selector : NodeSelector | Nil)
NodeSelector defines where the allocated resources are available.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
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 an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.
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 an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.
NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.
NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.