struct

Kubernetes::AllocatedDeviceStatus

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

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.

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

conditions

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.

Source
conditions=(conditions : Array(Condition) | Nil)

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.

Source
conditions=(conditions : Array(Condition) | Nil)

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.

Source
conditions=(conditions : Array(Condition) | Nil)

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.

Source
data

Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki.

Source
data=(data : RawExtension | Nil)

Data contains arbitrary driver-specific data. The length of the raw data must be smaller or equal to 10 Ki.

Source
device

Device references one device instance via its name in the driver's resource pool. It must be a DNS label.

Source
device=(device : String | Nil)

Device references one device instance via its name in the driver's resource pool. It must be a DNS label.

Source
driver

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.

Source
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. 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.

Source
network_data

NetworkData contains network-related information specific to the device.

Source
network_data=(network_data : NetworkDeviceData | Nil)

NetworkData contains network-related information specific to the device.

Source
pool

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.

Source
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>). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.

Source
share_id

ShareID uniquely identifies an individual allocation share of the device.

Source
share_id=(share_id : String | Nil)

ShareID uniquely identifies an individual allocation share of the device.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source