UNPKG

kubernetes-models

Version:
26 lines (25 loc) 1.2 kB
import { IIoK8sApiAutoscalingV2MetricValueStatus } from "./MetricValueStatus"; import { IIoK8sApiAutoscalingV2MetricIdentifier } from "./MetricIdentifier"; import { ModelData, Model } from "@kubernetes-models/base"; /** * ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. */ export interface IExternalMetricStatus { /** * current contains the current value for the given metric */ "current": IIoK8sApiAutoscalingV2MetricValueStatus; /** * metric identifies the target metric by name and selector */ "metric": IIoK8sApiAutoscalingV2MetricIdentifier; } /** * ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. */ export declare class ExternalMetricStatus extends Model<IExternalMetricStatus> implements IExternalMetricStatus { "current": IIoK8sApiAutoscalingV2MetricValueStatus; "metric": IIoK8sApiAutoscalingV2MetricIdentifier; constructor(data?: ModelData<IExternalMetricStatus>); } export { IExternalMetricStatus as IIoK8sApiAutoscalingV2ExternalMetricStatus, ExternalMetricStatus as IoK8sApiAutoscalingV2ExternalMetricStatus };