UNPKG

@codingame/kubevirt-api

Version:

kubevirt OpenAPI automation for TypeScript

49 lines (48 loc) 2.27 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 { IoK8sApiCoreV1ResourceClaim } from './'; /** * ResourceRequirements describes the compute resource requirements. * @export * @interface IoK8sApiCoreV1ResourceRequirements */ export interface IoK8sApiCoreV1ResourceRequirements { /** * Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. * * This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. * * This field is immutable. It can only be set for containers. * @type {Array<IoK8sApiCoreV1ResourceClaim>} * @memberof IoK8sApiCoreV1ResourceRequirements */ claims?: Array<IoK8sApiCoreV1ResourceClaim>; /** * 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 IoK8sApiCoreV1ResourceRequirements */ 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 IoK8sApiCoreV1ResourceRequirements */ requests?: { [key: string]: string; }; } export declare function IoK8sApiCoreV1ResourceRequirementsFromJSON(json: any): IoK8sApiCoreV1ResourceRequirements; export declare function IoK8sApiCoreV1ResourceRequirementsFromJSONTyped(json: any, _ignoreDiscriminator: boolean): IoK8sApiCoreV1ResourceRequirements; export declare function IoK8sApiCoreV1ResourceRequirementsToJSON(value?: IoK8sApiCoreV1ResourceRequirements | null): any;