UNPKG

kubernetes-models

Version:
32 lines (31 loc) 972 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApiAutoscalingV2HPAScalingPolicy_1 = require("./IoK8sApiAutoscalingV2HPAScalingPolicy.js"); const schema = { "properties": { "policies": { "items": { "$ref": "io.k8s.api.autoscaling.v2.HPAScalingPolicy#" }, "type": "array", "nullable": true }, "selectPolicy": { "type": "string", "nullable": true }, "stabilizationWindowSeconds": { "format": "int32", "type": "integer", "nullable": true } }, "type": "object" }; function addSchema() { (0, IoK8sApiAutoscalingV2HPAScalingPolicy_1.addSchema)(); (0, validate_1.register)("io.k8s.api.autoscaling.v2.HPAScalingRules", schema); } exports.addSchema = addSchema;