kubernetes-models
Version:
10 lines (9 loc) • 650 B
JavaScript
import { Model, setSchema } from "@kubernetes-models/base";
import { addSchema } from "../../_schemas/IoK8sApiAutoscalingV2beta1ExternalMetricSource.mjs";
/**
* ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
*/
export class ExternalMetricSource extends Model {
}
setSchema(ExternalMetricSource, "io.k8s.api.autoscaling.v2beta1.ExternalMetricSource", addSchema);
export { ExternalMetricSource as IoK8sApiAutoscalingV2beta1ExternalMetricSource };