UNPKG

kubernetes-models

Version:
33 lines (32 loc) 1.28 kB
import { IIoK8sApimachineryPkgApiResourceQuantity } from "@kubernetes-models/apimachinery/api/resource/Quantity"; import { ModelData, Model } from "@kubernetes-models/base"; /** * ResourceQuotaStatus defines the enforced hard limits and observed use. */ export interface IResourceQuotaStatus { /** * Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ */ "hard"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; /** * Used is the current observed total usage of the resource in the namespace. */ "used"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; } /** * ResourceQuotaStatus defines the enforced hard limits and observed use. */ export declare class ResourceQuotaStatus extends Model<IResourceQuotaStatus> implements IResourceQuotaStatus { "hard"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; "used"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; constructor(data?: ModelData<IResourceQuotaStatus>); } export { IResourceQuotaStatus as IIoK8sApiCoreV1ResourceQuotaStatus, ResourceQuotaStatus as IoK8sApiCoreV1ResourceQuotaStatus };