gitlab-org--gitlab-foss/spec/fixtures/api/schemas/cluster_status.json

48 lines
1.3 KiB
JSON
Raw Normal View History

2017-10-05 11:05:29 -04:00
{
"type": "object",
"required" : [
2017-11-06 11:02:28 -05:00
"status",
"applications"
2017-10-05 11:05:29 -04:00
],
"properties" : {
"status": { "type": "string" },
2017-10-31 06:29:56 -04:00
"status_reason": { "type": ["string", "null"] },
2017-11-06 11:02:28 -05:00
"applications": {
"type": "array",
"items": { "$ref": "#/definitions/application_status" }
}
2017-10-05 11:05:29 -04:00
},
2017-10-31 06:29:56 -04:00
"additionalProperties": false,
"definitions": {
2017-11-06 11:02:28 -05:00
"application_status": {
2017-10-31 06:29:56 -04:00
"type": "object",
"additionalProperties": false,
"properties" : {
2017-11-06 11:02:28 -05:00
"name": { "type": "string" },
2017-10-31 06:29:56 -04:00
"status": {
"type": {
"enum": [
"installable",
2017-11-06 11:02:28 -05:00
"scheduled",
2017-10-31 06:29:56 -04:00
"installing",
"installed",
2017-11-06 11:02:28 -05:00
"errored"
2017-10-31 06:29:56 -04:00
]
}
},
2019-01-30 04:26:52 -05:00
"version": { "type": "string" },
"status_reason": { "type": ["string", "null"] },
"external_ip": { "type": ["string", "null"] },
2019-03-07 16:51:43 -05:00
"external_hostname": { "type": ["string", "null"] },
"hostname": { "type": ["string", "null"] },
"email": { "type": ["string", "null"] },
"stack": { "type": ["string", "null"] },
"modsecurity_enabled": { "type": ["boolean", "null"] },
"update_available": { "type": ["boolean", "null"] },
"can_uninstall": { "type": "boolean" }
2017-10-31 06:29:56 -04:00
},
2017-11-06 11:02:28 -05:00
"required" : [ "name", "status" ]
2017-10-31 06:29:56 -04:00
}
}
2017-10-05 11:05:29 -04:00
}