Delete pods (#844)

Co-authored-by: Adam Stafford <adam@minio.io>
Co-authored-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
adfost
2021-07-09 09:56:29 -07:00
committed by GitHub
parent b19852a75a
commit 373d576e54
12 changed files with 775 additions and 3 deletions

View File

@@ -2975,6 +2975,44 @@ func init() {
}
}
}
},
"delete": {
"tags": [
"AdminAPI"
],
"summary": "Delete pod",
"operationId": "DeletePod",
"parameters": [
{
"type": "string",
"name": "namespace",
"in": "path",
"required": true
},
{
"type": "string",
"name": "tenant",
"in": "path",
"required": true
},
{
"type": "string",
"name": "podName",
"in": "path",
"required": true
}
],
"responses": {
"204": {
"description": "A successful response."
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/error"
}
}
}
}
},
"/namespaces/{namespace}/tenants/{tenant}/pods/{podName}/events": {
@@ -10813,6 +10851,44 @@ func init() {
}
}
}
},
"delete": {
"tags": [
"AdminAPI"
],
"summary": "Delete pod",
"operationId": "DeletePod",
"parameters": [
{
"type": "string",
"name": "namespace",
"in": "path",
"required": true
},
{
"type": "string",
"name": "tenant",
"in": "path",
"required": true
},
{
"type": "string",
"name": "podName",
"in": "path",
"required": true
}
],
"responses": {
"204": {
"description": "A successful response."
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/error"
}
}
}
}
},
"/namespaces/{namespace}/tenants/{tenant}/pods/{podName}/events": {