UNPKG

kubernetes-models

Version:
42 lines (41 loc) 1.14 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApiCoreV1ObjectReference_1 = require("./IoK8sApiCoreV1ObjectReference.js"); const schema = { "properties": { "fsType": { "type": "string", "nullable": true }, "readOnly": { "type": "boolean", "nullable": true }, "secretRef": { "oneOf": [ { "$ref": "io.k8s.api.core.v1.ObjectReference#" }, { "type": "null" } ] }, "volumeName": { "type": "string", "nullable": true }, "volumeNamespace": { "type": "string", "nullable": true } }, "type": "object" }; function addSchema() { (0, IoK8sApiCoreV1ObjectReference_1.addSchema)(); (0, validate_1.register)("io.k8s.api.core.v1.StorageOSPersistentVolumeSource", schema); } exports.addSchema = addSchema;