@kubernetes/client-node
Version:
NodeJS client for kubernetes
49 lines (48 loc) • 1.73 kB
TypeScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.32.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1beta1DeviceClaimConfiguration } from '../models/V1beta1DeviceClaimConfiguration.js';
import { V1beta1DeviceConstraint } from '../models/V1beta1DeviceConstraint.js';
import { V1beta1DeviceRequest } from '../models/V1beta1DeviceRequest.js';
/**
* DeviceClaim defines how to request devices with a ResourceClaim.
*/
export declare class V1beta1DeviceClaim {
/**
* This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.
*/
'config'?: Array<V1beta1DeviceClaimConfiguration>;
/**
* These constraints must be satisfied by the set of devices that get allocated for the claim.
*/
'constraints'?: Array<V1beta1DeviceConstraint>;
/**
* Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.
*/
'requests'?: Array<V1beta1DeviceRequest>;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}