UNPKG

kubernetes-models

Version:
30 lines (29 loc) 830 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApiAutoscalingV2MetricTarget_1 = require("./IoK8sApiAutoscalingV2MetricTarget.js"); const schema = { "properties": { "container": { "type": "string" }, "name": { "type": "string" }, "target": { "$ref": "io.k8s.api.autoscaling.v2.MetricTarget#" } }, "required": [ "name", "target", "container" ], "type": "object" }; function addSchema() { (0, IoK8sApiAutoscalingV2MetricTarget_1.addSchema)(); (0, validate_1.register)("io.k8s.api.autoscaling.v2.ContainerResourceMetricSource", schema); } exports.addSchema = addSchema;