Add locks on the cluster DB

This commit is contained in:
Ingo Oppermann
2023-06-22 12:22:25 +02:00
parent b8a975b7c7
commit dc3e7afc52
15 changed files with 786 additions and 19 deletions

View File

@@ -154,6 +154,35 @@ const docTemplate = `{
}
}
},
"/api/v3/cluster/db/locks": {
"get": {
"security": [
{
"ApiKeyAuth": []
}
],
"description": "List of locks in the cluster DB",
"produces": [
"application/json"
],
"tags": [
"v16.?.?"
],
"summary": "List locks in the cluster DB",
"operationId": "cluster-3-db-list-locks",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/api.ClusterLock"
}
}
}
}
}
},
"/api/v3/cluster/db/policies": {
"get": {
"security": [
@@ -4074,6 +4103,17 @@ const docTemplate = `{
}
}
},
"api.ClusterLock": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"valid_until": {
"type": "string"
}
}
},
"api.ClusterNode": {
"type": "object",
"properties": {