UNPKG

kubernetes-models

Version:
30 lines (29 loc) 862 B
import { register } from "@kubernetes-models/validate"; import { addSchema as IoK8sApiAppsV1RollingUpdateStatefulSetStrategy } from "./IoK8sApiAppsV1RollingUpdateStatefulSetStrategy.mjs"; const schema = { "properties": { "rollingUpdate": { "oneOf": [ { "$ref": "io.k8s.api.apps.v1.RollingUpdateStatefulSetStrategy#" }, { "type": "null" } ] }, "type": { "enum": [ "OnDelete", "RollingUpdate" ], "type": "string", "nullable": true } }, "type": "object" }; export function addSchema() { IoK8sApiAppsV1RollingUpdateStatefulSetStrategy(); register("io.k8s.api.apps.v1.StatefulSetUpdateStrategy", schema); }