kubernetes-models
Version:
63 lines (62 loc) • 1.73 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addSchema = void 0;
const validate_1 = require("@kubernetes-models/validate");
const IoK8sApiAppsV1beta2StatefulSetCondition_1 = require("./IoK8sApiAppsV1beta2StatefulSetCondition.js");
const schema = {
"properties": {
"collisionCount": {
"format": "int32",
"type": "integer",
"nullable": true
},
"conditions": {
"items": {
"$ref": "io.k8s.api.apps.v1beta2.StatefulSetCondition#"
},
"type": "array",
"nullable": true
},
"currentReplicas": {
"format": "int32",
"type": "integer",
"nullable": true
},
"currentRevision": {
"type": "string",
"nullable": true
},
"observedGeneration": {
"format": "int64",
"type": "integer",
"nullable": true
},
"readyReplicas": {
"format": "int32",
"type": "integer",
"nullable": true
},
"replicas": {
"format": "int32",
"type": "integer"
},
"updateRevision": {
"type": "string",
"nullable": true
},
"updatedReplicas": {
"format": "int32",
"type": "integer",
"nullable": true
}
},
"required": [
"replicas"
],
"type": "object"
};
function addSchema() {
(0, IoK8sApiAppsV1beta2StatefulSetCondition_1.addSchema)();
(0, validate_1.register)("io.k8s.api.apps.v1beta2.StatefulSetStatus", schema);
}
exports.addSchema = addSchema;