UNPKG

kubernetes-models

Version:
50 lines (49 loc) 1.44 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApiCoreV1ReplicationControllerCondition_1 = require("./IoK8sApiCoreV1ReplicationControllerCondition.js"); const schema = { "properties": { "availableReplicas": { "format": "int32", "type": "integer", "nullable": true }, "conditions": { "items": { "$ref": "io.k8s.api.core.v1.ReplicationControllerCondition#" }, "type": "array", "nullable": true }, "fullyLabeledReplicas": { "format": "int32", "type": "integer", "nullable": true }, "observedGeneration": { "format": "int64", "type": "integer", "nullable": true }, "readyReplicas": { "format": "int32", "type": "integer", "nullable": true }, "replicas": { "format": "int32", "type": "integer" } }, "required": [ "replicas" ], "type": "object" }; function addSchema() { (0, IoK8sApiCoreV1ReplicationControllerCondition_1.addSchema)(); (0, validate_1.register)("io.k8s.api.core.v1.ReplicationControllerStatus", schema); } exports.addSchema = addSchema;