@kubernetes/client-node
Version:
NodeJS client for kubernetes
62 lines • 1.56 kB
JavaScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.32.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
*/
export class V2MetricSpec {
static getAttributeTypeMap() {
return V2MetricSpec.attributeTypeMap;
}
constructor() {
}
}
V2MetricSpec.discriminator = undefined;
V2MetricSpec.mapping = undefined;
V2MetricSpec.attributeTypeMap = [
{
"name": "containerResource",
"baseName": "containerResource",
"type": "V2ContainerResourceMetricSource",
"format": ""
},
{
"name": "external",
"baseName": "external",
"type": "V2ExternalMetricSource",
"format": ""
},
{
"name": "object",
"baseName": "object",
"type": "V2ObjectMetricSource",
"format": ""
},
{
"name": "pods",
"baseName": "pods",
"type": "V2PodsMetricSource",
"format": ""
},
{
"name": "resource",
"baseName": "resource",
"type": "V2ResourceMetricSource",
"format": ""
},
{
"name": "type",
"baseName": "type",
"type": "string",
"format": ""
}
];
//# sourceMappingURL=V2MetricSpec.js.map