UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

41 lines (40 loc) 2.06 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 { IoK8sApiResourceV1beta2DeviceClaimConfiguration, IoK8sApiResourceV1beta2DeviceConstraint, IoK8sApiResourceV1beta2DeviceRequest } from './'; /** * DeviceClaim defines how to request devices with a ResourceClaim. * @export * @interface IoK8sApiResourceV1beta2DeviceClaim */ export interface IoK8sApiResourceV1beta2DeviceClaim { /** * This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim. * @type {Array<IoK8sApiResourceV1beta2DeviceClaimConfiguration>} * @memberof IoK8sApiResourceV1beta2DeviceClaim */ config?: Array<IoK8sApiResourceV1beta2DeviceClaimConfiguration>; /** * These constraints must be satisfied by the set of devices that get allocated for the claim. * @type {Array<IoK8sApiResourceV1beta2DeviceConstraint>} * @memberof IoK8sApiResourceV1beta2DeviceClaim */ constraints?: Array<IoK8sApiResourceV1beta2DeviceConstraint>; /** * Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated. * @type {Array<IoK8sApiResourceV1beta2DeviceRequest>} * @memberof IoK8sApiResourceV1beta2DeviceClaim */ requests?: Array<IoK8sApiResourceV1beta2DeviceRequest>; } export declare function IoK8sApiResourceV1beta2DeviceClaimFromJSON(json: any): IoK8sApiResourceV1beta2DeviceClaim; export declare function IoK8sApiResourceV1beta2DeviceClaimFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiResourceV1beta2DeviceClaim; export declare function IoK8sApiResourceV1beta2DeviceClaimToJSON(value?: IoK8sApiResourceV1beta2DeviceClaim | null): any;