UNPKG

kubernetes-models

Version:
36 lines (35 loc) 773 B
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "cachingMode": { "type": "string", "nullable": true }, "diskName": { "type": "string" }, "diskURI": { "type": "string" }, "fsType": { "type": "string", "nullable": true }, "kind": { "type": "string", "nullable": true }, "readOnly": { "type": "boolean", "nullable": true } }, "required": [ "diskName", "diskURI" ], "type": "object" }; export function addSchema() { register("io.k8s.api.core.v1.AzureDiskVolumeSource", schema); }