struct Kubernetes::AllocatedDeviceStatus

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

Defined in:

generated/models/io_k8s_api_resource_v1.cr
generated/models/io_k8s_api_resource_v1beta1.cr
generated/models/io_k8s_api_resource_v1beta2.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

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


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


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


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


def data : RawExtension | Nil #

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


def data=(data : RawExtension | Nil) #

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


def device : String | Nil #

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


def device=(device : String | Nil) #

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


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


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


def network_data : NetworkDeviceData | Nil #

NetworkData contains network-related information specific to the device.


def network_data=(network_data : NetworkDeviceData | Nil) #

NetworkData contains network-related information specific to the device.


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


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


def share_id : String | Nil #

ShareID uniquely identifies an individual allocation share of the device.


def share_id=(share_id : String | Nil) #

ShareID uniquely identifies an individual allocation share of the device.