Added PVCs section & direct CSI panel (#742)
Co-authored-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user