struct
Kubernetes::AllocatedDeviceStatus
- Kubernetes::AllocatedDeviceStatus
- Struct
- Value
- Object
Overview
AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information. The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.
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
-
#conditions : Array(Condition) | Nil
Conditions contains the latest observation of the device's state.
-
#conditions=(conditions : Array(Condition) | Nil)
Conditions contains the latest observation of the device's state.
-
#conditions=(conditions : Array(Condition) | Nil)
Conditions contains the latest observation of the device's state.
-
#conditions=(conditions : Array(Condition) | Nil)
Conditions contains the latest observation of the device's state.
-
#data : RawExtension | Nil
Data contains arbitrary driver-specific data.
-
#data=(data : RawExtension | Nil)
Data contains arbitrary driver-specific data.
-
#device : String | Nil
Device references one device instance via its name in the driver's resource pool.
-
#device=(device : String | Nil)
Device references one device instance via its name in the driver's resource pool.
-
#driver : String | Nil
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
-
#driver=(driver : String | Nil)
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.
-
#network_data : NetworkDeviceData | Nil
NetworkData contains network-related information specific to the device.
-
#network_data=(network_data : NetworkDeviceData | Nil)
NetworkData contains network-related information specific to the device.
-
#pool : String | Nil
This name together with the driver name and the device name field identify which device was allocated (
<driver name>/<pool name>/<device name>). -
#pool=(pool : String | Nil)
This name together with the driver name and the device name field identify which device was allocated (
<driver name>/<pool name>/<device name>). -
#share_id : String | Nil
ShareID uniquely identifies an individual allocation share of the device.
-
#share_id=(share_id : String | Nil)
ShareID uniquely identifies an individual allocation share of the device.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the Ready condition should be True.
Must not contain more than 8 entries.
Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the Ready condition should be True.
Must not contain more than 8 entries.
Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the Ready condition should be True.
Must not contain more than 8 entries.
Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the Ready condition should be True.
Must not contain more than 8 entries.
Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki.
Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki.
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters.
Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. It should use only lower case characters.
NetworkData contains network-related information specific to the device.
NetworkData contains network-related information specific to the device.
This name together with the driver name and the device name field identify which device was allocated (<driver name>/<pool name>/<device name>).
Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.
This name together with the driver name and the device name field identify which device was allocated (<driver name>/<pool name>/<device name>).
Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.