Added PVCs section & direct CSI panel (#742)

Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
Alex
2021-05-14 15:20:36 -05:00
committed by GitHub
parent a06636035a
commit 9c5a788dae
44 changed files with 2233 additions and 43 deletions

View File

@@ -2149,6 +2149,29 @@ func init() {
}
}
},
"/list-pvcs": {
"get": {
"tags": [
"AdminAPI"
],
"summary": "List all PVCs from namespaces that the user has access to",
"operationId": "ListPVCs",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/listPVCsResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/error"
}
}
}
}
},
"/login": {
"get": {
"security": [],
@@ -5048,6 +5071,17 @@ func init() {
}
}
},
"listPVCsResponse": {
"type": "object",
"properties": {
"pvcs": {
"type": "array",
"items": {
"$ref": "#/definitions/pvcsListResponse"
}
}
}
},
"listPoliciesResponse": {
"type": "object",
"properties": {
@@ -6057,6 +6091,32 @@ func init() {
}
}
},
"pvcsListResponse": {
"type": "object",
"properties": {
"age": {
"type": "string"
},
"capacity": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"status": {
"type": "string"
},
"storageClass": {
"type": "string"
},
"volume": {
"type": "string"
}
}
},
"remoteBucket": {
"type": "object",
"required": [
@@ -9023,6 +9083,29 @@ func init() {
}
}
},
"/list-pvcs": {
"get": {
"tags": [
"AdminAPI"
],
"summary": "List all PVCs from namespaces that the user has access to",
"operationId": "ListPVCs",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/listPVCsResponse"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/error"
}
}
}
}
},
"/login": {
"get": {
"security": [],
@@ -12523,6 +12606,17 @@ func init() {
}
}
},
"listPVCsResponse": {
"type": "object",
"properties": {
"pvcs": {
"type": "array",
"items": {
"$ref": "#/definitions/pvcsListResponse"
}
}
}
},
"listPoliciesResponse": {
"type": "object",
"properties": {
@@ -13397,6 +13491,32 @@ func init() {
}
}
},
"pvcsListResponse": {
"type": "object",
"properties": {
"age": {
"type": "string"
},
"capacity": {
"type": "string"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"status": {
"type": "string"
},
"storageClass": {
"type": "string"
},
"volume": {
"type": "string"
}
}
},
"remoteBucket": {
"type": "object",
"required": [