UNPKG

kubernetes-models

Version:
51 lines (50 loc) 1.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.addSchema = void 0; const validate_1 = require("@kubernetes-models/validate"); const IoK8sApiCoreV1LocalObjectReference_1 = require("./IoK8sApiCoreV1LocalObjectReference.js"); const schema = { "properties": { "monitors": { "items": { "type": "string" }, "type": "array" }, "path": { "type": "string", "nullable": true }, "readOnly": { "type": "boolean", "nullable": true }, "secretFile": { "type": "string", "nullable": true }, "secretRef": { "oneOf": [ { "$ref": "io.k8s.api.core.v1.LocalObjectReference#" }, { "type": "null" } ] }, "user": { "type": "string", "nullable": true } }, "required": [ "monitors" ], "type": "object" }; function addSchema() { (0, IoK8sApiCoreV1LocalObjectReference_1.addSchema)(); (0, validate_1.register)("io.k8s.api.core.v1.CephFSVolumeSource", schema); } exports.addSchema = addSchema;