UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

38 lines (37 loc) 1.82 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. */ /** * VolumeResourceRequirements describes the storage resource requirements for a volume. * @export * @interface K8sIoApiCoreV1VolumeResourceRequirements */ export interface K8sIoApiCoreV1VolumeResourceRequirements { /** * Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ * @type {{ [key: string]: string; }} * @memberof K8sIoApiCoreV1VolumeResourceRequirements */ limits?: { [key: string]: string; }; /** * Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ * @type {{ [key: string]: string; }} * @memberof K8sIoApiCoreV1VolumeResourceRequirements */ requests?: { [key: string]: string; }; } export declare function K8sIoApiCoreV1VolumeResourceRequirementsFromJSON(json: any): K8sIoApiCoreV1VolumeResourceRequirements; export declare function K8sIoApiCoreV1VolumeResourceRequirementsFromJSONTyped(json: any, _ignoreDiscriminator: boolean): K8sIoApiCoreV1VolumeResourceRequirements; export declare function K8sIoApiCoreV1VolumeResourceRequirementsToJSON(value?: K8sIoApiCoreV1VolumeResourceRequirements | null): any;