UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

37 lines (36 loc) 1.94 kB
/** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: unversioned * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { IoK8sApiResourceV1beta1DeviceClassConfiguration, IoK8sApiResourceV1beta1DeviceSelector } from './'; /** * DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it. * @export * @interface IoK8sApiResourceV1beta1DeviceClassSpec */ export interface IoK8sApiResourceV1beta1DeviceClassSpec { /** * Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. * * They are passed to the driver, but are not considered while allocating the claim. * @type {Array<IoK8sApiResourceV1beta1DeviceClassConfiguration>} * @memberof IoK8sApiResourceV1beta1DeviceClassSpec */ config?: Array<IoK8sApiResourceV1beta1DeviceClassConfiguration>; /** * Each selector must be satisfied by a device which is claimed via this class. * @type {Array<IoK8sApiResourceV1beta1DeviceSelector>} * @memberof IoK8sApiResourceV1beta1DeviceClassSpec */ selectors?: Array<IoK8sApiResourceV1beta1DeviceSelector>; } export declare function IoK8sApiResourceV1beta1DeviceClassSpecFromJSON(json: any): IoK8sApiResourceV1beta1DeviceClassSpec; export declare function IoK8sApiResourceV1beta1DeviceClassSpecFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiResourceV1beta1DeviceClassSpec; export declare function IoK8sApiResourceV1beta1DeviceClassSpecToJSON(value?: IoK8sApiResourceV1beta1DeviceClassSpec | null): any;