2021-12-07 13:18:08 -05:00

42 lines
1.7 KiB
TypeScript

/**
* 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.
*/
import { V2beta1ContainerResourceMetricSource } from './v2beta1ContainerResourceMetricSource';
import { V2beta1ExternalMetricSource } from './v2beta1ExternalMetricSource';
import { V2beta1ObjectMetricSource } from './v2beta1ObjectMetricSource';
import { V2beta1PodsMetricSource } from './v2beta1PodsMetricSource';
import { V2beta1ResourceMetricSource } from './v2beta1ResourceMetricSource';
/**
* MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
*/
export declare class V2beta1MetricSpec {
'containerResource'?: V2beta1ContainerResourceMetricSource;
'external'?: V2beta1ExternalMetricSource;
'object'?: V2beta1ObjectMetricSource;
'pods'?: V2beta1PodsMetricSource;
'resource'?: V2beta1ResourceMetricSource;
/**
* type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled
*/
'type': string;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}