kubernetes-models
Version:
27 lines (26 loc) • 612 B
JavaScript
import { register } from "@kubernetes-models/validate";
const schema = {
"properties": {
"appProtocol": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"port": {
"format": "int32",
"type": "integer",
"nullable": true
},
"protocol": {
"type": "string",
"nullable": true
}
},
"type": "object"
};
export function addSchema() {
register("io.k8s.api.discovery.v1.EndpointPort", schema);
}