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

41 lines
963 B
JSON
Raw Normal View History

2017-10-05 15:05:29 +00:00
{
"type": "object",
"required" : [
2017-11-06 16:02:28 +00:00
"status",
"applications"
2017-10-05 15:05:29 +00:00
],
"properties" : {
"status": { "type": "string" },
2017-10-31 10:29:56 +00:00
"status_reason": { "type": ["string", "null"] },
2017-11-06 16:02:28 +00:00
"applications": {
"type": "array",
"items": { "$ref": "#/definitions/application_status" }
}
2017-10-05 15:05:29 +00:00
},
2017-10-31 10:29:56 +00:00
"additionalProperties": false,
"definitions": {
2017-11-06 16:02:28 +00:00
"application_status": {
2017-10-31 10:29:56 +00:00
"type": "object",
"additionalProperties": false,
"properties" : {
2017-11-06 16:02:28 +00:00
"name": { "type": "string" },
2017-10-31 10:29:56 +00:00
"status": {
"type": {
"enum": [
"installable",
2017-11-06 16:02:28 +00:00
"scheduled",
2017-10-31 10:29:56 +00:00
"installing",
"installed",
2017-11-06 16:02:28 +00:00
"errored"
2017-10-31 10:29:56 +00:00
]
}
},
"status_reason": { "type": ["string", "null"] },
"external_ip": { "type": ["string", "null"] },
"hostname": { "type": ["string", "null"] }
2017-10-31 10:29:56 +00:00
},
2017-11-06 16:02:28 +00:00
"required" : [ "name", "status" ]
2017-10-31 10:29:56 +00:00
}
}
2017-10-05 15:05:29 +00:00
}