UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

37 lines (36 loc) 1.96 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 { IoK8sApiResourceV1alpha3DeviceClassConfiguration, IoK8sApiResourceV1alpha3DeviceSelector } from './'; /** * DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it. * @export * @interface IoK8sApiResourceV1alpha3DeviceClassSpec */ export interface IoK8sApiResourceV1alpha3DeviceClassSpec { /** * 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<IoK8sApiResourceV1alpha3DeviceClassConfiguration>} * @memberof IoK8sApiResourceV1alpha3DeviceClassSpec */ config?: Array<IoK8sApiResourceV1alpha3DeviceClassConfiguration>; /** * Each selector must be satisfied by a device which is claimed via this class. * @type {Array<IoK8sApiResourceV1alpha3DeviceSelector>} * @memberof IoK8sApiResourceV1alpha3DeviceClassSpec */ selectors?: Array<IoK8sApiResourceV1alpha3DeviceSelector>; } export declare function IoK8sApiResourceV1alpha3DeviceClassSpecFromJSON(json: any): IoK8sApiResourceV1alpha3DeviceClassSpec; export declare function IoK8sApiResourceV1alpha3DeviceClassSpecFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiResourceV1alpha3DeviceClassSpec; export declare function IoK8sApiResourceV1alpha3DeviceClassSpecToJSON(value?: IoK8sApiResourceV1alpha3DeviceClassSpec | null): any;