kubernetes-models
Version:
36 lines (35 loc) • 982 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addSchema = void 0;
const validate_1 = require("@kubernetes-models/validate");
const IoK8sApiCoreV1KeyToPath_1 = require("./IoK8sApiCoreV1KeyToPath.js");
const schema = {
"properties": {
"defaultMode": {
"format": "int32",
"type": "integer",
"nullable": true
},
"items": {
"items": {
"$ref": "io.k8s.api.core.v1.KeyToPath#"
},
"type": "array",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"optional": {
"type": "boolean",
"nullable": true
}
},
"type": "object"
};
function addSchema() {
(0, IoK8sApiCoreV1KeyToPath_1.addSchema)();
(0, validate_1.register)("io.k8s.api.core.v1.ConfigMapVolumeSource", schema);
}
exports.addSchema = addSchema;