UNPKG

kubernetes-models

Version:
45 lines (44 loc) 1.14 kB
import { register } from "@kubernetes-models/validate"; import { addSchema as IoK8sApiStorageV1VolumeError } from "./IoK8sApiStorageV1VolumeError.mjs"; const schema = { "properties": { "attachError": { "oneOf": [ { "$ref": "io.k8s.api.storage.v1.VolumeError#" }, { "type": "null" } ] }, "attached": { "type": "boolean" }, "attachmentMetadata": { "additionalProperties": { "type": "string" }, "type": "object", "nullable": true }, "detachError": { "oneOf": [ { "$ref": "io.k8s.api.storage.v1.VolumeError#" }, { "type": "null" } ] } }, "required": [ "attached" ], "type": "object" }; export function addSchema() { IoK8sApiStorageV1VolumeError(); register("io.k8s.api.storage.v1.VolumeAttachmentStatus", schema); }