Support PATCH operation in root proxy

This commit is contained in:
Jordan Liggitt
2017-02-14 13:00:16 -05:00
parent 436fa5c9d1
commit e9a1eb4c24
4 changed files with 2513 additions and 1524 deletions

View File

@@ -9717,6 +9717,33 @@
}
}
},
"patch": {
"description": "proxy PATCH requests to Pod",
"consumes": [
"*/*"
],
"produces": [
"*/*"
],
"schemes": [
"https"
],
"tags": [
"core_v1"
],
"operationId": "proxyCoreV1PATCHNamespacedPod",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
},
"401": {
"description": "Unauthorized"
}
}
},
"parameters": [
{
"uniqueItems": true,
@@ -9899,6 +9926,33 @@
}
}
},
"patch": {
"description": "proxy PATCH requests to Pod",
"consumes": [
"*/*"
],
"produces": [
"*/*"
],
"schemes": [
"https"
],
"tags": [
"core_v1"
],
"operationId": "proxyCoreV1PATCHNamespacedPodWithPath",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
},
"401": {
"description": "Unauthorized"
}
}
},
"parameters": [
{
"uniqueItems": true,
@@ -10089,6 +10143,33 @@
}
}
},
"patch": {
"description": "proxy PATCH requests to Service",
"consumes": [
"*/*"
],
"produces": [
"*/*"
],
"schemes": [
"https"
],
"tags": [
"core_v1"
],
"operationId": "proxyCoreV1PATCHNamespacedService",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
},
"401": {
"description": "Unauthorized"
}
}
},
"parameters": [
{
"uniqueItems": true,
@@ -10271,6 +10352,33 @@
}
}
},
"patch": {
"description": "proxy PATCH requests to Service",
"consumes": [
"*/*"
],
"produces": [
"*/*"
],
"schemes": [
"https"
],
"tags": [
"core_v1"
],
"operationId": "proxyCoreV1PATCHNamespacedServiceWithPath",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
},
"401": {
"description": "Unauthorized"
}
}
},
"parameters": [
{
"uniqueItems": true,
@@ -10461,6 +10569,33 @@
}
}
},
"patch": {
"description": "proxy PATCH requests to Node",
"consumes": [
"*/*"
],
"produces": [
"*/*"
],
"schemes": [
"https"
],
"tags": [
"core_v1"
],
"operationId": "proxyCoreV1PATCHNode",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
},
"401": {
"description": "Unauthorized"
}
}
},
"parameters": [
{
"uniqueItems": true,
@@ -10635,6 +10770,33 @@
}
}
},
"patch": {
"description": "proxy PATCH requests to Node",
"consumes": [
"*/*"
],
"produces": [
"*/*"
],
"schemes": [
"https"
],
"tags": [
"core_v1"
],
"operationId": "proxyCoreV1PATCHNodeWithPath",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "string"
}
},
"401": {
"description": "Unauthorized"
}
}
},
"parameters": [
{
"uniqueItems": true,

View File

@@ -4843,6 +4843,36 @@
"*/*"
]
},
{
"type": "string",
"method": "PATCH",
"summary": "proxy PATCH requests to Node",
"nickname": "proxyPATCHNodeWithPath",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Node",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "path",
"description": "path to the resource",
"required": true,
"allowMultiple": false
}
],
"produces": [
"*/*"
],
"consumes": [
"*/*"
]
},
{
"type": "string",
"method": "DELETE",
@@ -5005,6 +5035,28 @@
"*/*"
]
},
{
"type": "string",
"method": "PATCH",
"summary": "proxy PATCH requests to Node",
"nickname": "proxyPATCHNode",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Node",
"required": true,
"allowMultiple": false
}
],
"produces": [
"*/*"
],
"consumes": [
"*/*"
]
},
{
"type": "string",
"method": "DELETE",
@@ -8085,6 +8137,44 @@
"*/*"
]
},
{
"type": "string",
"method": "PATCH",
"summary": "proxy PATCH requests to Pod",
"nickname": "proxyPATCHNamespacedPodWithPath",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Pod",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "path",
"description": "path to the resource",
"required": true,
"allowMultiple": false
}
],
"produces": [
"*/*"
],
"consumes": [
"*/*"
]
},
{
"type": "string",
"method": "DELETE",
@@ -8295,6 +8385,36 @@
"*/*"
]
},
{
"type": "string",
"method": "PATCH",
"summary": "proxy PATCH requests to Pod",
"nickname": "proxyPATCHNamespacedPod",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Pod",
"required": true,
"allowMultiple": false
}
],
"produces": [
"*/*"
],
"consumes": [
"*/*"
]
},
{
"type": "string",
"method": "DELETE",
@@ -15030,6 +15150,44 @@
"*/*"
]
},
{
"type": "string",
"method": "PATCH",
"summary": "proxy PATCH requests to Service",
"nickname": "proxyPATCHNamespacedServiceWithPath",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Service",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "path",
"description": "path to the resource",
"required": true,
"allowMultiple": false
}
],
"produces": [
"*/*"
],
"consumes": [
"*/*"
]
},
{
"type": "string",
"method": "DELETE",
@@ -15240,6 +15398,36 @@
"*/*"
]
},
{
"type": "string",
"method": "PATCH",
"summary": "proxy PATCH requests to Service",
"nickname": "proxyPATCHNamespacedService",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "namespace",
"description": "object name and auth scope, such as for teams and projects",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Service",
"required": true,
"allowMultiple": false
}
],
"produces": [
"*/*"
],
"consumes": [
"*/*"
]
},
{
"type": "string",
"method": "DELETE",