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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

112 lines
2.2 KiB
JSON
Raw Normal View History

2018-03-17 18:26:18 +05:30
{
"type": "object",
2023-03-04 22:38:38 +05:30
"required": [
2023-05-27 22:25:52 +05:30
"status"
2018-03-17 18:26:18 +05:30
],
2023-03-04 22:38:38 +05:30
"properties": {
"status": {
"type": "string"
},
"status_reason": {
"$ref": "types/nullable_string.json"
2018-03-17 18:26:18 +05:30
}
},
"additionalProperties": false,
"definitions": {
"application_status": {
"type": "object",
2023-03-04 22:38:38 +05:30
"required": [
"name",
"status"
],
2018-03-17 18:26:18 +05:30
"additionalProperties": false,
2023-03-04 22:38:38 +05:30
"properties": {
"name": {
"type": "string"
},
2018-03-17 18:26:18 +05:30
"status": {
2023-03-04 22:38:38 +05:30
"type": "string",
"enum": [
"installable",
"scheduled",
"installing",
"installed",
"errored",
"not_installable"
]
},
"version": {
"type": "string"
},
"status_reason": {
"$ref": "types/nullable_string.json"
},
"external_ip": {
"$ref": "types/nullable_string.json"
},
"external_hostname": {
"$ref": "types/nullable_string.json"
},
"hostname": {
"$ref": "types/nullable_string.json"
},
"email": {
"$ref": "types/nullable_string.json"
},
"stack": {
"$ref": "types/nullable_string.json"
},
"host": {
"$ref": "types/nullable_string.json"
},
"port": {
"type": "integer"
},
"protocol": {
"type": "integer"
},
"update_available": {
"type": [
"boolean",
"null"
]
},
"can_uninstall": {
"type": "boolean"
2018-03-17 18:26:18 +05:30
},
2020-04-08 14:13:33 +05:30
"available_domains": {
"type": "array",
2023-03-04 22:38:38 +05:30
"items": {
"$ref": "#/definitions/domain"
}
2020-04-08 14:13:33 +05:30
},
2023-03-04 22:38:38 +05:30
"pages_domain": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/domain"
}
]
}
}
2020-04-08 14:13:33 +05:30
},
2023-03-04 22:38:38 +05:30
"domain": {
"type": "object",
"required": [
"id",
"domain"
],
"properties": {
"id": {
"type": "integer"
},
"domain": {
"type": "string"
}
}
}
2018-03-17 18:26:18 +05:30
}
2023-05-27 22:25:52 +05:30
}