UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

44 lines (43 loc) 1.62 kB
/** * KubeVirt API * This is KubeVirt API an add-on for Kubernetes. * * The version of the OpenAPI document: 1.0.0 * Contact: kubevirt-dev@googlegroups.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface V1ResourceRequirements */ export interface V1ResourceRequirements { /** * Limits describes the maximum amount of compute resources allowed. Valid resource keys are "memory" and "cpu". * @type {{ [key: string]: string; }} * @memberof V1ResourceRequirements */ limits?: { [key: string]: string; }; /** * Don't ask the scheduler to take the guest-management overhead into account. Instead put the overhead only into the container's memory limit. This can lead to crashes if all memory is in use on a node. Defaults to false. * @type {boolean} * @memberof V1ResourceRequirements */ overcommitGuestOverhead?: boolean; /** * Requests is a description of the initial vmi resources. Valid resource keys are "memory" and "cpu". * @type {{ [key: string]: string; }} * @memberof V1ResourceRequirements */ requests?: { [key: string]: string; }; } export declare function V1ResourceRequirementsFromJSON(json: any): V1ResourceRequirements; export declare function V1ResourceRequirementsFromJSONTyped(json: any, _ignoreDiscriminator: boolean): V1ResourceRequirements; export declare function V1ResourceRequirementsToJSON(value?: V1ResourceRequirements | null): any;