UNPKG

kubernetes-models

Version:
22 lines (21 loc) 501 B
import { register } from "@kubernetes-models/validate"; const schema = { "properties": { "ready": { "type": "boolean", "nullable": true }, "serving": { "type": "boolean", "nullable": true }, "terminating": { "type": "boolean", "nullable": true } }, "type": "object" }; export function addSchema() { register("io.k8s.api.discovery.v1.EndpointConditions", schema); }