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

41 lines
963 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"] },
2019-01-03 12:48:30 +05:30
"hostname": { "type": ["string", "null"] }
2018-03-17 18:26:18 +05:30
},
"required" : [ "name", "status" ]
}
}
}