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

46 lines
1.2 KiB
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"
]
}
},
2019-03-02 22:35:43 +05:30
"version": { "type": "string" },
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-07-07 11:18:12 +05:30
"external_hostname": { "type": ["string", "null"] },
2019-02-15 15:39:39 +05:30
"hostname": { "type": ["string", "null"] },
2019-03-02 22:35:43 +05:30
"email": { "type": ["string", "null"] },
2019-07-31 22:56:46 +05:30
"update_available": { "type": ["boolean", "null"] },
"can_uninstall": { "type": "boolean" }
2018-03-17 18:26:18 +05:30
},
"required" : [ "name", "status" ]
}
}
}