@kubernetes/client-node
Version:
NodeJS client for kubernetes
62 lines • 2 kB
JavaScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.33.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices. DeviceSubRequest is similar to Request, but doesn\'t expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.
*/
export class V1beta1DeviceSubRequest {
static getAttributeTypeMap() {
return V1beta1DeviceSubRequest.attributeTypeMap;
}
constructor() {
}
}
V1beta1DeviceSubRequest.discriminator = undefined;
V1beta1DeviceSubRequest.mapping = undefined;
V1beta1DeviceSubRequest.attributeTypeMap = [
{
"name": "allocationMode",
"baseName": "allocationMode",
"type": "string",
"format": ""
},
{
"name": "count",
"baseName": "count",
"type": "number",
"format": "int64"
},
{
"name": "deviceClassName",
"baseName": "deviceClassName",
"type": "string",
"format": ""
},
{
"name": "name",
"baseName": "name",
"type": "string",
"format": ""
},
{
"name": "selectors",
"baseName": "selectors",
"type": "Array<V1beta1DeviceSelector>",
"format": ""
},
{
"name": "tolerations",
"baseName": "tolerations",
"type": "Array<V1beta1DeviceToleration>",
"format": ""
}
];
//# sourceMappingURL=V1beta1DeviceSubRequest.js.map