UNPKG

kubernetes-models

Version:
46 lines (45 loc) 1.18 kB
import { register } from "@kubernetes-models/validate"; import { addSchema as IoK8sApiCoreV1NodeConfigSource } from "./IoK8sApiCoreV1NodeConfigSource.mjs"; const schema = { "properties": { "active": { "oneOf": [ { "$ref": "io.k8s.api.core.v1.NodeConfigSource#" }, { "type": "null" } ] }, "assigned": { "oneOf": [ { "$ref": "io.k8s.api.core.v1.NodeConfigSource#" }, { "type": "null" } ] }, "error": { "type": "string", "nullable": true }, "lastKnownGood": { "oneOf": [ { "$ref": "io.k8s.api.core.v1.NodeConfigSource#" }, { "type": "null" } ] } }, "type": "object" }; export function addSchema() { IoK8sApiCoreV1NodeConfigSource(); register("io.k8s.api.core.v1.NodeConfigStatus", schema); }