57 lines
1.6 KiB
JavaScript
57 lines
1.6 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.V2beta1MetricSpec = void 0;
|
|
/**
|
|
* MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
*/
|
|
class V2beta1MetricSpec {
|
|
static getAttributeTypeMap() {
|
|
return V2beta1MetricSpec.attributeTypeMap;
|
|
}
|
|
}
|
|
exports.V2beta1MetricSpec = V2beta1MetricSpec;
|
|
V2beta1MetricSpec.discriminator = undefined;
|
|
V2beta1MetricSpec.attributeTypeMap = [
|
|
{
|
|
"name": "containerResource",
|
|
"baseName": "containerResource",
|
|
"type": "V2beta1ContainerResourceMetricSource"
|
|
},
|
|
{
|
|
"name": "external",
|
|
"baseName": "external",
|
|
"type": "V2beta1ExternalMetricSource"
|
|
},
|
|
{
|
|
"name": "object",
|
|
"baseName": "object",
|
|
"type": "V2beta1ObjectMetricSource"
|
|
},
|
|
{
|
|
"name": "pods",
|
|
"baseName": "pods",
|
|
"type": "V2beta1PodsMetricSource"
|
|
},
|
|
{
|
|
"name": "resource",
|
|
"baseName": "resource",
|
|
"type": "V2beta1ResourceMetricSource"
|
|
},
|
|
{
|
|
"name": "type",
|
|
"baseName": "type",
|
|
"type": "string"
|
|
}
|
|
];
|
|
//# sourceMappingURL=v2beta1MetricSpec.js.map
|