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

42 lines
1,012 B
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
]
}
},
"status_reason": { "type": ["string", "null"] },
"external_ip": { "type": ["string", "null"] },
"hostname": { "type": ["string", "null"] },
"email": { "type": ["string", "null"] }
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
}