UNPKG

@kubernetes/client-node

Version:
57 lines 1.53 kB
"use strict"; /** * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: release-1.28 * * * 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.V2MetricSpec = 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 V2MetricSpec { static getAttributeTypeMap() { return V2MetricSpec.attributeTypeMap; } } exports.V2MetricSpec = V2MetricSpec; V2MetricSpec.discriminator = undefined; V2MetricSpec.attributeTypeMap = [ { "name": "containerResource", "baseName": "containerResource", "type": "V2ContainerResourceMetricSource" }, { "name": "external", "baseName": "external", "type": "V2ExternalMetricSource" }, { "name": "object", "baseName": "object", "type": "V2ObjectMetricSource" }, { "name": "pods", "baseName": "pods", "type": "V2PodsMetricSource" }, { "name": "resource", "baseName": "resource", "type": "V2ResourceMetricSource" }, { "name": "type", "baseName": "type", "type": "string" } ]; //# sourceMappingURL=v2MetricSpec.js.map