Files
gpustack-ui/src/pages/backends/config/schema/update-builtin.json
T

57 lines
1.5 KiB
JSON

{
"type": "object",
"properties": {
"description": {
"type": ["string", "null"],
"description": "backend description"
},
"default_backend_param": {
"type": "array",
"items": {
"type": "string"
},
"description": "default backend parameter"
},
"default_run_command": {
"type": ["string", "null"],
"description": "default start command"
},
"health_check_path": {
"type": ["string", "null"],
"description": "health check path"
},
"version_configs": {
"type": "object",
"patternProperties": {
"-custom$": {
"type": "object",
"properties": {
"image_name": {
"type": "string",
"description": "image name"
},
"run_command": {
"type": ["string", "null"],
"description": "start command"
},
"entrypoint": {
"type": "string",
"description": "Override the default ENTRYPOINT of the image"
},
"custom_framework": {
"type": ["string", "null"],
"description": "custom framework"
}
},
"required": ["image_name", "run_command"],
"additionalProperties": false
}
},
"additionalProperties": false,
"description": "multiple backend versions"
}
},
"required": ["version_configs"],
"additionalProperties": false
}