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

42 lines
1,012 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"] },
2018-11-08 19:23:39 +05:30
"external_ip": { "type": ["string", "null"] },
2018-12-23 12:14:25 +05:30
"hostname": { "type": ["string", "null"] },
"email": { "type": ["string", "null"] }
2018-03-17 18:26:18 +05:30
},
"required" : [ "name", "status" ]
}
}
}