debian-mirror-gitlab/spec/fixtures/api/schemas/cluster_status.json

40 lines
911 B
JSON
Raw Normal View History

2018-03-17 18:26:18 +05:30
{
"type": "object",
"required" : [
"status",
"applications"
],
"properties" : {
"status": { "type": "string" },
"status_reason": { "type": ["string", "null"] },
"applications": {
"type": "array",
"items": { "$ref": "#/definitions/application_status" }
}
},
"additionalProperties": false,
"definitions": {
"application_status": {
"type": "object",
"additionalProperties": false,
"properties" : {
"name": { "type": "string" },
"status": {
"type": {
"enum": [
"installable",
"scheduled",
"installing",
"installed",
"errored"
]
}
},
2018-03-27 19:54:05 +05:30
"status_reason": { "type": ["string", "null"] },
"external_ip": { "type": ["string", "null"] }
2018-03-17 18:26:18 +05:30
},
"required" : [ "name", "status" ]
}
}
}