k8s-set-context/node_modules/@kubernetes/client-node/dist/gen/model/v2beta1ContainerResourceMetricStatus.js
2021-12-07 13:18:08 -05:00

47 lines
1.7 KiB
JavaScript

"use strict";
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.22.2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.V2beta1ContainerResourceMetricStatus = void 0;
/**
* ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.
*/
class V2beta1ContainerResourceMetricStatus {
static getAttributeTypeMap() {
return V2beta1ContainerResourceMetricStatus.attributeTypeMap;
}
}
exports.V2beta1ContainerResourceMetricStatus = V2beta1ContainerResourceMetricStatus;
V2beta1ContainerResourceMetricStatus.discriminator = undefined;
V2beta1ContainerResourceMetricStatus.attributeTypeMap = [
{
"name": "container",
"baseName": "container",
"type": "string"
},
{
"name": "currentAverageUtilization",
"baseName": "currentAverageUtilization",
"type": "number"
},
{
"name": "currentAverageValue",
"baseName": "currentAverageValue",
"type": "string"
},
{
"name": "name",
"baseName": "name",
"type": "string"
}
];
//# sourceMappingURL=v2beta1ContainerResourceMetricStatus.js.map