kubernetes-models
Version:
29 lines (28 loc) • 647 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addSchema = void 0;
const validate_1 = require("@kubernetes-models/validate");
const schema = {
"properties": {
"key": {
"type": "string"
},
"mode": {
"format": "int32",
"type": "integer",
"nullable": true
},
"path": {
"type": "string"
}
},
"required": [
"key",
"path"
],
"type": "object"
};
function addSchema() {
(0, validate_1.register)("io.k8s.api.core.v1.KeyToPath", schema);
}
exports.addSchema = addSchema;