kubernetes-models
Version:
58 lines (57 loc) • 1.48 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addSchema = void 0;
const validate_1 = require("@kubernetes-models/validate");
const IoK8sApiCoreV1SecretReference_1 = require("./IoK8sApiCoreV1SecretReference.js");
const schema = {
"properties": {
"fsType": {
"type": "string",
"nullable": true
},
"gateway": {
"type": "string"
},
"protectionDomain": {
"type": "string",
"nullable": true
},
"readOnly": {
"type": "boolean",
"nullable": true
},
"secretRef": {
"$ref": "io.k8s.api.core.v1.SecretReference#"
},
"sslEnabled": {
"type": "boolean",
"nullable": true
},
"storageMode": {
"type": "string",
"nullable": true
},
"storagePool": {
"type": "string",
"nullable": true
},
"system": {
"type": "string"
},
"volumeName": {
"type": "string",
"nullable": true
}
},
"required": [
"gateway",
"system",
"secretRef"
],
"type": "object"
};
function addSchema() {
(0, IoK8sApiCoreV1SecretReference_1.addSchema)();
(0, validate_1.register)("io.k8s.api.core.v1.ScaleIOPersistentVolumeSource", schema);
}
exports.addSchema = addSchema;