kubernetes-models
Version:
27 lines (26 loc) • 809 B
JavaScript
import { register } from "@kubernetes-models/validate";
import { addSchema as IoK8sApiFlowcontrolV1beta2LimitResponse } from "./IoK8sApiFlowcontrolV1beta2LimitResponse.mjs";
const schema = {
"properties": {
"assuredConcurrencyShares": {
"format": "int32",
"type": "integer",
"nullable": true
},
"limitResponse": {
"oneOf": [
{
"$ref": "io.k8s.api.flowcontrol.v1beta2.LimitResponse#"
},
{
"type": "null"
}
]
}
},
"type": "object"
};
export function addSchema() {
IoK8sApiFlowcontrolV1beta2LimitResponse();
register("io.k8s.api.flowcontrol.v1beta2.LimitedPriorityLevelConfiguration", schema);
}