UNPKG

kubernetes-models

Version:
46 lines (45 loc) 1.28 kB
import { register } from "@kubernetes-models/validate"; import { addSchema as IoK8sApiCoreV1ReplicationControllerCondition } from "./IoK8sApiCoreV1ReplicationControllerCondition.mjs"; const schema = { "properties": { "availableReplicas": { "format": "int32", "type": "integer", "nullable": true }, "conditions": { "items": { "$ref": "io.k8s.api.core.v1.ReplicationControllerCondition#" }, "type": "array", "nullable": true }, "fullyLabeledReplicas": { "format": "int32", "type": "integer", "nullable": true }, "observedGeneration": { "format": "int64", "type": "integer", "nullable": true }, "readyReplicas": { "format": "int32", "type": "integer", "nullable": true }, "replicas": { "format": "int32", "type": "integer" } }, "required": [ "replicas" ], "type": "object" }; export function addSchema() { IoK8sApiCoreV1ReplicationControllerCondition(); register("io.k8s.api.core.v1.ReplicationControllerStatus", schema); }