From f28bb68d8ce42ac803ec22574d5c3c19affeb0b9 Mon Sep 17 00:00:00 2001 From: Wojciech Tyczynski Date: Mon, 7 Dec 2015 10:21:42 +0100 Subject: [PATCH] Support collection deletion in apiserver. --- api/swagger-spec/v1.json | 1219 ++++- api/swagger-spec/v1beta1.json | 267 +- .../extensions/v1beta1/operations.html | 909 +++- docs/api-reference/v1/operations.html | 4703 ++++++++++++----- pkg/api/rest/rest.go | 12 + pkg/apiserver/api_installer.go | 22 + pkg/apiserver/resthandler.go | 93 + pkg/client/unversioned/events.go | 26 + pkg/client/unversioned/testclient/actions.go | 44 + .../unversioned/testclient/fake_events.go | 9 + .../namespace/namespace_controller.go | 12 +- .../namespace/namespace_controller_test.go | 2 +- pkg/registry/generic/etcd/etcd.go | 32 + pkg/registry/generic/etcd/etcd_test.go | 90 +- 14 files changed, 5630 insertions(+), 1810 deletions(-) diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 2f029b5537af4..11200523788c2 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -298,6 +298,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of Endpoints", + "nickname": "deletecollectionNamespacedEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -962,6 +1039,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of Event", + "nickname": "deletecollectionNamespacedEvent", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -1626,6 +1780,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of LimitRange", + "nickname": "deletecollectionNamespacedLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -2274,18 +2505,12 @@ "consumes": [ "*/*" ] - } - ] - }, - { - "path": "/api/v1/watch/namespaces", - "description": "API at /api/v1", - "operations": [ + }, { - "type": "json.WatchEvent", - "method": "GET", - "summary": "watch individual changes to a list of Namespace", - "nickname": "watchNamespacedNamespaceList", + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of Namespace", + "nickname": "deletecollectionNamespacedNamespace", "parameters": [ { "type": "string", @@ -2340,7 +2565,7 @@ { "code": 200, "message": "OK", - "responseModel": "json.WatchEvent" + "responseModel": "unversioned.Status" } ], "produces": [ @@ -2353,14 +2578,14 @@ ] }, { - "path": "/api/v1/namespaces/{name}", + "path": "/api/v1/watch/namespaces", "description": "API at /api/v1", "operations": [ { - "type": "v1.Namespace", + "type": "json.WatchEvent", "method": "GET", - "summary": "read the specified Namespace", - "nickname": "readNamespacedNamespace", + "summary": "watch individual changes to a list of Namespace", + "nickname": "watchNamespacedNamespaceList", "parameters": [ { "type": "string", @@ -2372,13 +2597,88 @@ }, { "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - } - ], + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1/namespaces/{name}", + "description": "API at /api/v1", + "operations": [ + { + "type": "v1.Namespace", + "method": "GET", + "summary": "read the specified Namespace", + "nickname": "readNamespacedNamespace", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + } + ], "responseMessages": [ { "code": 200, @@ -2826,6 +3126,75 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of Node", + "nickname": "deletecollectionNamespacedNode", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -3667,6 +4036,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of PersistentVolumeClaim", + "nickname": "deletecollectionNamespacedPersistentVolumeClaim", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -4374,18 +4820,12 @@ "consumes": [ "*/*" ] - } - ] - }, - { - "path": "/api/v1/watch/persistentvolumes", - "description": "API at /api/v1", - "operations": [ + }, { - "type": "json.WatchEvent", - "method": "GET", - "summary": "watch individual changes to a list of PersistentVolume", - "nickname": "watchNamespacedPersistentVolumeList", + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of PersistentVolume", + "nickname": "deletecollectionNamespacedPersistentVolume", "parameters": [ { "type": "string", @@ -4440,7 +4880,7 @@ { "code": 200, "message": "OK", - "responseModel": "json.WatchEvent" + "responseModel": "unversioned.Status" } ], "produces": [ @@ -4453,14 +4893,14 @@ ] }, { - "path": "/api/v1/persistentvolumes/{name}", + "path": "/api/v1/watch/persistentvolumes", "description": "API at /api/v1", "operations": [ { - "type": "v1.PersistentVolume", + "type": "json.WatchEvent", "method": "GET", - "summary": "read the specified PersistentVolume", - "nickname": "readNamespacedPersistentVolume", + "summary": "watch individual changes to a list of PersistentVolume", + "nickname": "watchNamespacedPersistentVolumeList", "parameters": [ { "type": "string", @@ -4472,10 +4912,85 @@ }, { "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the PersistentVolume", - "required": true, + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1/persistentvolumes/{name}", + "description": "API at /api/v1", + "operations": [ + { + "type": "v1.PersistentVolume", + "method": "GET", + "summary": "read the specified PersistentVolume", + "nickname": "readNamespacedPersistentVolume", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the PersistentVolume", + "required": true, "allowMultiple": false } ], @@ -4891,6 +5406,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of Pod", + "nickname": "deletecollectionNamespacedPod", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -7098,6 +7690,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of PodTemplate", + "nickname": "deletecollectionNamespacedPodTemplate", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -7762,6 +8431,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of ReplicationController", + "nickname": "deletecollectionNamespacedReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -8338,8 +9084,136 @@ { "type": "string", "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", + "name": "name", + "description": "name of the ReplicationController", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1.ReplicationController" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1/namespaces/{namespace}/resourcequotas", + "description": "API at /api/v1", + "operations": [ + { + "type": "v1.ResourceQuotaList", + "method": "GET", + "summary": "list or watch objects of kind ResourceQuota", + "nickname": "listNamespacedResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1.ResourceQuotaList" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "v1.ResourceQuota", + "method": "POST", + "summary": "create a ResourceQuota", + "nickname": "createNamespacedResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "v1.ResourceQuota", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", "required": true, "allowMultiple": false } @@ -8348,7 +9222,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1.ReplicationController" + "responseModel": "v1.ResourceQuota" } ], "produces": [ @@ -8357,18 +9231,12 @@ "consumes": [ "*/*" ] - } - ] - }, - { - "path": "/api/v1/namespaces/{namespace}/resourcequotas", - "description": "API at /api/v1", - "operations": [ + }, { - "type": "v1.ResourceQuotaList", - "method": "GET", - "summary": "list or watch objects of kind ResourceQuota", - "nickname": "listNamespacedResourceQuota", + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of ResourceQuota", + "nickname": "deletecollectionNamespacedResourceQuota", "parameters": [ { "type": "string", @@ -8431,52 +9299,7 @@ { "code": 200, "message": "OK", - "responseModel": "v1.ResourceQuotaList" - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "v1.ResourceQuota", - "method": "POST", - "summary": "create a ResourceQuota", - "nickname": "createNamespacedResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "pretty", - "description": "If 'true', then the output is pretty printed.", - "required": false, - "allowMultiple": false - }, - { - "type": "v1.ResourceQuota", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "responseMessages": [ - { - "code": 200, - "message": "OK", - "responseModel": "v1.ResourceQuota" + "responseModel": "unversioned.Status" } ], "produces": [ @@ -9208,6 +10031,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of Secret", + "nickname": "deletecollectionNamespacedSecret", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -9872,6 +10772,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of ServiceAccount", + "nickname": "deletecollectionNamespacedServiceAccount", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -11838,24 +12815,6 @@ } } }, - "json.WatchEvent": { - "id": "json.WatchEvent", - "properties": { - "type": { - "type": "string", - "description": "the type of watch event; may be ADDED, MODIFIED, DELETED, or ERROR" - }, - "object": { - "type": "string", - "description": "the object being watched; will match the type of the resource endpoint or be a Status object if the type is ERROR" - } - } - }, - "unversioned.Patch": { - "id": "unversioned.Patch", - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "properties": {} - }, "unversioned.Status": { "id": "unversioned.Status", "description": "Status is a return value for calls that don't return other objects.", @@ -11939,6 +12898,24 @@ } } }, + "json.WatchEvent": { + "id": "json.WatchEvent", + "properties": { + "type": { + "type": "string", + "description": "the type of watch event; may be ADDED, MODIFIED, DELETED, or ERROR" + }, + "object": { + "type": "string", + "description": "the object being watched; will match the type of the resource endpoint or be a Status object if the type is ERROR" + } + } + }, + "unversioned.Patch": { + "id": "unversioned.Patch", + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "properties": {} + }, "v1.DeleteOptions": { "id": "v1.DeleteOptions", "description": "DeleteOptions may be provided when deleting an API object", diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index f533df2847fd3..ba83c9608771d 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -129,6 +129,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of HorizontalPodAutoscaler", + "nickname": "deletecollectionNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -852,6 +929,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of Ingress", + "nickname": "deletecollectionNamespacedIngress", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -1575,6 +1729,83 @@ "consumes": [ "*/*" ] + }, + { + "type": "unversioned.Status", + "method": "DELETE", + "summary": "delete collection of Job", + "nickname": "deletecollectionNamespacedJob", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "pretty", + "description": "If 'true', then the output is pretty printed.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "labelSelector", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "fieldSelector", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "required": false, + "allowMultiple": false + }, + { + "type": "boolean", + "paramType": "query", + "name": "watch", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "resourceVersion", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.", + "required": false, + "allowMultiple": false + }, + { + "type": "integer", + "paramType": "query", + "name": "timeoutSeconds", + "description": "Timeout for the list/watch call.", + "required": false, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "unversioned.Status" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] }, @@ -2574,24 +2805,6 @@ } } }, - "json.WatchEvent": { - "id": "json.WatchEvent", - "properties": { - "type": { - "type": "string", - "description": "the type of watch event; may be ADDED, MODIFIED, DELETED, or ERROR" - }, - "object": { - "type": "string", - "description": "the object being watched; will match the type of the resource endpoint or be a Status object if the type is ERROR" - } - } - }, - "unversioned.Patch": { - "id": "unversioned.Patch", - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "properties": {} - }, "unversioned.Status": { "id": "unversioned.Status", "description": "Status is a return value for calls that don't return other objects.", @@ -2675,6 +2888,24 @@ } } }, + "json.WatchEvent": { + "id": "json.WatchEvent", + "properties": { + "type": { + "type": "string", + "description": "the type of watch event; may be ADDED, MODIFIED, DELETED, or ERROR" + }, + "object": { + "type": "string", + "description": "the object being watched; will match the type of the resource endpoint or be a Status object if the type is ERROR" + } + } + }, + "unversioned.Patch": { + "id": "unversioned.Patch", + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "properties": {} + }, "v1.DeleteOptions": { "id": "v1.DeleteOptions", "description": "DeleteOptions may be provided when deleting an API object", diff --git a/docs/api-reference/extensions/v1beta1/operations.html b/docs/api-reference/extensions/v1beta1/operations.html index 724ad1612eb03..870e3c128516d 100755 --- a/docs/api-reference/extensions/v1beta1/operations.html +++ b/docs/api-reference/extensions/v1beta1/operations.html @@ -987,10 +987,10 @@

Tags

-

create a HorizontalPodAutoscaler

+

delete collection of HorizontalPodAutoscaler

-
POST /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers
+
DELETE /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers
@@ -1024,11 +1024,43 @@

Parameters

-

BodyParameter

-

body

+

QueryParameter

+

labelSelector

+

A selector to restrict the list of returned objects by their labels. Defaults to everything.

+

false

+

string

-

true

-

v1beta1.HorizontalPodAutoscaler

+ + +

QueryParameter

+

fieldSelector

+

A selector to restrict the list of returned objects by their fields. Defaults to everything.

+

false

+

string

+ + + +

QueryParameter

+

watch

+

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

+

false

+

boolean

+ + + +

QueryParameter

+

resourceVersion

+

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

+

false

+

string

+ + + +

QueryParameter

+

timeoutSeconds

+

Timeout for the list/watch call.

+

false

+

integer (int32)

@@ -1062,7 +1094,7 @@

Responses

200

success

-

v1beta1.HorizontalPodAutoscaler

+

unversioned.Status

@@ -1100,10 +1132,10 @@

Tags

-

read the specified HorizontalPodAutoscaler

+

create a HorizontalPodAutoscaler

-
GET /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
+
POST /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers
@@ -1137,17 +1169,17 @@

Parameters

-

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

+

BodyParameter

+

body

+

true

-

string

+

v1beta1.HorizontalPodAutoscaler

PathParameter

-

name

-

name of the HorizontalPodAutoscaler

+

namespace

+

object name and auth scope, such as for teams and projects

true

string

@@ -1213,10 +1245,10 @@

Tags

-

replace the specified HorizontalPodAutoscaler

+

read the specified HorizontalPodAutoscaler

-
PUT /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
+
GET /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
@@ -1250,14 +1282,6 @@

Parameters

-

BodyParameter

-

body

- -

true

-

v1beta1.HorizontalPodAutoscaler

- - -

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -1334,10 +1358,10 @@

Tags

-

delete a HorizontalPodAutoscaler

+

replace the specified HorizontalPodAutoscaler

-
DELETE /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
+
PUT /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
@@ -1375,7 +1399,7 @@

Parameters

body

true

-

v1.DeleteOptions

+

v1beta1.HorizontalPodAutoscaler

@@ -1417,7 +1441,7 @@

Responses

200

success

-

unversioned.Status

+

v1beta1.HorizontalPodAutoscaler

@@ -1455,10 +1479,10 @@

Tags

-

partially update the specified HorizontalPodAutoscaler

+

delete a HorizontalPodAutoscaler

-
PATCH /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
+
DELETE /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
@@ -1496,7 +1520,7 @@

Parameters

body

true

-

unversioned.Patch

+

v1.DeleteOptions

@@ -1538,7 +1562,7 @@

Responses

200

success

-

v1beta1.HorizontalPodAutoscaler

+

unversioned.Status

@@ -1549,13 +1573,7 @@

Consumes

  • -

    application/json-patch+json

    -
  • -
  • -

    application/merge-patch+json

    -
  • -
  • -

    application/strategic-merge-patch+json

    +

    /

@@ -1582,10 +1600,10 @@

Tags

-

replace status of the specified HorizontalPodAutoscaler

+

partially update the specified HorizontalPodAutoscaler

-
PUT /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status
+
PATCH /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}
@@ -1623,7 +1641,7 @@

Parameters

body

true

-

v1beta1.HorizontalPodAutoscaler

+

unversioned.Patch

@@ -1676,7 +1694,13 @@

Consumes

  • -

    /

    +

    application/json-patch+json

    +
  • +
  • +

    application/merge-patch+json

    +
  • +
  • +

    application/strategic-merge-patch+json

@@ -1703,10 +1727,10 @@

Tags

-

list or watch objects of kind Ingress

+

replace status of the specified HorizontalPodAutoscaler

-
GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
+
PUT /apis/extensions/v1beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status
@@ -1740,49 +1764,25 @@

Parameters

-

QueryParameter

-

labelSelector

-

A selector to restrict the list of returned objects by their labels. Defaults to everything.

-

false

-

string

- - - -

QueryParameter

-

fieldSelector

-

A selector to restrict the list of returned objects by their fields. Defaults to everything.

-

false

-

string

+

BodyParameter

+

body

- - -

QueryParameter

-

watch

-

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

-

false

-

boolean

+

true

+

v1beta1.HorizontalPodAutoscaler

-

QueryParameter

-

resourceVersion

-

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

-

false

+

PathParameter

+

namespace

+

object name and auth scope, such as for teams and projects

+

true

string

-

QueryParameter

-

timeoutSeconds

-

Timeout for the list/watch call.

-

false

-

integer (int32)

- - -

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

+

name

+

name of the HorizontalPodAutoscaler

true

string

@@ -1810,7 +1810,7 @@

Responses

200

success

-

v1beta1.IngressList

+

v1beta1.HorizontalPodAutoscaler

@@ -1848,10 +1848,10 @@

Tags

-

create a Ingress

+

list or watch objects of kind Ingress

-
POST /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
+
GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
@@ -1885,11 +1885,43 @@

Parameters

-

BodyParameter

-

body

+

QueryParameter

+

labelSelector

+

A selector to restrict the list of returned objects by their labels. Defaults to everything.

+

false

+

string

-

true

-

v1beta1.Ingress

+ + +

QueryParameter

+

fieldSelector

+

A selector to restrict the list of returned objects by their fields. Defaults to everything.

+

false

+

string

+ + + +

QueryParameter

+

watch

+

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

+

false

+

boolean

+ + + +

QueryParameter

+

resourceVersion

+

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

+

false

+

string

+ + + +

QueryParameter

+

timeoutSeconds

+

Timeout for the list/watch call.

+

false

+

integer (int32)

@@ -1923,7 +1955,7 @@

Responses

200

success

-

v1beta1.Ingress

+

v1beta1.IngressList

@@ -1961,10 +1993,10 @@

Tags

-

read the specified Ingress

+

delete collection of Ingress

-
GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
+
DELETE /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
@@ -1998,17 +2030,49 @@

Parameters

-

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

-

true

+

QueryParameter

+

labelSelector

+

A selector to restrict the list of returned objects by their labels. Defaults to everything.

+

false

+

string

+ + + +

QueryParameter

+

fieldSelector

+

A selector to restrict the list of returned objects by their fields. Defaults to everything.

+

false

string

+

QueryParameter

+

watch

+

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

+

false

+

boolean

+ + + +

QueryParameter

+

resourceVersion

+

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

+

false

+

string

+ + + +

QueryParameter

+

timeoutSeconds

+

Timeout for the list/watch call.

+

false

+

integer (int32)

+ + +

PathParameter

-

name

-

name of the Ingress

+

namespace

+

object name and auth scope, such as for teams and projects

true

string

@@ -2036,7 +2100,7 @@

Responses

200

success

-

v1beta1.Ingress

+

unversioned.Status

@@ -2074,10 +2138,10 @@

Tags

-

replace the specified Ingress

+

create a Ingress

-
PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
+
POST /apis/extensions/v1beta1/namespaces/{namespace}/ingresses
@@ -2126,6 +2190,111 @@

Parameters

string

+ + + +
+
+

Responses

+ +++++ + + + + + + + + + + + + + + +
HTTP CodeDescriptionSchema

200

success

v1beta1.Ingress

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    application/json

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apisextensionsv1beta1

    +
  • +
+
+
+
+
+

read the specified Ingress

+
+
+
GET /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
+
+
+
+

Parameters

+ ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2139,7 +2308,7 @@

Parameters

-

Responses

+

Responses

TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

PathParameter

name

@@ -2164,7 +2333,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -2174,7 +2343,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -2184,7 +2353,128 @@

    Produces

-

Tags

+

Tags

+
+
    +
  • +

    apisextensionsv1beta1

    +
  • +
+
+
+ +
+

replace the specified Ingress

+
+
+
PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}
+
+
+
+

Parameters

+
++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

v1beta1.Ingress

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

PathParameter

name

name of the Ingress

true

string

+ +
+
+

Responses

+ +++++ + + + + + + + + + + + + + + +
HTTP CodeDescriptionSchema

200

success

v1beta1.Ingress

+ +
+
+

Consumes

+
+
    +
  • +

    /

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    application/json

    +
  • +
+
+
+
+

Tags

  • @@ -2202,7 +2492,7 @@

    delete a Ingress

-

Parameters

+

Parameters

@@ -2260,7 +2550,7 @@

Parameters

-

Responses

+

Responses

@@ -2285,7 +2575,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -2295,7 +2585,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -2305,7 +2595,7 @@

    Produces

-

Tags

+

Tags

  • @@ -2323,7 +2613,7 @@

    partially update the specified

-

Parameters

+

Parameters

@@ -2381,7 +2671,134 @@

Parameters

-

Responses

+

Responses

+
+++++ + + + + + + + + + + + + + + +
HTTP CodeDescriptionSchema

200

success

v1beta1.Ingress

+ +
+
+

Consumes

+
+
    +
  • +

    application/json-patch+json

    +
  • +
  • +

    application/merge-patch+json

    +
  • +
  • +

    application/strategic-merge-patch+json

    +
  • +
+
+
+
+

Produces

+
+
    +
  • +

    application/json

    +
  • +
+
+
+
+

Tags

+
+
    +
  • +

    apisextensionsv1beta1

    +
  • +
+
+
+
+
+

replace status of the specified Ingress

+
+
+
PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status
+
+
+
+

Parameters

+ ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TypeNameDescriptionRequiredSchemaDefault

QueryParameter

pretty

If true, then the output is pretty printed.

false

string

BodyParameter

body

true

v1beta1.Ingress

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

string

PathParameter

name

name of the Ingress

true

string

+ +
+
+

Responses

@@ -2406,23 +2823,17 @@

Responses

-

Consumes

+

Consumes

  • -

    application/json-patch+json

    -
  • -
  • -

    application/merge-patch+json

    -
  • -
  • -

    application/strategic-merge-patch+json

    +

    /

-

Produces

+

Produces

  • @@ -2432,7 +2843,7 @@

    Produces

-

Tags

+

Tags

  • @@ -2443,14 +2854,14 @@

    Tags

-

replace status of the specified Ingress

+

list or watch objects of kind Job

-
PUT /apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status
+
GET /apis/extensions/v1beta1/namespaces/{namespace}/jobs
-

Parameters

+

Parameters

@@ -2480,25 +2891,49 @@

Parameters

- - + + + + + - - + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + - - + + @@ -2508,7 +2943,7 @@

Parameters

-

Responses

+

Responses

BodyParameter

body

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

true

v1beta1.Ingress

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

PathParameter

namespace

object name and auth scope, such as for teams and projects

true

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer (int32)

PathParameter

name

name of the Ingress

namespace

object name and auth scope, such as for teams and projects

true

string

@@ -2526,14 +2961,14 @@

Responses

- +

200

success

v1beta1.Ingress

v1beta1.JobList

-

Consumes

+

Consumes

  • @@ -2543,7 +2978,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -2553,7 +2988,7 @@

    Produces

-

Tags

+

Tags

  • @@ -2564,14 +2999,14 @@

    Tags

-

list or watch objects of kind Job

+

delete collection of Job

-
GET /apis/extensions/v1beta1/namespaces/{namespace}/jobs
+
DELETE /apis/extensions/v1beta1/namespaces/{namespace}/jobs
-

Parameters

+

Parameters

@@ -2653,7 +3088,7 @@

Parameters

-

Responses

+

Responses

@@ -2671,14 +3106,14 @@

Responses

- +

200

success

v1beta1.JobList

unversioned.Status

-

Consumes

+

Consumes

  • @@ -2688,7 +3123,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -2698,7 +3133,7 @@

    Produces

-

Tags

+

Tags

  • @@ -2716,7 +3151,7 @@

    create a Job

-

Parameters

+

Parameters

@@ -2766,7 +3201,7 @@

Parameters

-

Responses

+

Responses

@@ -2791,7 +3226,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -2801,7 +3236,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -2811,7 +3246,7 @@

    Produces

-

Tags

+

Tags

  • @@ -2829,7 +3264,7 @@

    read the specified Job

-

Parameters

+

Parameters

@@ -2879,7 +3314,7 @@

Parameters

-

Responses

+

Responses

@@ -2904,7 +3339,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -2914,7 +3349,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -2924,7 +3359,7 @@

    Produces

-

Tags

+

Tags

  • @@ -2942,7 +3377,7 @@

    replace the specified Job

-

Parameters

+

Parameters

@@ -3000,7 +3435,7 @@

Parameters

-

Responses

+

Responses

@@ -3025,7 +3460,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -3035,7 +3470,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -3045,7 +3480,7 @@

    Produces

-

Tags

+

Tags

  • @@ -3063,7 +3498,7 @@

    delete a Job

-

Parameters

+

Parameters

@@ -3121,7 +3556,7 @@

Parameters

-

Responses

+

Responses

@@ -3146,7 +3581,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -3156,7 +3591,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -3166,7 +3601,7 @@

    Produces

-

Tags

+

Tags

  • @@ -3184,7 +3619,7 @@

    partially update the specified Job<

-

Parameters

+

Parameters

@@ -3242,7 +3677,7 @@

Parameters

-

Responses

+

Responses

@@ -3267,7 +3702,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -3283,7 +3718,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -3293,7 +3728,7 @@

    Produces

-

Tags

+

Tags

  • @@ -3311,7 +3746,7 @@

    replace status of the specified Jo

-

Parameters

+

Parameters

@@ -3369,7 +3804,7 @@

Parameters

-

Responses

+

Responses

@@ -3394,7 +3829,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -3404,7 +3839,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -3414,7 +3849,7 @@

    Produces

-

Tags

+

Tags

  • @@ -3432,7 +3867,7 @@

    read scale of the specified Scale

-

Parameters

+

Parameters

@@ -3482,7 +3917,7 @@

Parameters

-

Responses

+

Responses

@@ -3507,7 +3942,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -3517,7 +3952,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -3527,7 +3962,7 @@

    Produces

-

Tags

+

Tags

  • @@ -3545,7 +3980,7 @@

    replace scale of the specified Sc

-

Parameters

+

Parameters

@@ -3603,7 +4038,7 @@

Parameters

-

Responses

+

Responses

@@ -3628,7 +4063,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -3638,7 +4073,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -3648,7 +4083,7 @@

    Produces

-

Tags

+

Tags

  • @@ -3666,7 +4101,7 @@

    partially update scale o

-

Parameters

+

Parameters

@@ -3724,7 +4159,7 @@

Parameters

-

Responses

+

Responses

@@ -3749,7 +4184,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -3765,7 +4200,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -3775,7 +4210,7 @@

    Produces

-

Tags

+

Tags

  • @@ -3793,7 +4228,7 @@

    watch in

-

Parameters

+

Parameters

@@ -3867,7 +4302,7 @@

Parameters

-

Responses

+

Responses

@@ -3892,7 +4327,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -3902,7 +4337,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -3912,7 +4347,7 @@

    Produces

-

Tags

+

Tags

  • @@ -3930,7 +4365,7 @@

    watch individual changes

-

Parameters

+

Parameters

@@ -4004,7 +4439,7 @@

Parameters

-

Responses

+

Responses

@@ -4029,7 +4464,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -4039,7 +4474,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -4049,7 +4484,7 @@

    Produces

-

Tags

+

Tags

  • @@ -4067,7 +4502,7 @@

    watch individual changes to

-

Parameters

+

Parameters

@@ -4141,7 +4576,7 @@

Parameters

-

Responses

+

Responses

@@ -4166,7 +4601,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -4176,7 +4611,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -4186,7 +4621,7 @@

    Produces

-

Tags

+

Tags

  • @@ -4204,7 +4639,7 @@

    watch

-

Parameters

+

Parameters

@@ -4286,7 +4721,7 @@

Parameters

-

Responses

+

Responses

@@ -4311,7 +4746,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -4321,7 +4756,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -4331,7 +4766,7 @@

    Produces

-

Tags

+

Tags

  • @@ -4349,7 +4784,7 @@

    watch chang

-

Parameters

+

Parameters

@@ -4439,7 +4874,7 @@

Parameters

-

Responses

+

Responses

@@ -4464,7 +4899,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -4474,7 +4909,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -4484,7 +4919,7 @@

    Produces

-

Tags

+

Tags

  • @@ -4502,7 +4937,7 @@

    watch individual chang

-

Parameters

+

Parameters

@@ -4584,7 +5019,7 @@

Parameters

-

Responses

+

Responses

@@ -4609,7 +5044,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -4619,7 +5054,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -4629,7 +5064,7 @@

    Produces

-

Tags

+

Tags

  • @@ -4647,7 +5082,7 @@

    watch changes to an object

-

Parameters

+

Parameters

@@ -4737,7 +5172,7 @@

Parameters

-

Responses

+

Responses

@@ -4762,7 +5197,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -4772,7 +5207,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -4782,7 +5217,7 @@

    Produces

-

Tags

+

Tags

  • @@ -4800,7 +5235,7 @@

    watch individual changes t

-

Parameters

+

Parameters

@@ -4882,7 +5317,7 @@

Parameters

-

Responses

+

Responses

@@ -4907,7 +5342,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -4917,7 +5352,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -4927,7 +5362,7 @@

    Produces

-

Tags

+

Tags

  • @@ -4945,7 +5380,7 @@

    watch changes to an object of k

-

Parameters

+

Parameters

@@ -5035,7 +5470,7 @@

Parameters

-

Responses

+

Responses

@@ -5060,7 +5495,7 @@

Responses

-

Consumes

+

Consumes

  • @@ -5070,7 +5505,7 @@

    Consumes

-

Produces

+

Produces

  • @@ -5080,7 +5515,7 @@

    Produces

-

Tags

+

Tags

  • @@ -5095,7 +5530,7 @@

    Tags

diff --git a/docs/api-reference/v1/operations.html b/docs/api-reference/v1/operations.html index a7a66de038fd5..d9f8de1cc8430 100755 --- a/docs/api-reference/v1/operations.html +++ b/docs/api-reference/v1/operations.html @@ -1221,10 +1221,10 @@

Tags

-

create a Namespace

+

delete collection of Namespace

-
POST /api/v1/namespaces
+
DELETE /api/v1/namespaces
@@ -1258,11 +1258,43 @@

Parameters

- - + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1288,7 +1320,7 @@

Responses

- +

BodyParameter

body

QueryParameter

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

false

string

true

v1.Namespace

QueryParameter

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

false

string

QueryParameter

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

false

boolean

QueryParameter

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

false

string

QueryParameter

timeoutSeconds

Timeout for the list/watch call.

false

integer (int32)

200

success

v1.Namespace

unversioned.Status

@@ -1326,10 +1358,10 @@

Tags

-

create a Binding

+

create a Namespace

-
POST /api/v1/namespaces/{namespace}/bindings
+
POST /api/v1/namespaces
@@ -1367,15 +1399,7 @@

Parameters

body

true

-

v1.Binding

- - - -

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

-

true

-

string

+

v1.Namespace

@@ -1401,7 +1425,7 @@

Responses

200

success

-

v1.Binding

+

v1.Namespace

@@ -1439,10 +1463,10 @@

Tags

-

list or watch objects of kind Endpoints

+

create a Binding

-
GET /api/v1/namespaces/{namespace}/endpoints
+
POST /api/v1/namespaces/{namespace}/bindings
@@ -1476,43 +1500,11 @@

Parameters

-

QueryParameter

-

labelSelector

-

A selector to restrict the list of returned objects by their labels. Defaults to everything.

-

false

-

string

- - - -

QueryParameter

-

fieldSelector

-

A selector to restrict the list of returned objects by their fields. Defaults to everything.

-

false

-

string

- - - -

QueryParameter

-

watch

-

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

-

false

-

boolean

- - - -

QueryParameter

-

resourceVersion

-

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

-

false

-

string

+

BodyParameter

+

body

- - -

QueryParameter

-

timeoutSeconds

-

Timeout for the list/watch call.

-

false

-

integer (int32)

+

true

+

v1.Binding

@@ -1546,7 +1538,7 @@

Responses

200

success

-

v1.EndpointsList

+

v1.Binding

@@ -1584,10 +1576,10 @@

Tags

-

create a Endpoints

+

list or watch objects of kind Endpoints

-
POST /api/v1/namespaces/{namespace}/endpoints
+
GET /api/v1/namespaces/{namespace}/endpoints
@@ -1621,11 +1613,43 @@

Parameters

-

BodyParameter

-

body

+

QueryParameter

+

labelSelector

+

A selector to restrict the list of returned objects by their labels. Defaults to everything.

+

false

+

string

-

true

-

v1.Endpoints

+ + +

QueryParameter

+

fieldSelector

+

A selector to restrict the list of returned objects by their fields. Defaults to everything.

+

false

+

string

+ + + +

QueryParameter

+

watch

+

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

+

false

+

boolean

+ + + +

QueryParameter

+

resourceVersion

+

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

+

false

+

string

+ + + +

QueryParameter

+

timeoutSeconds

+

Timeout for the list/watch call.

+

false

+

integer (int32)

@@ -1659,7 +1683,7 @@

Responses

200

success

-

v1.Endpoints

+

v1.EndpointsList

@@ -1697,10 +1721,10 @@

Tags

-

read the specified Endpoints

+

delete collection of Endpoints

-
GET /api/v1/namespaces/{namespace}/endpoints/{name}
+
DELETE /api/v1/namespaces/{namespace}/endpoints
@@ -1734,17 +1758,49 @@

Parameters

-

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

-

true

+

QueryParameter

+

labelSelector

+

A selector to restrict the list of returned objects by their labels. Defaults to everything.

+

false

+

string

+ + + +

QueryParameter

+

fieldSelector

+

A selector to restrict the list of returned objects by their fields. Defaults to everything.

+

false

+

string

+ + + +

QueryParameter

+

watch

+

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

+

false

+

boolean

+ + + +

QueryParameter

+

resourceVersion

+

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

+

false

string

+

QueryParameter

+

timeoutSeconds

+

Timeout for the list/watch call.

+

false

+

integer (int32)

+ + +

PathParameter

-

name

-

name of the Endpoints

+

namespace

+

object name and auth scope, such as for teams and projects

true

string

@@ -1772,7 +1828,7 @@

Responses

200

success

-

v1.Endpoints

+

unversioned.Status

@@ -1810,10 +1866,10 @@

Tags

-

replace the specified Endpoints

+

create a Endpoints

-
PUT /api/v1/namespaces/{namespace}/endpoints/{name}
+
POST /api/v1/namespaces/{namespace}/endpoints
@@ -1862,14 +1918,6 @@

Parameters

string

- -

PathParameter

-

name

-

name of the Endpoints

-

true

-

string

- - @@ -1931,10 +1979,10 @@

Tags

-

delete a Endpoints

+

read the specified Endpoints

-
DELETE /api/v1/namespaces/{namespace}/endpoints/{name}
+
GET /api/v1/namespaces/{namespace}/endpoints/{name}
@@ -1968,14 +2016,6 @@

Parameters

-

BodyParameter

-

body

- -

true

-

v1.DeleteOptions

- - -

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -2014,7 +2054,7 @@

Responses

200

success

-

unversioned.Status

+

v1.Endpoints

@@ -2052,10 +2092,10 @@

Tags

-

partially update the specified Endpoints

+

replace the specified Endpoints

-
PATCH /api/v1/namespaces/{namespace}/endpoints/{name}
+
PUT /api/v1/namespaces/{namespace}/endpoints/{name}
@@ -2093,7 +2133,7 @@

Parameters

body

true

-

unversioned.Patch

+

v1.Endpoints

@@ -2146,13 +2186,7 @@

Consumes

  • -

    application/json-patch+json

    -
  • -
  • -

    application/merge-patch+json

    -
  • -
  • -

    application/strategic-merge-patch+json

    +

    /

@@ -2179,10 +2213,10 @@

Tags

-

list or watch objects of kind Event

+

delete a Endpoints

-
GET /api/v1/namespaces/{namespace}/events
+
DELETE /api/v1/namespaces/{namespace}/endpoints/{name}
@@ -2216,49 +2250,25 @@

Parameters

-

QueryParameter

-

labelSelector

-

A selector to restrict the list of returned objects by their labels. Defaults to everything.

-

false

-

string

+

BodyParameter

+

body

+ +

true

+

v1.DeleteOptions

-

QueryParameter

-

fieldSelector

-

A selector to restrict the list of returned objects by their fields. Defaults to everything.

-

false

-

string

- - - -

QueryParameter

-

watch

-

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

-

false

-

boolean

- - - -

QueryParameter

-

resourceVersion

-

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

-

false

+

PathParameter

+

namespace

+

object name and auth scope, such as for teams and projects

+

true

string

-

QueryParameter

-

timeoutSeconds

-

Timeout for the list/watch call.

-

false

-

integer (int32)

- - -

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

+

name

+

name of the Endpoints

true

string

@@ -2286,7 +2296,7 @@

Responses

200

success

-

v1.EventList

+

unversioned.Status

@@ -2324,10 +2334,10 @@

Tags

-

create a Event

+

partially update the specified Endpoints

-
POST /api/v1/namespaces/{namespace}/events
+
PATCH /api/v1/namespaces/{namespace}/endpoints/{name}
@@ -2365,7 +2375,7 @@

Parameters

body

true

-

v1.Event

+

unversioned.Patch

@@ -2376,6 +2386,14 @@

Parameters

string

+ +

PathParameter

+

name

+

name of the Endpoints

+

true

+

string

+ + @@ -2399,7 +2417,7 @@

Responses

200

success

-

v1.Event

+

v1.Endpoints

@@ -2410,7 +2428,13 @@

Consumes

  • -

    /

    +

    application/json-patch+json

    +
  • +
  • +

    application/merge-patch+json

    +
  • +
  • +

    application/strategic-merge-patch+json

@@ -2437,10 +2461,10 @@

Tags

-

read the specified Event

+

list or watch objects of kind Event

-
GET /api/v1/namespaces/{namespace}/events/{name}
+
GET /api/v1/namespaces/{namespace}/events
@@ -2474,17 +2498,49 @@

Parameters

-

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

-

true

+

QueryParameter

+

labelSelector

+

A selector to restrict the list of returned objects by their labels. Defaults to everything.

+

false

+

string

+ + + +

QueryParameter

+

fieldSelector

+

A selector to restrict the list of returned objects by their fields. Defaults to everything.

+

false

+

string

+ + + +

QueryParameter

+

watch

+

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

+

false

+

boolean

+ + + +

QueryParameter

+

resourceVersion

+

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

+

false

string

+

QueryParameter

+

timeoutSeconds

+

Timeout for the list/watch call.

+

false

+

integer (int32)

+ + +

PathParameter

-

name

-

name of the Event

+

namespace

+

object name and auth scope, such as for teams and projects

true

string

@@ -2512,7 +2568,7 @@

Responses

200

success

-

v1.Event

+

v1.EventList

@@ -2550,10 +2606,10 @@

Tags

-

replace the specified Event

+

delete collection of Event

-
PUT /api/v1/namespaces/{namespace}/events/{name}
+
DELETE /api/v1/namespaces/{namespace}/events
@@ -2587,25 +2643,49 @@

Parameters

-

BodyParameter

-

body

+

QueryParameter

+

labelSelector

+

A selector to restrict the list of returned objects by their labels. Defaults to everything.

+

false

+

string

-

true

-

v1.Event

+ + +

QueryParameter

+

fieldSelector

+

A selector to restrict the list of returned objects by their fields. Defaults to everything.

+

false

+

string

-

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

-

true

+

QueryParameter

+

watch

+

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

+

false

+

boolean

+ + + +

QueryParameter

+

resourceVersion

+

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

+

false

string

+

QueryParameter

+

timeoutSeconds

+

Timeout for the list/watch call.

+

false

+

integer (int32)

+ + +

PathParameter

-

name

-

name of the Event

+

namespace

+

object name and auth scope, such as for teams and projects

true

string

@@ -2633,7 +2713,7 @@

Responses

200

success

-

v1.Event

+

unversioned.Status

@@ -2671,10 +2751,10 @@

Tags

-

delete a Event

+

create a Event

-
DELETE /api/v1/namespaces/{namespace}/events/{name}
+
POST /api/v1/namespaces/{namespace}/events
@@ -2712,7 +2792,7 @@

Parameters

body

true

-

v1.DeleteOptions

+

v1.Event

@@ -2723,14 +2803,6 @@

Parameters

string

- -

PathParameter

-

name

-

name of the Event

-

true

-

string

- - @@ -2754,7 +2826,7 @@

Responses

200

success

-

unversioned.Status

+

v1.Event

@@ -2792,10 +2864,10 @@

Tags

-

partially update the specified Event

+

read the specified Event

-
PATCH /api/v1/namespaces/{namespace}/events/{name}
+
GET /api/v1/namespaces/{namespace}/events/{name}
@@ -2829,14 +2901,6 @@

Parameters

-

BodyParameter

-

body

- -

true

-

unversioned.Patch

- - -

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -2886,13 +2950,7 @@

Consumes

  • -

    application/json-patch+json

    -
  • -
  • -

    application/merge-patch+json

    -
  • -
  • -

    application/strategic-merge-patch+json

    +

    /

@@ -2919,10 +2977,10 @@

Tags

-

list or watch objects of kind LimitRange

+

replace the specified Event

-
GET /api/v1/namespaces/{namespace}/limitranges
+
PUT /api/v1/namespaces/{namespace}/events/{name}
@@ -2956,49 +3014,25 @@

Parameters

-

QueryParameter

-

labelSelector

-

A selector to restrict the list of returned objects by their labels. Defaults to everything.

-

false

-

string

- - - -

QueryParameter

-

fieldSelector

-

A selector to restrict the list of returned objects by their fields. Defaults to everything.

-

false

-

string

+

BodyParameter

+

body

- - -

QueryParameter

-

watch

-

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

-

false

-

boolean

+

true

+

v1.Event

-

QueryParameter

-

resourceVersion

-

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

-

false

+

PathParameter

+

namespace

+

object name and auth scope, such as for teams and projects

+

true

string

-

QueryParameter

-

timeoutSeconds

-

Timeout for the list/watch call.

-

false

-

integer (int32)

- - -

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

+

name

+

name of the Event

true

string

@@ -3026,7 +3060,7 @@

Responses

200

success

-

v1.LimitRangeList

+

v1.Event

@@ -3064,10 +3098,10 @@

Tags

-

create a LimitRange

+

delete a Event

-
POST /api/v1/namespaces/{namespace}/limitranges
+
DELETE /api/v1/namespaces/{namespace}/events/{name}
@@ -3105,7 +3139,7 @@

Parameters

body

true

-

v1.LimitRange

+

v1.DeleteOptions

@@ -3116,12 +3150,20 @@

Parameters

string

- - - -
-
-

Responses

+ +

PathParameter

+

name

+

name of the Event

+

true

+

string

+ + + + + +
+
+

Responses

@@ -3139,7 +3181,7 @@

Responses

- +

200

success

v1.LimitRange

unversioned.Status

@@ -3177,10 +3219,10 @@

Tags

-

read the specified LimitRange

+

partially update the specified Event

-
GET /api/v1/namespaces/{namespace}/limitranges/{name}
+
PATCH /api/v1/namespaces/{namespace}/events/{name}
@@ -3214,6 +3256,14 @@

Parameters

+

BodyParameter

+

body

+ +

true

+

unversioned.Patch

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -3224,7 +3274,7 @@

Parameters

PathParameter

name

-

name of the LimitRange

+

name of the Event

true

string

@@ -3252,7 +3302,7 @@

Responses

200

success

-

v1.LimitRange

+

v1.Event

@@ -3263,7 +3313,13 @@

Consumes

  • -

    /

    +

    application/json-patch+json

    +
  • +
  • +

    application/merge-patch+json

    +
  • +
  • +

    application/strategic-merge-patch+json

@@ -3290,10 +3346,10 @@

Tags

-

replace the specified LimitRange

+

list or watch objects of kind LimitRange

-
PUT /api/v1/namespaces/{namespace}/limitranges/{name}
+
GET /api/v1/namespaces/{namespace}/limitranges
@@ -3327,25 +3383,49 @@

Parameters

-

BodyParameter

-

body

+

QueryParameter

+

labelSelector

+

A selector to restrict the list of returned objects by their labels. Defaults to everything.

+

false

+

string

-

true

-

v1.LimitRange

+ + +

QueryParameter

+

fieldSelector

+

A selector to restrict the list of returned objects by their fields. Defaults to everything.

+

false

+

string

-

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

-

true

+

QueryParameter

+

watch

+

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

+

false

+

boolean

+ + + +

QueryParameter

+

resourceVersion

+

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

+

false

string

+

QueryParameter

+

timeoutSeconds

+

Timeout for the list/watch call.

+

false

+

integer (int32)

+ + +

PathParameter

-

name

-

name of the LimitRange

+

namespace

+

object name and auth scope, such as for teams and projects

true

string

@@ -3373,7 +3453,7 @@

Responses

200

success

-

v1.LimitRange

+

v1.LimitRangeList

@@ -3411,10 +3491,10 @@

Tags

-

delete a LimitRange

+

delete collection of LimitRange

-
DELETE /api/v1/namespaces/{namespace}/limitranges/{name}
+
DELETE /api/v1/namespaces/{namespace}/limitranges
@@ -3448,25 +3528,49 @@

Parameters

-

BodyParameter

-

body

+

QueryParameter

+

labelSelector

+

A selector to restrict the list of returned objects by their labels. Defaults to everything.

+

false

+

string

-

true

-

v1.DeleteOptions

+ + +

QueryParameter

+

fieldSelector

+

A selector to restrict the list of returned objects by their fields. Defaults to everything.

+

false

+

string

-

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

-

true

+

QueryParameter

+

watch

+

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

+

false

+

boolean

+ + + +

QueryParameter

+

resourceVersion

+

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

+

false

string

+

QueryParameter

+

timeoutSeconds

+

Timeout for the list/watch call.

+

false

+

integer (int32)

+ + +

PathParameter

-

name

-

name of the LimitRange

+

namespace

+

object name and auth scope, such as for teams and projects

true

string

@@ -3532,10 +3636,10 @@

Tags

-

partially update the specified LimitRange

+

create a LimitRange

-
PATCH /api/v1/namespaces/{namespace}/limitranges/{name}
+
POST /api/v1/namespaces/{namespace}/limitranges
@@ -3573,7 +3677,7 @@

Parameters

body

true

-

unversioned.Patch

+

v1.LimitRange

@@ -3584,14 +3688,6 @@

Parameters

string

- -

PathParameter

-

name

-

name of the LimitRange

-

true

-

string

- - @@ -3626,13 +3722,7 @@

Consumes

  • -

    application/json-patch+json

    -
  • -
  • -

    application/merge-patch+json

    -
  • -
  • -

    application/strategic-merge-patch+json

    +

    /

@@ -3659,10 +3749,10 @@

Tags

-

list or watch objects of kind PersistentVolumeClaim

+

read the specified LimitRange

-
GET /api/v1/namespaces/{namespace}/persistentvolumeclaims
+
GET /api/v1/namespaces/{namespace}/limitranges/{name}
@@ -3696,49 +3786,17 @@

Parameters

-

QueryParameter

-

labelSelector

-

A selector to restrict the list of returned objects by their labels. Defaults to everything.

-

false

-

string

- - - -

QueryParameter

-

fieldSelector

-

A selector to restrict the list of returned objects by their fields. Defaults to everything.

-

false

-

string

- - - -

QueryParameter

-

watch

-

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

-

false

-

boolean

- - - -

QueryParameter

-

resourceVersion

-

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

-

false

+

PathParameter

+

namespace

+

object name and auth scope, such as for teams and projects

+

true

string

-

QueryParameter

-

timeoutSeconds

-

Timeout for the list/watch call.

-

false

-

integer (int32)

- - -

PathParameter

-

namespace

-

object name and auth scope, such as for teams and projects

+

name

+

name of the LimitRange

true

string

@@ -3766,7 +3824,7 @@

Responses

200

success

-

v1.PersistentVolumeClaimList

+

v1.LimitRange

@@ -3804,10 +3862,10 @@

Tags

-

create a PersistentVolumeClaim

+

replace the specified LimitRange

-
POST /api/v1/namespaces/{namespace}/persistentvolumeclaims
+
PUT /api/v1/namespaces/{namespace}/limitranges/{name}
@@ -3845,7 +3903,7 @@

Parameters

body

true

-

v1.PersistentVolumeClaim

+

v1.LimitRange

@@ -3856,6 +3914,14 @@

Parameters

string

+ +

PathParameter

+

name

+

name of the LimitRange

+

true

+

string

+ + @@ -3879,7 +3945,7 @@

Responses

200

success

-

v1.PersistentVolumeClaim

+

v1.LimitRange

@@ -3917,10 +3983,10 @@

Tags

-

read the specified PersistentVolumeClaim

+

delete a LimitRange

-
GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
+
DELETE /api/v1/namespaces/{namespace}/limitranges/{name}
@@ -3954,6 +4020,14 @@

Parameters

+

BodyParameter

+

body

+ +

true

+

v1.DeleteOptions

+ + +

PathParameter

namespace

object name and auth scope, such as for teams and projects

@@ -3964,7 +4038,7 @@

Parameters

PathParameter

name

-

name of the PersistentVolumeClaim

+

name of the LimitRange

true

string

@@ -3992,7 +4066,7 @@

Responses

200

success

-

v1.PersistentVolumeClaim

+

unversioned.Status

@@ -4030,10 +4104,10 @@

Tags

-

replace the specified PersistentVolumeClaim

+

partially update the specified LimitRange

-
PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
+
PATCH /api/v1/namespaces/{namespace}/limitranges/{name}
@@ -4071,7 +4145,7 @@

Parameters

body

true

-

v1.PersistentVolumeClaim

+

unversioned.Patch

@@ -4085,7 +4159,7 @@

Parameters

PathParameter

name

-

name of the PersistentVolumeClaim

+

name of the LimitRange

true

string

@@ -4113,7 +4187,7 @@

Responses

200

success

-

v1.PersistentVolumeClaim

+

v1.LimitRange

@@ -4124,12 +4198,18 @@

Consumes

  • -

    /

    +

    application/json-patch+json

  • -
-
-
-
+
  • +

    application/merge-patch+json

    +
  • +
  • +

    application/strategic-merge-patch+json

    +
  • + +
    +
    +

    Produces

      @@ -4151,10 +4231,10 @@

      Tags

    -

    delete a PersistentVolumeClaim

    +

    list or watch objects of kind PersistentVolumeClaim

    -
    DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    +
    GET /api/v1/namespaces/{namespace}/persistentvolumeclaims
    @@ -4188,25 +4268,49 @@

    Parameters

    -

    BodyParameter

    -

    body

    +

    QueryParameter

    +

    labelSelector

    +

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    +

    false

    +

    string

    -

    true

    -

    v1.DeleteOptions

    + + +

    QueryParameter

    +

    fieldSelector

    +

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    +

    false

    +

    string

    -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    watch

    +

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    +

    false

    +

    boolean

    + + + +

    QueryParameter

    +

    resourceVersion

    +

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    +

    false

    string

    +

    QueryParameter

    +

    timeoutSeconds

    +

    Timeout for the list/watch call.

    +

    false

    +

    integer (int32)

    + + +

    PathParameter

    -

    name

    -

    name of the PersistentVolumeClaim

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    true

    string

    @@ -4234,7 +4338,7 @@

    Responses

    200

    success

    -

    unversioned.Status

    +

    v1.PersistentVolumeClaimList

    @@ -4272,10 +4376,10 @@

    Tags

    -

    partially update the specified PersistentVolumeClaim

    +

    delete collection of PersistentVolumeClaim

    -
    PATCH /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    +
    DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims
    @@ -4309,25 +4413,49 @@

    Parameters

    -

    BodyParameter

    -

    body

    +

    QueryParameter

    +

    labelSelector

    +

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    +

    false

    +

    string

    -

    true

    -

    unversioned.Patch

    + + +

    QueryParameter

    +

    fieldSelector

    +

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    +

    false

    +

    string

    -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    watch

    +

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    +

    false

    +

    boolean

    + + + +

    QueryParameter

    +

    resourceVersion

    +

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    +

    false

    string

    +

    QueryParameter

    +

    timeoutSeconds

    +

    Timeout for the list/watch call.

    +

    false

    +

    integer (int32)

    + + +

    PathParameter

    -

    name

    -

    name of the PersistentVolumeClaim

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    true

    string

    @@ -4355,7 +4483,7 @@

    Responses

    200

    success

    -

    v1.PersistentVolumeClaim

    +

    unversioned.Status

    @@ -4366,13 +4494,7 @@

    Consumes

    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      +

      /

    @@ -4399,10 +4521,10 @@

    Tags

    -

    replace status of the specified PersistentVolumeClaim

    +

    create a PersistentVolumeClaim

    -
    PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status
    +
    POST /api/v1/namespaces/{namespace}/persistentvolumeclaims
    @@ -4451,14 +4573,6 @@

    Parameters

    string

    - -

    PathParameter

    -

    name

    -

    name of the PersistentVolumeClaim

    -

    true

    -

    string

    - - @@ -4520,10 +4634,10 @@

    Tags

    -

    list or watch objects of kind Pod

    +

    read the specified PersistentVolumeClaim

    -
    GET /api/v1/namespaces/{namespace}/pods
    +
    GET /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    @@ -4557,49 +4671,17 @@

    Parameters

    -

    QueryParameter

    -

    labelSelector

    -

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    -

    false

    -

    string

    - - - -

    QueryParameter

    -

    fieldSelector

    -

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    -

    false

    -

    string

    - - - -

    QueryParameter

    -

    watch

    -

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    -

    false

    -

    boolean

    - - - -

    QueryParameter

    -

    resourceVersion

    -

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    -

    false

    +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    string

    -

    QueryParameter

    -

    timeoutSeconds

    -

    Timeout for the list/watch call.

    -

    false

    -

    integer (int32)

    - - -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    +

    name

    +

    name of the PersistentVolumeClaim

    true

    string

    @@ -4627,7 +4709,7 @@

    Responses

    200

    success

    -

    v1.PodList

    +

    v1.PersistentVolumeClaim

    @@ -4665,10 +4747,10 @@

    Tags

    -

    create a Pod

    +

    replace the specified PersistentVolumeClaim

    -
    POST /api/v1/namespaces/{namespace}/pods
    +
    PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    @@ -4706,7 +4788,7 @@

    Parameters

    body

    true

    -

    v1.Pod

    +

    v1.PersistentVolumeClaim

    @@ -4717,6 +4799,14 @@

    Parameters

    string

    + +

    PathParameter

    +

    name

    +

    name of the PersistentVolumeClaim

    +

    true

    +

    string

    + + @@ -4740,7 +4830,7 @@

    Responses

    200

    success

    -

    v1.Pod

    +

    v1.PersistentVolumeClaim

    @@ -4778,10 +4868,10 @@

    Tags

    -

    read the specified Pod

    +

    delete a PersistentVolumeClaim

    -
    GET /api/v1/namespaces/{namespace}/pods/{name}
    +
    DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    @@ -4815,6 +4905,14 @@

    Parameters

    +

    BodyParameter

    +

    body

    + +

    true

    +

    v1.DeleteOptions

    + + +

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    @@ -4825,7 +4923,7 @@

    Parameters

    PathParameter

    name

    -

    name of the Pod

    +

    name of the PersistentVolumeClaim

    true

    string

    @@ -4853,7 +4951,7 @@

    Responses

    200

    success

    -

    v1.Pod

    +

    unversioned.Status

    @@ -4891,10 +4989,10 @@

    Tags

    -

    replace the specified Pod

    +

    partially update the specified PersistentVolumeClaim

    -
    PUT /api/v1/namespaces/{namespace}/pods/{name}
    +
    PATCH /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
    @@ -4932,7 +5030,7 @@

    Parameters

    body

    true

    -

    v1.Pod

    +

    unversioned.Patch

    @@ -4946,7 +5044,7 @@

    Parameters

    PathParameter

    name

    -

    name of the Pod

    +

    name of the PersistentVolumeClaim

    true

    string

    @@ -4974,7 +5072,7 @@

    Responses

    200

    success

    -

    v1.Pod

    +

    v1.PersistentVolumeClaim

    @@ -4985,7 +5083,13 @@

    Consumes

    • -

      /

      +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

    @@ -5012,10 +5116,10 @@

    Tags

    -

    delete a Pod

    +

    replace status of the specified PersistentVolumeClaim

    -
    DELETE /api/v1/namespaces/{namespace}/pods/{name}
    +
    PUT /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status
    @@ -5053,7 +5157,7 @@

    Parameters

    body

    true

    -

    v1.DeleteOptions

    +

    v1.PersistentVolumeClaim

    @@ -5067,7 +5171,7 @@

    Parameters

    PathParameter

    name

    -

    name of the Pod

    +

    name of the PersistentVolumeClaim

    true

    string

    @@ -5095,7 +5199,7 @@

    Responses

    200

    success

    -

    unversioned.Status

    +

    v1.PersistentVolumeClaim

    @@ -5133,10 +5237,10 @@

    Tags

    -

    partially update the specified Pod

    +

    list or watch objects of kind Pod

    -
    PATCH /api/v1/namespaces/{namespace}/pods/{name}
    +
    GET /api/v1/namespaces/{namespace}/pods
    @@ -5170,18 +5274,534 @@

    Parameters

    -

    BodyParameter

    -

    body

    - -

    true

    -

    unversioned.Patch

    +

    QueryParameter

    +

    labelSelector

    +

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    +

    false

    +

    string

    -

    PathParameter

    -

    namespace

    -

    object name and auth scope, such as for teams and projects

    -

    true

    +

    QueryParameter

    +

    fieldSelector

    +

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    +

    false

    +

    string

    + + + +

    QueryParameter

    +

    watch

    +

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    +

    false

    +

    boolean

    + + + +

    QueryParameter

    +

    resourceVersion

    +

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    +

    false

    +

    string

    + + + +

    QueryParameter

    +

    timeoutSeconds

    +

    Timeout for the list/watch call.

    +

    false

    +

    integer (int32)

    + + + +

    PathParameter

    +

    namespace

    +

    object name and auth scope, such as for teams and projects

    +

    true

    +

    string

    + + + + + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.PodList

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    delete collection of Pod

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/pods
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    create a Pod

    +
    +
    +
    POST /api/v1/namespaces/{namespace}/pods
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Pod

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Pod

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    read the specified Pod

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/pods/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Pod

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    replace the specified Pod

    +
    +
    +
    PUT /api/v1/namespaces/{namespace}/pods/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5198,7 +5818,7 @@

    Parameters

    -

    Responses

    +

    Responses

    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Pod

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    @@ -5223,7 +5843,249 @@

    Responses

    -

    Consumes

    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    + +
    +

    delete a Pod

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/pods/{name}
    +
    +
    +
    +

    Parameters

    +
    ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.DeleteOptions

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    partially update the specified Pod

    +
    +
    +
    PATCH /api/v1/namespaces/{namespace}/pods/{name}
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Pod

    + +
    +
    +

    Consumes

    • @@ -5239,7 +6101,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -5249,7 +6111,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -5267,7 +6129,7 @@

      connect GET requests to attach o

    -

    Parameters

    +

    Parameters

    @@ -5349,7 +6211,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -5374,7 +6236,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -5384,7 +6246,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -5394,7 +6256,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -5412,7 +6274,7 @@

      connect POST requests to attach

    -

    Parameters

    +

    Parameters

    @@ -5494,7 +6356,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -5519,7 +6381,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -5529,7 +6391,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -5539,7 +6401,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -5557,7 +6419,7 @@

      create binding of a Binding

    -

    Parameters

    +

    Parameters

    @@ -5615,7 +6477,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -5640,7 +6502,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -5650,7 +6512,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -5660,7 +6522,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -5678,7 +6540,7 @@

      connect GET requests to exec of Po

    -

    Parameters

    +

    Parameters

    @@ -5768,7 +6630,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -5793,7 +6655,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -5803,7 +6665,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -5813,7 +6675,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -5831,7 +6693,7 @@

      connect POST requests to exec of

    -

    Parameters

    +

    Parameters

    @@ -5921,7 +6783,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -5946,7 +6808,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -5956,7 +6818,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -5966,7 +6828,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -5984,7 +6846,7 @@

      read log of the specified Pod

    -

    Parameters

    +

    Parameters

    @@ -6070,13 +6932,223 @@

    Parameters

    - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + +

    QueryParameter

    limitBytes

    If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.

    false

    integer (int32)

    QueryParameter

    limitBytes

    If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.

    false

    integer (int32)

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Pod

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    connect GET requests to portforward of Pod

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/pods/{name}/portforward
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the Pod

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    default

    success

    string

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    connect POST requests to portforward of Pod

    +
    +
    +
    POST /api/v1/namespaces/{namespace}/pods/{name}/portforward
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + @@ -6098,7 +7170,7 @@

    Parameters

    -

    Responses

    +

    Responses

    TypeNameDescriptionRequiredSchemaDefault

    PathParameter

    namespace

    @@ -6114,16 +7186,16 @@

    Responses

    - + - +

    200

    default

    success

    v1.Pod

    string

    -

    Consumes

    +

    Consumes

    • @@ -6133,17 +7205,17 @@

      Consumes

    -

    Produces

    +

    Produces

    • -

      application/json

      +

      /

    -

    Tags

    +

    Tags

    • @@ -6154,14 +7226,14 @@

      Tags

    -

    connect GET requests to portforward of Pod

    +

    connect GET requests to proxy of Pod

    -
    GET /api/v1/namespaces/{namespace}/pods/{name}/portforward
    +
    GET /api/v1/namespaces/{namespace}/pods/{name}/proxy
    -

    Parameters

    +

    Parameters

    @@ -6183,6 +7255,14 @@

    Parameters

    + + + + + + + + @@ -6203,7 +7283,7 @@

    Parameters

    -

    Responses

    +

    Responses

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    @@ -6228,7 +7308,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -6238,7 +7318,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -6248,7 +7328,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -6259,14 +7339,14 @@

      Tags

    -

    connect POST requests to portforward of Pod

    +

    connect PUT requests to proxy of Pod

    -
    POST /api/v1/namespaces/{namespace}/pods/{name}/portforward
    +
    PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy
    -

    Parameters

    +

    Parameters

    @@ -6288,6 +7368,14 @@

    Parameters

    + + + + + + + + @@ -6308,7 +7396,7 @@

    Parameters

    -

    Responses

    +

    Responses

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    @@ -6333,7 +7421,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -6343,7 +7431,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -6353,7 +7441,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -6364,14 +7452,14 @@

      Tags

    -

    connect GET requests to proxy of Pod

    +

    connect DELETE requests to proxy of Pod

    -
    GET /api/v1/namespaces/{namespace}/pods/{name}/proxy
    +
    DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy
    -

    Parameters

    +

    Parameters

    @@ -6421,7 +7509,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -6446,7 +7534,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -6456,7 +7544,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -6466,7 +7554,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -6477,14 +7565,14 @@

      Tags

    -

    connect PUT requests to proxy of Pod

    +

    connect POST requests to proxy of Pod

    -
    PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy
    +
    POST /api/v1/namespaces/{namespace}/pods/{name}/proxy
    -

    Parameters

    +

    Parameters

    @@ -6534,7 +7622,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -6559,7 +7647,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -6569,7 +7657,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -6579,7 +7667,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -6590,14 +7678,14 @@

      Tags

    -

    connect DELETE requests to proxy of Pod

    +

    connect GET requests to proxy of Pod

    -
    DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy
    +
    GET /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    -

    Parameters

    +

    Parameters

    @@ -6642,12 +7730,20 @@

    Parameters

    + + + + + + + +

    string

    PathParameter

    path

    path to the resource

    true

    string

    -

    Responses

    +

    Responses

    @@ -6672,7 +7768,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -6682,7 +7778,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -6692,7 +7788,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -6703,14 +7799,14 @@

      Tags

    -

    connect POST requests to proxy of Pod

    +

    connect PUT requests to proxy of Pod

    -
    POST /api/v1/namespaces/{namespace}/pods/{name}/proxy
    +
    PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    -

    Parameters

    +

    Parameters

    @@ -6755,12 +7851,20 @@

    Parameters

    + + + + + + + +

    string

    PathParameter

    path

    path to the resource

    true

    string

    -

    Responses

    +

    Responses

    @@ -6785,7 +7889,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -6795,7 +7899,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -6805,7 +7909,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -6816,14 +7920,14 @@

      Tags

    -

    connect GET requests to proxy of Pod

    +

    connect DELETE requests to proxy of Pod

    -
    GET /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    +
    DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    -

    Parameters

    +

    Parameters

    @@ -6881,7 +7985,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -6906,7 +8010,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -6916,7 +8020,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -6926,7 +8030,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -6937,14 +8041,14 @@

      Tags

    -

    connect PUT requests to proxy of Pod

    +

    connect POST requests to proxy of Pod

    -
    PUT /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    +
    POST /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    -

    Parameters

    +

    Parameters

    @@ -7002,7 +8106,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -7027,7 +8131,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -7037,7 +8141,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -7047,7 +8151,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -7058,14 +8162,14 @@

      Tags

    -

    connect DELETE requests to proxy of Pod

    +

    replace status of the specified Pod

    -
    DELETE /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    +
    PUT /api/v1/namespaces/{namespace}/pods/{name}/status
    -

    Parameters

    +

    Parameters

    @@ -7088,32 +8192,32 @@

    Parameters

    - - + + - - - + + + - + - - + + - - + + @@ -7123,7 +8227,7 @@

    Parameters

    -

    Responses

    +

    Responses

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    pretty

    If true, then the output is pretty printed.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    BodyParameter

    body

    true

    string

    v1.Pod

    PathParameter

    name

    name of the Pod

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    path

    path to the resource

    name

    name of the Pod

    true

    string

    @@ -7139,16 +8243,16 @@

    Responses

    - + - +

    default

    200

    success

    string

    v1.Pod

    -

    Consumes

    +

    Consumes

    • @@ -7158,17 +8262,17 @@

      Consumes

    -

    Produces

    +

    Produces

    • -

      /

      +

      application/json

    -

    Tags

    +

    Tags

    • @@ -7179,14 +8283,14 @@

      Tags

    -

    connect POST requests to proxy of Pod

    +

    list or watch objects of kind PodTemplate

    -
    POST /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}
    +
    GET /api/v1/namespaces/{namespace}/podtemplates
    -

    Parameters

    +

    Parameters

    @@ -7209,32 +8313,56 @@

    Parameters

    - - + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - + + @@ -7244,7 +8372,7 @@

    Parameters

    -

    Responses

    +

    Responses

    QueryParameter

    path

    Path is the URL path to use for the current proxy request to pod.

    pretty

    If true, then the output is pretty printed.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    PathParameter

    name

    name of the Pod

    true

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    PathParameter

    path

    path to the resource

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    @@ -7260,16 +8388,16 @@

    Responses

    - + - +

    default

    200

    success

    string

    v1.PodTemplateList

    -

    Consumes

    +

    Consumes

    • @@ -7279,17 +8407,17 @@

      Consumes

    -

    Produces

    +

    Produces

    • -

      /

      +

      application/json

    -

    Tags

    +

    Tags

    • @@ -7300,14 +8428,14 @@

      Tags

    -

    replace status of the specified Pod

    +

    delete collection of PodTemplate

    -
    PUT /api/v1/namespaces/{namespace}/pods/{name}/status
    +
    DELETE /api/v1/namespaces/{namespace}/podtemplates
    -

    Parameters

    +

    Parameters

    @@ -7337,25 +8465,49 @@

    Parameters

    - - + + + + + - - + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + - - + + @@ -7365,7 +8517,7 @@

    Parameters

    -

    Responses

    +

    Responses

    BodyParameter

    body

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    true

    v1.Pod

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    PathParameter

    name

    name of the Pod

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    @@ -7383,14 +8535,14 @@

    Responses

    - +

    200

    success

    v1.Pod

    unversioned.Status

    -

    Consumes

    +

    Consumes

    • @@ -7400,7 +8552,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -7410,7 +8562,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -7421,14 +8573,14 @@

      Tags

    -

    list or watch objects of kind PodTemplate

    +

    create a PodTemplate

    -
    GET /api/v1/namespaces/{namespace}/podtemplates
    +
    POST /api/v1/namespaces/{namespace}/podtemplates
    -

    Parameters

    +

    Parameters

    @@ -7458,43 +8610,11 @@

    Parameters

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - + + @@ -7510,7 +8630,7 @@

    Parameters

    -

    Responses

    +

    Responses

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    BodyParameter

    body

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    true

    v1.PodTemplate

    @@ -7528,14 +8648,14 @@

    Responses

    - +

    200

    success

    v1.PodTemplateList

    v1.PodTemplate

    -

    Consumes

    +

    Consumes

    • @@ -7545,7 +8665,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -7555,7 +8675,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -7566,14 +8686,14 @@

      Tags

    -

    create a PodTemplate

    +

    read the specified PodTemplate

    -
    POST /api/v1/namespaces/{namespace}/podtemplates
    +
    GET /api/v1/namespaces/{namespace}/podtemplates/{name}
    -

    Parameters

    +

    Parameters

    @@ -7603,17 +8723,17 @@

    Parameters

    - - - + + + - + - - + + @@ -7623,7 +8743,7 @@

    Parameters

    -

    Responses

    +

    Responses

    BodyParameter

    body

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    v1.PodTemplate

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    name

    name of the PodTemplate

    true

    string

    @@ -7648,7 +8768,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -7658,7 +8778,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -7668,7 +8788,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -7679,14 +8799,14 @@

      Tags

    -

    read the specified PodTemplate

    +

    replace the specified PodTemplate

    -
    GET /api/v1/namespaces/{namespace}/podtemplates/{name}
    +
    PUT /api/v1/namespaces/{namespace}/podtemplates/{name}
    -

    Parameters

    +

    Parameters

    @@ -7716,6 +8836,14 @@

    Parameters

    + + + + + + + + @@ -7736,7 +8864,7 @@

    Parameters

    -

    Responses

    +

    Responses

    BodyParameter

    body

    true

    v1.PodTemplate

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    @@ -7761,7 +8889,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -7771,7 +8899,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -7781,7 +8909,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -7792,14 +8920,14 @@

      Tags

    -

    replace the specified PodTemplate

    +

    delete a PodTemplate

    -
    PUT /api/v1/namespaces/{namespace}/podtemplates/{name}
    +
    DELETE /api/v1/namespaces/{namespace}/podtemplates/{name}
    -

    Parameters

    +

    Parameters

    @@ -7833,7 +8961,7 @@

    Parameters

    - + @@ -7857,7 +8985,7 @@

    Parameters

    -

    Responses

    +

    Responses

    body

    true

    v1.PodTemplate

    v1.DeleteOptions

    @@ -7875,14 +9003,14 @@

    Responses

    - +

    200

    success

    v1.PodTemplate

    unversioned.Status

    -

    Consumes

    +

    Consumes

    • @@ -7892,7 +9020,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -7902,7 +9030,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -7913,14 +9041,14 @@

      Tags

    -

    delete a PodTemplate

    +

    partially update the specified PodTemplate

    -
    DELETE /api/v1/namespaces/{namespace}/podtemplates/{name}
    +
    PATCH /api/v1/namespaces/{namespace}/podtemplates/{name}
    -

    Parameters

    +

    Parameters

    @@ -7954,7 +9082,7 @@

    Parameters

    - + @@ -7978,7 +9106,7 @@

    Parameters

    -

    Responses

    +

    Responses

    body

    true

    v1.DeleteOptions

    unversioned.Patch

    @@ -7996,24 +9124,30 @@

    Responses

    - +

    200

    success

    unversioned.Status

    v1.PodTemplate

    -

    Consumes

    +

    Consumes

    • -

      /

      +

      application/json-patch+json

      +
    • +
    • +

      application/merge-patch+json

      +
    • +
    • +

      application/strategic-merge-patch+json

    -

    Produces

    +

    Produces

    • @@ -8023,7 +9157,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -8034,14 +9168,14 @@

      Tags

    -

    partially update the specified PodTemplate

    +

    list or watch objects of kind ReplicationController

    -
    PATCH /api/v1/namespaces/{namespace}/podtemplates/{name}
    +
    GET /api/v1/namespaces/{namespace}/replicationcontrollers
    -

    Parameters

    +

    Parameters

    @@ -8064,32 +9198,56 @@

    Parameters

    - - + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - + + + + + + + + + + + + - - + + @@ -8099,7 +9257,7 @@

    Parameters

    -

    Responses

    +

    Responses

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    BodyParameter

    body

    true

    unversioned.Patch

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    PathParameter

    name

    name of the PodTemplate

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    @@ -8117,30 +9275,24 @@

    Responses

    - +

    200

    success

    v1.PodTemplate

    v1.ReplicationControllerList

    -

    Consumes

    +

    Consumes

    • -

      application/json-patch+json

      -
    • -
    • -

      application/merge-patch+json

      -
    • -
    • -

      application/strategic-merge-patch+json

      +

      /

    -

    Produces

    +

    Produces

    • @@ -8150,7 +9302,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -8161,14 +9313,14 @@

      Tags

    -

    list or watch objects of kind ReplicationController

    +

    delete collection of ReplicationController

    -
    GET /api/v1/namespaces/{namespace}/replicationcontrollers
    +
    DELETE /api/v1/namespaces/{namespace}/replicationcontrollers
    -

    Parameters

    +

    Parameters

    @@ -8250,7 +9402,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -8268,14 +9420,14 @@

    Responses

    - +

    200

    success

    v1.ReplicationControllerList

    unversioned.Status

    -

    Consumes

    +

    Consumes

    • @@ -8285,7 +9437,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -8295,7 +9447,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -8313,7 +9465,7 @@

      create a ReplicationController

    -

    Parameters

    +

    Parameters

    @@ -8363,7 +9515,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -8388,7 +9540,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -8398,7 +9550,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -8408,7 +9560,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -8426,7 +9578,7 @@

      read the specified Replicatio

    -

    Parameters

    +

    Parameters

    @@ -8476,7 +9628,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -8501,7 +9653,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -8511,7 +9663,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -8521,7 +9673,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -8539,7 +9691,7 @@

      replace the specified Repl

    -

    Parameters

    +

    Parameters

    @@ -8597,7 +9749,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -8622,7 +9774,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -8632,7 +9784,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -8642,7 +9794,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -8660,7 +9812,7 @@

      delete a ReplicationController

    -

    Parameters

    +

    Parameters

    @@ -8718,7 +9870,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -8743,7 +9895,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -8753,7 +9905,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -8763,7 +9915,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -8781,7 +9933,7 @@

      partially update

    -

    Parameters

    +

    Parameters

    @@ -8839,7 +9991,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -8864,7 +10016,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -8880,7 +10032,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -8890,7 +10042,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -8908,7 +10060,128 @@

      replace status o

    -

    Parameters

    +

    Parameters

    +
    ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.ReplicationController

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ReplicationController

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.ReplicationController

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    list or watch objects of kind ResourceQuota

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/resourcequotas
    +
    +
    +
    +

    Parameters

    @@ -8927,36 +10200,60 @@

    Parameters

    - - + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - + + + + + + + + + + + + - - + + @@ -8966,7 +10263,7 @@

    Parameters

    -

    Responses

    +

    Responses

    Schema Default

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    BodyParameter

    body

    true

    v1.ReplicationController

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    PathParameter

    name

    name of the ReplicationController

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    @@ -8984,14 +10281,14 @@

    Responses

    - +

    200

    success

    v1.ReplicationController

    v1.ResourceQuotaList

    -

    Consumes

    +

    Consumes

    • @@ -9001,7 +10298,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -9011,7 +10308,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -9022,14 +10319,14 @@

      Tags

    -

    list or watch objects of kind ResourceQuota

    +

    delete collection of ResourceQuota

    -
    GET /api/v1/namespaces/{namespace}/resourcequotas
    +
    DELETE /api/v1/namespaces/{namespace}/resourcequotas
    -

    Parameters

    +

    Parameters

    @@ -9111,7 +10408,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -9129,14 +10426,14 @@

    Responses

    - +

    200

    success

    v1.ResourceQuotaList

    unversioned.Status

    -

    Consumes

    +

    Consumes

    • @@ -9146,7 +10443,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -9156,7 +10453,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -9174,7 +10471,7 @@

      create a ResourceQuota

    -

    Parameters

    +

    Parameters

    @@ -9224,7 +10521,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -9249,7 +10546,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -9259,7 +10556,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -9269,7 +10566,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -9287,7 +10584,7 @@

      read the specified ResourceQuota

    -

    Parameters

    +

    Parameters

    @@ -9337,7 +10634,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -9362,7 +10659,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -9372,7 +10669,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -9382,7 +10679,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -9400,7 +10697,7 @@

      replace the specified ResourceQuot

    -

    Parameters

    +

    Parameters

    @@ -9458,7 +10755,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -9483,7 +10780,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -9493,7 +10790,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -9503,7 +10800,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -9521,7 +10818,7 @@

      delete a ResourceQuota

    -

    Parameters

    +

    Parameters

    @@ -9579,7 +10876,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -9604,7 +10901,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -9614,7 +10911,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -9624,7 +10921,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -9642,7 +10939,7 @@

      partially update the spec

    -

    Parameters

    +

    Parameters

    @@ -9700,7 +10997,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -9725,7 +11022,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -9741,7 +11038,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -9751,7 +11048,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -9769,7 +11066,7 @@

      replace status of the sp

    -

    Parameters

    +

    Parameters

    @@ -9807,17 +11104,162 @@

    Parameters

    - - - - - + + + + + + + + + + + + + + + + +

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    PathParameter

    name

    name of the ResourceQuota

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.ResourceQuota

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    list or watch objects of kind Secret

    +
    +
    +
    GET /api/v1/namespaces/{namespace}/secrets
    +
    +
    +
    +

    Parameters

    + ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + @@ -9827,7 +11269,7 @@

    Parameters

    -

    Responses

    +

    Responses

    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    PathParameter

    name

    name of the ResourceQuota

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    @@ -9845,14 +11287,14 @@

    Responses

    - +

    200

    success

    v1.ResourceQuota

    v1.SecretList

    -

    Consumes

    +

    Consumes

    • @@ -9862,7 +11304,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -9872,7 +11314,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -9883,14 +11325,14 @@

      Tags

    -

    list or watch objects of kind Secret

    +

    delete collection of Secret

    -
    GET /api/v1/namespaces/{namespace}/secrets
    +
    DELETE /api/v1/namespaces/{namespace}/secrets
    -

    Parameters

    +

    Parameters

    @@ -9972,7 +11414,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -9990,14 +11432,14 @@

    Responses

    - +

    200

    success

    v1.SecretList

    unversioned.Status

    -

    Consumes

    +

    Consumes

    • @@ -10007,7 +11449,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -10017,7 +11459,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -10035,7 +11477,7 @@

      create a Secret

    -

    Parameters

    +

    Parameters

    @@ -10085,7 +11527,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -10110,7 +11552,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -10120,7 +11562,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -10130,7 +11572,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -10148,7 +11590,7 @@

      read the specified Secret

    -

    Parameters

    +

    Parameters

    @@ -10198,7 +11640,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -10223,7 +11665,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -10233,7 +11675,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -10243,7 +11685,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -10261,7 +11703,7 @@

      replace the specified Secret

    -

    Parameters

    +

    Parameters

    @@ -10319,7 +11761,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -10344,7 +11786,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -10354,7 +11796,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -10364,7 +11806,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -10382,7 +11824,7 @@

      delete a Secret

    -

    Parameters

    +

    Parameters

    @@ -10440,7 +11882,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -10465,7 +11907,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -10475,7 +11917,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -10485,7 +11927,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -10503,7 +11945,7 @@

      partially update the specified S

    -

    Parameters

    +

    Parameters

    @@ -10561,7 +12003,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -10586,7 +12028,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -10602,7 +12044,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -10612,7 +12054,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -10630,7 +12072,7 @@

      list or watch objects of

    -

    Parameters

    +

    Parameters

    @@ -10712,7 +12154,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -10737,7 +12179,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -10747,7 +12189,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -10757,7 +12199,152 @@

      Produces

    -

    Tags

    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    + +
    +

    delete collection of ServiceAccount

    +
    +
    +
    DELETE /api/v1/namespaces/{namespace}/serviceaccounts
    +
    +
    +
    +

    Parameters

    +
    ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    PathParameter

    namespace

    object name and auth scope, such as for teams and projects

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    unversioned.Status

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    • @@ -10775,7 +12362,7 @@

      create a ServiceAccount

    -

    Parameters

    +

    Parameters

    @@ -10825,7 +12412,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -10850,7 +12437,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -10860,7 +12447,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -10870,7 +12457,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -10888,7 +12475,7 @@

      read the specified ServiceAccount

    -

    Parameters

    +

    Parameters

    @@ -10938,7 +12525,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -10963,7 +12550,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -10973,7 +12560,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -10983,7 +12570,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -11001,7 +12588,7 @@

      replace the specified ServiceAcco

    -

    Parameters

    +

    Parameters

    @@ -11059,7 +12646,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -11084,7 +12671,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -11094,7 +12681,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -11104,7 +12691,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -11122,7 +12709,7 @@

      delete a ServiceAccount

    -

    Parameters

    +

    Parameters

    @@ -11180,7 +12767,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -11205,7 +12792,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -11215,7 +12802,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -11225,7 +12812,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -11243,7 +12830,7 @@

      partially update the spe

    -

    Parameters

    +

    Parameters

    @@ -11301,7 +12888,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -11326,7 +12913,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -11342,7 +12929,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -11352,7 +12939,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -11370,7 +12957,7 @@

      list or watch objects of kind Se

    -

    Parameters

    +

    Parameters

    @@ -11452,7 +13039,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -11477,7 +13064,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -11487,7 +13074,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -11497,7 +13084,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -11515,7 +13102,7 @@

      create a Service

    -

    Parameters

    +

    Parameters

    @@ -11565,7 +13152,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -11590,7 +13177,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -11600,7 +13187,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -11610,7 +13197,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -11628,7 +13215,7 @@

      read the specified Service

    -

    Parameters

    +

    Parameters

    @@ -11678,7 +13265,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -11703,7 +13290,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -11713,7 +13300,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -11723,7 +13310,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -11741,7 +13328,7 @@

      replace the specified Service

    -

    Parameters

    +

    Parameters

    @@ -11799,7 +13386,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -11824,7 +13411,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -11834,7 +13421,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -11844,7 +13431,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -11862,7 +13449,7 @@

      delete a Service

    -

    Parameters

    +

    Parameters

    @@ -11912,7 +13499,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -11937,7 +13524,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -11947,7 +13534,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -11957,7 +13544,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -11975,7 +13562,7 @@

      partially update the specified

    -

    Parameters

    +

    Parameters

    @@ -12033,7 +13620,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -12058,7 +13645,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -12074,7 +13661,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -12084,7 +13671,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -12102,7 +13689,7 @@

      read the specified Namespace

    -

    Parameters

    +

    Parameters

    @@ -12144,7 +13731,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -12169,7 +13756,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -12179,7 +13766,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -12189,7 +13776,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -12207,7 +13794,7 @@

      replace the specified Namespace

    -

    Parameters

    +

    Parameters

    @@ -12257,7 +13844,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -12282,7 +13869,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -12292,7 +13879,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -12302,7 +13889,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -12320,7 +13907,7 @@

      delete a Namespace

    -

    Parameters

    +

    Parameters

    @@ -12370,7 +13957,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -12395,7 +13982,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -12405,7 +13992,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -12415,7 +14002,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -12433,7 +14020,7 @@

      partially update the specifie

    -

    Parameters

    +

    Parameters

    @@ -12483,7 +14070,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -12508,7 +14095,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -12524,7 +14111,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -12534,7 +14121,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -12552,7 +14139,7 @@

      replace finalize of the sp

    -

    Parameters

    +

    Parameters

    @@ -12602,7 +14189,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -12627,7 +14214,120 @@

    Responses

    -

    Consumes

    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    + +
    +

    replace status of the specified Namespace

    +
    +
    +
    PUT /api/v1/namespaces/{name}/status
    +
    +
    +
    +

    Parameters

    +
    ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Namespace

    PathParameter

    name

    name of the Namespace

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Namespace

    + +
    +
    +

    Consumes

    • @@ -12637,7 +14337,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -12647,7 +14347,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -12658,14 +14358,14 @@

      Tags

    -

    replace status of the specified Namespace

    +

    list or watch objects of kind Node

    -
    PUT /api/v1/namespaces/{name}/status
    +
    GET /api/v1/nodes
    -

    Parameters

    +

    Parameters

    @@ -12695,27 +14395,51 @@

    Parameters

    - - + + + + + - - + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + +

    BodyParameter

    body

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    true

    v1.Namespace

    QueryParameter

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    PathParameter

    name

    name of the Namespace

    true

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    -

    Responses

    +

    Responses

    @@ -12733,14 +14457,14 @@

    Responses

    - +

    200

    success

    v1.Namespace

    v1.NodeList

    -

    Consumes

    +

    Consumes

    • @@ -12750,7 +14474,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -12760,7 +14484,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -12771,14 +14495,14 @@

      Tags

    -

    list or watch objects of kind Node

    +

    delete collection of Node

    -
    GET /api/v1/nodes
    +
    DELETE /api/v1/nodes
    -

    Parameters

    +

    Parameters

    @@ -12852,7 +14576,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -12870,14 +14594,14 @@

    Responses

    - +

    200

    success

    v1.NodeList

    unversioned.Status

    -

    Consumes

    +

    Consumes

    • @@ -12887,7 +14611,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -12897,7 +14621,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -12915,7 +14639,7 @@

      create a Node

    -

    Parameters

    +

    Parameters

    @@ -12957,7 +14681,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -12982,7 +14706,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -12992,7 +14716,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -13002,7 +14726,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -13020,7 +14744,7 @@

      read the specified Node

    -

    Parameters

    +

    Parameters

    @@ -13062,7 +14786,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -13087,7 +14811,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -13097,7 +14821,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -13107,7 +14831,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -13125,7 +14849,7 @@

      replace the specified Node

    -

    Parameters

    +

    Parameters

    @@ -13175,7 +14899,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -13200,7 +14924,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -13210,7 +14934,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -13220,7 +14944,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -13238,7 +14962,7 @@

      delete a Node

    -

    Parameters

    +

    Parameters

    @@ -13288,7 +15012,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -13313,7 +15037,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -13323,7 +15047,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -13333,7 +15057,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -13351,7 +15075,7 @@

      partially update the specified Nod

    -

    Parameters

    +

    Parameters

    @@ -13401,7 +15125,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -13426,7 +15150,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -13442,7 +15166,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -13452,7 +15176,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -13470,7 +15194,120 @@

      replace status of the specified N

    -

    Parameters

    +

    Parameters

    +
    ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeNameDescriptionRequiredSchemaDefault

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    BodyParameter

    body

    true

    v1.Node

    PathParameter

    name

    name of the Node

    true

    string

    + +
    +
    +

    Responses

    + +++++ + + + + + + + + + + + + + + +
    HTTP CodeDescriptionSchema

    200

    success

    v1.Node

    + +
    +
    +

    Consumes

    +
    +
      +
    • +

      /

      +
    • +
    +
    +
    +
    +

    Produces

    +
    +
      +
    • +

      application/json

      +
    • +
    +
    +
    +
    +

    Tags

    +
    +
      +
    • +

      apiv1

      +
    • +
    +
    +
    +
    +
    +

    list or watch objects of kind PersistentVolumeClaim

    +
    +
    +
    GET /api/v1/persistentvolumeclaims
    +
    +
    +
    +

    Parameters

    @@ -13489,38 +15326,62 @@

    Parameters

    - - + + + + + + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - + + + + + + + + + + + +
    Schema Default

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    false

    string

    QueryParameter

    labelSelector

    A selector to restrict the list of returned objects by their labels. Defaults to everything.

    false

    string

    QueryParameter

    pretty

    If true, then the output is pretty printed.

    fieldSelector

    A selector to restrict the list of returned objects by their fields. Defaults to everything.

    false

    string

    BodyParameter

    body

    true

    v1.Node

    QueryParameter

    watch

    Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

    false

    boolean

    PathParameter

    name

    name of the Node

    true

    QueryParameter

    resourceVersion

    When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history.

    false

    string

    QueryParameter

    timeoutSeconds

    Timeout for the list/watch call.

    false

    integer (int32)

    -

    Responses

    +

    Responses

    @@ -13538,14 +15399,14 @@

    Responses

    - +

    200

    success

    v1.Node

    v1.PersistentVolumeClaimList

    -

    Consumes

    +

    Consumes

    • @@ -13555,7 +15416,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -13565,7 +15426,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -13576,14 +15437,14 @@

      Tags

    -

    list or watch objects of kind PersistentVolumeClaim

    +

    list or watch objects of kind PersistentVolume

    -
    GET /api/v1/persistentvolumeclaims
    +
    GET /api/v1/persistentvolumes
    -

    Parameters

    +

    Parameters

    @@ -13657,7 +15518,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -13675,14 +15536,14 @@

    Responses

    - +

    200

    success

    v1.PersistentVolumeClaimList

    v1.PersistentVolumeList

    -

    Consumes

    +

    Consumes

    • @@ -13692,7 +15553,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -13702,7 +15563,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -13713,14 +15574,14 @@

      Tags

    -

    list or watch objects of kind PersistentVolume

    +

    delete collection of PersistentVolume

    -
    GET /api/v1/persistentvolumes
    +
    DELETE /api/v1/persistentvolumes
    -

    Parameters

    +

    Parameters

    @@ -13794,7 +15655,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -13812,14 +15673,14 @@

    Responses

    - +

    200

    success

    v1.PersistentVolumeList

    unversioned.Status

    -

    Consumes

    +

    Consumes

    • @@ -13829,7 +15690,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -13839,7 +15700,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -13857,7 +15718,7 @@

      create a PersistentVolume

    -

    Parameters

    +

    Parameters

    @@ -13899,7 +15760,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -13924,7 +15785,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -13934,7 +15795,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -13944,7 +15805,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -13962,7 +15823,7 @@

      read the specified PersistentVolum

    -

    Parameters

    +

    Parameters

    @@ -14004,7 +15865,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -14029,7 +15890,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -14039,7 +15900,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -14049,7 +15910,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -14067,7 +15928,7 @@

      replace the specified Persisten

    -

    Parameters

    +

    Parameters

    @@ -14117,7 +15978,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -14142,7 +16003,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -14152,7 +16013,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -14162,7 +16023,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -14180,7 +16041,7 @@

      delete a PersistentVolume

    -

    Parameters

    +

    Parameters

    @@ -14230,7 +16091,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -14255,7 +16116,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -14265,7 +16126,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -14275,7 +16136,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -14293,7 +16154,7 @@

      partially update the s

    -

    Parameters

    +

    Parameters

    @@ -14343,7 +16204,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -14368,7 +16229,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -14384,7 +16245,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -14394,7 +16255,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -14412,7 +16273,7 @@

      replace status of the

    -

    Parameters

    +

    Parameters

    @@ -14462,7 +16323,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -14487,7 +16348,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -14497,7 +16358,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -14507,7 +16368,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -14525,7 +16386,7 @@

      list or watch objects of kind Pod<

    -

    Parameters

    +

    Parameters

    @@ -14599,7 +16460,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -14624,7 +16485,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -14634,7 +16495,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -14644,7 +16505,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -14662,7 +16523,7 @@

      list or watch objects of k

    -

    Parameters

    +

    Parameters

    @@ -14736,7 +16597,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -14761,7 +16622,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -14771,7 +16632,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -14781,7 +16642,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -14799,7 +16660,7 @@

      proxy GET requests to Pod

    -

    Parameters

    +

    Parameters

    @@ -14841,7 +16702,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -14866,7 +16727,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -14876,7 +16737,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -14886,7 +16747,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -14904,7 +16765,7 @@

      proxy PUT requests to Pod

    -

    Parameters

    +

    Parameters

    @@ -14946,7 +16807,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -14971,7 +16832,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -14981,7 +16842,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -14991,7 +16852,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -15009,7 +16870,7 @@

      proxy DELETE requests to Pod

    -

    Parameters

    +

    Parameters

    @@ -15051,7 +16912,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -15076,7 +16937,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -15086,7 +16947,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -15096,7 +16957,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -15114,7 +16975,7 @@

      proxy POST requests to Pod

    -

    Parameters

    +

    Parameters

    @@ -15156,7 +17017,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -15181,7 +17042,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -15191,7 +17052,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -15201,7 +17062,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -15219,7 +17080,7 @@

      proxy GET requests to Pod

    -

    Parameters

    +

    Parameters

    @@ -15269,7 +17130,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -15294,7 +17155,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -15304,7 +17165,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -15314,7 +17175,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -15332,7 +17193,7 @@

      proxy PUT requests to Pod

    -

    Parameters

    +

    Parameters

    @@ -15382,7 +17243,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -15407,7 +17268,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -15417,7 +17278,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -15427,7 +17288,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -15445,7 +17306,7 @@

      proxy DELETE requests to Pod

    -

    Parameters

    +

    Parameters

    @@ -15495,7 +17356,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -15520,7 +17381,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -15530,7 +17391,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -15540,7 +17401,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -15558,7 +17419,7 @@

      proxy POST requests to Pod

    -

    Parameters

    +

    Parameters

    @@ -15608,7 +17469,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -15633,7 +17494,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -15643,7 +17504,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -15653,7 +17514,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -15671,7 +17532,7 @@

      proxy GET requests to Service

    -

    Parameters

    +

    Parameters

    @@ -15713,7 +17574,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -15738,7 +17599,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -15748,7 +17609,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -15758,7 +17619,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -15776,7 +17637,7 @@

      proxy PUT requests to Service

    -

    Parameters

    +

    Parameters

    @@ -15818,7 +17679,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -15843,7 +17704,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -15853,7 +17714,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -15863,7 +17724,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -15881,7 +17742,7 @@

      proxy DELETE requests to Service

    -

    Parameters

    +

    Parameters

    @@ -15923,7 +17784,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -15948,7 +17809,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -15958,7 +17819,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -15968,7 +17829,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -15986,7 +17847,7 @@

      proxy POST requests to Service

    -

    Parameters

    +

    Parameters

    @@ -16028,7 +17889,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -16053,7 +17914,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -16063,7 +17924,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -16073,7 +17934,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -16091,7 +17952,7 @@

      proxy GET requests to Service

    -

    Parameters

    +

    Parameters

    @@ -16141,7 +18002,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -16166,7 +18027,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -16176,7 +18037,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -16186,7 +18047,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -16204,7 +18065,7 @@

      proxy PUT requests to Service

    -

    Parameters

    +

    Parameters

    @@ -16254,7 +18115,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -16279,7 +18140,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -16289,7 +18150,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -16299,7 +18160,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -16317,7 +18178,7 @@

      proxy DELETE requests to Service

    -

    Parameters

    +

    Parameters

    @@ -16367,7 +18228,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -16392,7 +18253,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -16402,7 +18263,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -16412,7 +18273,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -16430,7 +18291,7 @@

      proxy POST requests to Service

    -

    Parameters

    +

    Parameters

    @@ -16480,7 +18341,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -16505,7 +18366,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -16515,7 +18376,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -16525,7 +18386,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -16543,7 +18404,7 @@

      proxy GET requests to Node

    -

    Parameters

    +

    Parameters

    @@ -16577,7 +18438,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -16602,7 +18463,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -16612,7 +18473,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -16622,7 +18483,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -16640,7 +18501,7 @@

      proxy PUT requests to Node

    -

    Parameters

    +

    Parameters

    @@ -16674,7 +18535,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -16699,7 +18560,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -16709,7 +18570,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -16719,7 +18580,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -16737,7 +18598,7 @@

      proxy DELETE requests to Node

    -

    Parameters

    +

    Parameters

    @@ -16771,7 +18632,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -16796,7 +18657,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -16806,7 +18667,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -16816,7 +18677,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -16834,7 +18695,7 @@

      proxy POST requests to Node

    -

    Parameters

    +

    Parameters

    @@ -16868,7 +18729,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -16893,7 +18754,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -16903,7 +18764,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -16913,7 +18774,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -16931,7 +18792,7 @@

      proxy GET requests to Node

    -

    Parameters

    +

    Parameters

    @@ -16973,7 +18834,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -16998,7 +18859,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -17008,7 +18869,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -17018,7 +18879,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -17036,7 +18897,7 @@

      proxy PUT requests to Node

    -

    Parameters

    +

    Parameters

    @@ -17078,7 +18939,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -17103,7 +18964,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -17113,7 +18974,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -17123,7 +18984,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -17141,7 +19002,7 @@

      proxy DELETE requests to Node

    -

    Parameters

    +

    Parameters

    @@ -17183,7 +19044,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -17208,7 +19069,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -17218,7 +19079,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -17228,7 +19089,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -17246,7 +19107,7 @@

      proxy POST requests to Node

    -

    Parameters

    +

    Parameters

    @@ -17288,7 +19149,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -17313,7 +19174,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -17323,7 +19184,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -17333,7 +19194,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -17351,7 +19212,7 @@

      list or watch ob

    -

    Parameters

    +

    Parameters

    @@ -17425,7 +19286,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -17450,7 +19311,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -17460,7 +19321,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -17470,7 +19331,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -17488,7 +19349,7 @@

      list or watch objects of

    -

    Parameters

    +

    Parameters

    @@ -17562,7 +19423,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -17587,7 +19448,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -17597,7 +19458,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -17607,7 +19468,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -17625,7 +19486,7 @@

      list or watch objects of kind S

    -

    Parameters

    +

    Parameters

    @@ -17699,7 +19560,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -17724,7 +19585,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -17734,7 +19595,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -17744,7 +19605,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -17762,7 +19623,7 @@

      list or watch objects o

    -

    Parameters

    +

    Parameters

    @@ -17836,7 +19697,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -17861,7 +19722,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -17871,7 +19732,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -17881,7 +19742,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -17899,7 +19760,7 @@

      list or watch objects of kind

    -

    Parameters

    +

    Parameters

    @@ -17973,7 +19834,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -17998,7 +19859,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -18008,7 +19869,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -18018,7 +19879,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -18036,7 +19897,7 @@

      watch individual chang

    -

    Parameters

    +

    Parameters

    @@ -18110,7 +19971,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -18135,7 +19996,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -18145,7 +20006,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -18155,7 +20016,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -18173,7 +20034,7 @@

      watch individual changes t

    -

    Parameters

    +

    Parameters

    @@ -18247,7 +20108,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -18272,7 +20133,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -18282,7 +20143,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -18292,7 +20153,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -18310,7 +20171,7 @@

      watch individual chan

    -

    Parameters

    +

    Parameters

    @@ -18384,7 +20245,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -18409,7 +20270,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -18419,7 +20280,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -18429,7 +20290,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -18447,7 +20308,7 @@

      watch individual chang

    -

    Parameters

    +

    Parameters

    @@ -18521,7 +20382,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -18546,7 +20407,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -18556,7 +20417,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -18566,7 +20427,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -18584,7 +20445,7 @@

      watch individual cha

    -

    Parameters

    +

    Parameters

    @@ -18666,7 +20527,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -18691,7 +20552,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -18701,7 +20562,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -18711,7 +20572,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -18729,7 +20590,7 @@

      watch changes to an objec

    -

    Parameters

    +

    Parameters

    @@ -18819,7 +20680,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -18844,7 +20705,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -18854,7 +20715,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -18864,7 +20725,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -18882,7 +20743,7 @@

      watch individual changes

    -

    Parameters

    +

    Parameters

    @@ -18964,7 +20825,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -18989,7 +20850,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -18999,7 +20860,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -19009,7 +20870,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -19027,7 +20888,7 @@

      watch changes to an object of

    -

    Parameters

    +

    Parameters

    @@ -19117,7 +20978,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -19142,7 +21003,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -19152,7 +21013,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -19162,7 +21023,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -19180,7 +21041,7 @@

      watch individual ch

    -

    Parameters

    +

    Parameters

    @@ -19262,7 +21123,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -19287,7 +21148,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -19297,7 +21158,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -19307,7 +21168,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -19325,7 +21186,7 @@

      watch changes to an obje

    -

    Parameters

    +

    Parameters

    @@ -19415,7 +21276,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -19440,7 +21301,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -19450,7 +21311,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -19460,7 +21321,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -19478,7 +21339,7 @@

      watch indi

    -

    Parameters

    +

    Parameters

    @@ -19560,7 +21421,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -19585,7 +21446,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -19595,7 +21456,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -19605,7 +21466,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -19623,7 +21484,7 @@

      watch changes

    -

    Parameters

    +

    Parameters

    @@ -19713,7 +21574,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -19738,7 +21599,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -19748,7 +21609,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -19758,7 +21619,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -19776,7 +21637,7 @@

      watch individual changes to

    -

    Parameters

    +

    Parameters

    @@ -19858,7 +21719,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -19883,7 +21744,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -19893,7 +21754,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -19903,7 +21764,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -19921,7 +21782,7 @@

      watch changes to an object of k

    -

    Parameters

    +

    Parameters

    @@ -20011,7 +21872,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -20036,7 +21897,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -20046,7 +21907,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -20056,7 +21917,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -20074,7 +21935,7 @@

      watch individual cha

    -

    Parameters

    +

    Parameters

    @@ -20156,7 +22017,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -20181,7 +22042,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -20191,7 +22052,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -20201,7 +22062,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -20219,7 +22080,7 @@

      watch changes to an obj

    -

    Parameters

    +

    Parameters

    @@ -20309,7 +22170,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -20334,7 +22195,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -20344,7 +22205,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -20354,7 +22215,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -20372,7 +22233,7 @@

      watch indi

    -

    Parameters

    +

    Parameters

    @@ -20454,7 +22315,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -20479,7 +22340,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -20489,7 +22350,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -20499,7 +22360,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -20517,7 +22378,7 @@

      watch changes

    -

    Parameters

    +

    Parameters

    @@ -20607,7 +22468,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -20632,7 +22493,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -20642,7 +22503,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -20652,7 +22513,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -20670,7 +22531,7 @@

      watch individual c

    -

    Parameters

    +

    Parameters

    @@ -20752,7 +22613,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -20777,7 +22638,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -20787,7 +22648,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -20797,7 +22658,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -20815,7 +22676,7 @@

      watch changes to an o

    -

    Parameters

    +

    Parameters

    @@ -20905,7 +22766,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -20930,7 +22791,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -20940,7 +22801,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -20950,7 +22811,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -20968,7 +22829,7 @@

      watch individual changes

    -

    Parameters

    +

    Parameters

    @@ -21050,7 +22911,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -21075,7 +22936,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -21085,7 +22946,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -21095,7 +22956,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -21113,7 +22974,7 @@

      watch changes to an object o

    -

    Parameters

    +

    Parameters

    @@ -21203,7 +23064,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -21228,7 +23089,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -21238,7 +23099,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -21248,7 +23109,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -21266,7 +23127,7 @@

      watch individual

    -

    Parameters

    +

    Parameters

    @@ -21348,7 +23209,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -21373,7 +23234,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -21383,7 +23244,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -21393,7 +23254,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -21411,7 +23272,7 @@

      watch changes to an

    -

    Parameters

    +

    Parameters

    @@ -21501,7 +23362,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -21526,7 +23387,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -21536,7 +23397,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -21546,7 +23407,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -21564,7 +23425,7 @@

      watch individual changes

    -

    Parameters

    +

    Parameters

    @@ -21646,7 +23507,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -21671,7 +23532,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -21681,7 +23542,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -21691,7 +23552,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -21709,7 +23570,7 @@

      watch changes to an object

    -

    Parameters

    +

    Parameters

    @@ -21799,7 +23660,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -21824,7 +23685,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -21834,7 +23695,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -21844,7 +23705,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -21862,7 +23723,7 @@

      watch changes to an objec

    -

    Parameters

    +

    Parameters

    @@ -21944,7 +23805,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -21969,7 +23830,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -21979,7 +23840,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -21989,7 +23850,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -22007,7 +23868,7 @@

      watch individual changes to

    -

    Parameters

    +

    Parameters

    @@ -22081,7 +23942,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -22106,7 +23967,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -22116,7 +23977,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -22126,7 +23987,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -22144,7 +24005,7 @@

      watch changes to an object of

    -

    Parameters

    +

    Parameters

    @@ -22226,7 +24087,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -22251,7 +24112,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -22261,7 +24122,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -22271,7 +24132,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -22289,7 +24150,7 @@

      watch in

    -

    Parameters

    +

    Parameters

    @@ -22363,7 +24224,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -22388,7 +24249,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -22398,7 +24259,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -22408,7 +24269,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -22426,7 +24287,7 @@

      watch individua

    -

    Parameters

    +

    Parameters

    @@ -22500,7 +24361,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -22525,7 +24386,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -22535,7 +24396,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -22545,7 +24406,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -22563,7 +24424,7 @@

      watch changes to a

    -

    Parameters

    +

    Parameters

    @@ -22645,7 +24506,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -22670,7 +24531,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -22680,7 +24541,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -22690,7 +24551,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -22708,7 +24569,7 @@

      watch individual changes t

    -

    Parameters

    +

    Parameters

    @@ -22782,7 +24643,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -22807,7 +24668,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -22817,7 +24678,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -22827,7 +24688,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -22845,7 +24706,7 @@

      watch individual c

    -

    Parameters

    +

    Parameters

    @@ -22919,7 +24780,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -22944,7 +24805,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -22954,7 +24815,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -22964,7 +24825,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -22982,7 +24843,7 @@

      watch in

    -

    Parameters

    +

    Parameters

    @@ -23056,7 +24917,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -23081,7 +24942,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -23091,7 +24952,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -23101,7 +24962,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -23119,7 +24980,7 @@

      watch individual

    -

    Parameters

    +

    Parameters

    @@ -23193,7 +25054,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -23218,7 +25079,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -23228,7 +25089,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -23238,7 +25099,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -23256,7 +25117,7 @@

      watch individual change

    -

    Parameters

    +

    Parameters

    @@ -23330,7 +25191,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -23355,7 +25216,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -23365,7 +25226,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -23375,7 +25236,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -23393,7 +25254,7 @@

      watch individua

    -

    Parameters

    +

    Parameters

    @@ -23467,7 +25328,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -23492,7 +25353,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -23502,7 +25363,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -23512,7 +25373,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -23530,7 +25391,7 @@

      watch individual chang

    -

    Parameters

    +

    Parameters

    @@ -23604,7 +25465,7 @@

    Parameters

    -

    Responses

    +

    Responses

    @@ -23629,7 +25490,7 @@

    Responses

    -

    Consumes

    +

    Consumes

    • @@ -23639,7 +25500,7 @@

      Consumes

    -

    Produces

    +

    Produces

    • @@ -23649,7 +25510,7 @@

      Produces

    -

    Tags

    +

    Tags

    • @@ -23664,7 +25525,7 @@

      Tags

    diff --git a/pkg/api/rest/rest.go b/pkg/api/rest/rest.go index ec0f97c5f2ad4..ae3f296b96af0 100644 --- a/pkg/api/rest/rest.go +++ b/pkg/api/rest/rest.go @@ -125,6 +125,17 @@ func (w GracefulDeleteAdapter) Delete(ctx api.Context, name string, options *api return w.Deleter.Delete(ctx, name) } +// CollectionDeleter is an object that can delete a collection +// of RESTful resources. +type CollectionDeleter interface { + // DeleteCollection selects all resources in the storage matching given 'listOptions' + // and deletes them. If 'options' are provided, the resource will attempt to honor + // them or return an invalid request error. + // DeleteCollection may not be atomic - i.e. it may delete some objects and still + // return an error after it. On success, returns a list of deleted objects. + DeleteCollection(ctx api.Context, options *api.DeleteOptions, listOptions *unversioned.ListOptions) (runtime.Object, error) +} + // Creater is an object that can create an instance of a RESTful object. type Creater interface { // New returns an empty object that can be used with Create after request data has been put into it. @@ -192,6 +203,7 @@ type StandardStorage interface { Lister CreaterUpdater GracefulDeleter + CollectionDeleter Watcher } diff --git a/pkg/apiserver/api_installer.go b/pkg/apiserver/api_installer.go index 5b10c8eeed9c8..fd31b9634b782 100644 --- a/pkg/apiserver/api_installer.go +++ b/pkg/apiserver/api_installer.go @@ -199,6 +199,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag getterWithOptions, isGetterWithOptions := storage.(rest.GetterWithOptions) deleter, isDeleter := storage.(rest.Deleter) gracefulDeleter, isGracefulDeleter := storage.(rest.GracefulDeleter) + collectionDeleter, isCollectionDeleter := storage.(rest.CollectionDeleter) updater, isUpdater := storage.(rest.Updater) patcher, isPatcher := storage.(rest.Patcher) watcher, isWatcher := storage.(rest.Watcher) @@ -334,6 +335,8 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag // Add actions at the resource path: /api/apiVersion/resource actions = appendIf(actions, action{"LIST", resourcePath, resourceParams, namer}, isLister) actions = appendIf(actions, action{"POST", resourcePath, resourceParams, namer}, isCreater) + actions = appendIf(actions, action{"DELETECOLLECTION", resourcePath, resourceParams, namer}, isCollectionDeleter) + // DEPRECATED actions = appendIf(actions, action{"WATCHLIST", "watch/" + resourcePath, resourceParams, namer}, allowWatchList) // Add actions at the item path: /api/apiVersion/resource/{name} @@ -372,6 +375,7 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag actions = appendIf(actions, action{"LIST", resourcePath, resourceParams, namer}, isLister) actions = appendIf(actions, action{"POST", resourcePath, resourceParams, namer}, isCreater) + actions = appendIf(actions, action{"DELETECOLLECTION", resourcePath, resourceParams, namer}, isCollectionDeleter) // DEPRECATED actions = appendIf(actions, action{"WATCHLIST", "watch/" + resourcePath, resourceParams, namer}, allowWatchList) @@ -567,6 +571,24 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag } addParams(route, action.Params) ws.Route(route) + case "DELETECOLLECTION": + doc := "delete collection of " + kind + if hasSubresource { + doc = "delete collection of " + subresource + " of a " + kind + } + route := ws.DELETE(action.Path).To(DeleteCollection(collectionDeleter, isCollectionDeleter, reqScope, admit)). + Filter(m). + Doc(doc). + Param(ws.QueryParameter("pretty", "If 'true', then the output is pretty printed.")). + Operation("deletecollection"+namespaced+kind+strings.Title(subresource)). + Produces(append(storageMeta.ProducesMIMETypes(action.Verb), "application/json")...). + Writes(versionedStatus). + Returns(http.StatusOK, "OK", versionedStatus) + if err := addObjectParams(ws, route, versionedListOptions); err != nil { + return nil, err + } + addParams(route, action.Params) + ws.Route(route) // TODO: deprecated case "WATCH": // Watch a resource. doc := "watch changes to an object of kind " + kind diff --git a/pkg/apiserver/resthandler.go b/pkg/apiserver/resthandler.go index eb80b5ee60794..c27c66a92b2ff 100644 --- a/pkg/apiserver/resthandler.go +++ b/pkg/apiserver/resthandler.go @@ -703,6 +703,99 @@ func DeleteResource(r rest.GracefulDeleter, checkBody bool, scope RequestScope, } } +// DeleteCollection returns a function that will handle a collection deletion +func DeleteCollection(r rest.CollectionDeleter, checkBody bool, scope RequestScope, admit admission.Interface) restful.RouteFunction { + return func(req *restful.Request, res *restful.Response) { + w := res.ResponseWriter + + // TODO: we either want to remove timeout or document it (if we document, move timeout out of this function and declare it in api_installer) + timeout := parseTimeout(req.Request.URL.Query().Get("timeout")) + + namespace, err := scope.Namer.Namespace(req) + if err != nil { + errorJSON(err, scope.Codec, w) + return + } + + ctx := scope.ContextFunc(req) + ctx = api.WithNamespace(ctx, namespace) + + if admit != nil && admit.Handles(admission.Delete) { + userInfo, _ := api.UserFrom(ctx) + + err = admit.Admit(admission.NewAttributesRecord(nil, scope.Kind.GroupKind(), namespace, "", scope.Resource.GroupResource(), scope.Subresource, admission.Delete, userInfo)) + if err != nil { + errorJSON(err, scope.Codec, w) + return + } + } + + listOptions := unversioned.ListOptions{} + if err := scope.Codec.DecodeParametersInto(req.Request.URL.Query(), &listOptions); err != nil { + errorJSON(err, scope.Codec, w) + return + } + + // transform fields + // TODO: DecodeParametersInto should do this. + if listOptions.FieldSelector.Selector != nil { + fn := func(label, value string) (newLabel, newValue string, err error) { + return scope.Convertor.ConvertFieldLabel(scope.Kind.GroupVersion().String(), scope.Kind.Kind, label, value) + } + if listOptions.FieldSelector.Selector, err = listOptions.FieldSelector.Selector.Transform(fn); err != nil { + // TODO: allow bad request to set field causes based on query parameters + err = errors.NewBadRequest(err.Error()) + errorJSON(err, scope.Codec, w) + return + } + } + + options := &api.DeleteOptions{} + if checkBody { + body, err := readBody(req.Request) + if err != nil { + errorJSON(err, scope.Codec, w) + return + } + if len(body) > 0 { + if err := scope.Codec.DecodeInto(body, options); err != nil { + errorJSON(err, scope.Codec, w) + return + } + } + } + + result, err := finishRequest(timeout, func() (runtime.Object, error) { + return r.DeleteCollection(ctx, options, &listOptions) + }) + if err != nil { + errorJSON(err, scope.Codec, w) + return + } + + // if the rest.Deleter returns a nil object, fill out a status. Callers may return a valid + // object with the response. + if result == nil { + result = &unversioned.Status{ + Status: unversioned.StatusSuccess, + Code: http.StatusOK, + Details: &unversioned.StatusDetails{ + Kind: scope.Kind.Kind, + }, + } + } else { + // when a non-status response is returned, set the self link + if _, ok := result.(*unversioned.Status); !ok { + if _, err := setListSelfLink(result, req, scope.Namer); err != nil { + errorJSON(err, scope.Codec, w) + return + } + } + } + write(http.StatusOK, scope.Kind.GroupVersion(), scope.Codec, result, w, req.Request) + } +} + // resultFunc is a function that returns a rest result and can be run in a goroutine type resultFunc func() (runtime.Object, error) diff --git a/pkg/client/unversioned/events.go b/pkg/client/unversioned/events.go index 920aace616f01..4eb945597b5b0 100644 --- a/pkg/client/unversioned/events.go +++ b/pkg/client/unversioned/events.go @@ -42,6 +42,8 @@ type EventInterface interface { // Search finds events about the specified object Search(objOrRef runtime.Object) (*api.EventList, error) Delete(name string) error + // DeleteCollection deletes a collection of events. + DeleteCollection(options *api.DeleteOptions, listOptions unversioned.ListOptions) error // Returns the appropriate field selector based on the API version being used to communicate with the server. // The returned field selector can be used with List and Watch to filter desired events. GetFieldSelector(involvedObjectName, involvedObjectNamespace, involvedObjectKind, involvedObjectUID *string) fields.Selector @@ -184,6 +186,30 @@ func (e *events) Delete(name string) error { Error() } +// DeleteCollection deletes a collection of objects. +func (e *events) DeleteCollection(options *api.DeleteOptions, listOptions unversioned.ListOptions) error { + // TODO: to make this reusable in other client libraries + if options == nil { + return e.client.Delete(). + NamespaceIfScoped(e.namespace, len(e.namespace) > 0). + Resource("events"). + VersionedParams(&listOptions, api.Scheme). + Do(). + Error() + } + body, err := api.Scheme.EncodeToVersion(options, e.client.APIVersion().String()) + if err != nil { + return err + } + return e.client.Delete(). + NamespaceIfScoped(e.namespace, len(e.namespace) > 0). + Resource("events"). + VersionedParams(&listOptions, api.Scheme). + Body(body). + Do(). + Error() +} + // Returns the appropriate field selector based on the API version being used to communicate with the server. // The returned field selector can be used with List and Watch to filter desired events. func (e *events) GetFieldSelector(involvedObjectName, involvedObjectNamespace, involvedObjectKind, involvedObjectUID *string) fields.Selector { diff --git a/pkg/client/unversioned/testclient/actions.go b/pkg/client/unversioned/testclient/actions.go index c5fb9f520e4eb..fc6951c84bcc6 100644 --- a/pkg/client/unversioned/testclient/actions.go +++ b/pkg/client/unversioned/testclient/actions.go @@ -166,6 +166,41 @@ func NewDeleteAction(resource, namespace, name string) DeleteActionImpl { return action } +func NewRootDeleteCollectionAction(resource string, opts unversioned.ListOptions) DeleteCollectionActionImpl { + action := DeleteCollectionActionImpl{} + action.Verb = "delete-collection" + action.Resource = resource + labelSelector := opts.LabelSelector.Selector + if labelSelector == nil { + labelSelector = labels.Everything() + } + fieldSelector := opts.FieldSelector.Selector + if fieldSelector == nil { + fieldSelector = fields.Everything() + } + action.ListRestrictions = ListRestrictions{labelSelector, fieldSelector} + + return action +} + +func NewDeleteCollectionAction(resource, namespace string, opts unversioned.ListOptions) DeleteCollectionActionImpl { + action := DeleteCollectionActionImpl{} + action.Verb = "delete-collection" + action.Resource = resource + action.Namespace = namespace + labelSelector := opts.LabelSelector.Selector + if labelSelector == nil { + labelSelector = labels.Everything() + } + fieldSelector := opts.FieldSelector.Selector + if fieldSelector == nil { + fieldSelector = fields.Everything() + } + action.ListRestrictions = ListRestrictions{labelSelector, fieldSelector} + + return action +} + func NewRootWatchAction(resource string, opts unversioned.ListOptions) WatchActionImpl { action := WatchActionImpl{} action.Verb = "watch" @@ -363,6 +398,15 @@ func (a DeleteActionImpl) GetName() string { return a.Name } +type DeleteCollectionActionImpl struct { + ActionImpl + ListRestrictions ListRestrictions +} + +func (a DeleteCollectionActionImpl) GetListRestrictions() ListRestrictions { + return a.ListRestrictions +} + type WatchActionImpl struct { ActionImpl WatchRestrictions WatchRestrictions diff --git a/pkg/client/unversioned/testclient/fake_events.go b/pkg/client/unversioned/testclient/fake_events.go index fe11d933b66e2..be4406e9f979a 100644 --- a/pkg/client/unversioned/testclient/fake_events.go +++ b/pkg/client/unversioned/testclient/fake_events.go @@ -110,6 +110,15 @@ func (c *FakeEvents) Delete(name string) error { return err } +func (c *FakeEvents) DeleteCollection(options *api.DeleteOptions, listOptions unversioned.ListOptions) error { + action := NewRootDeleteCollectionAction("events", listOptions) + if c.Namespace != "" { + action = NewDeleteCollectionAction("events", c.Namespace, listOptions) + } + _, err := c.Fake.Invokes(action, &api.EventList{}) + return err +} + // Watch starts watching for events matching the given selectors. func (c *FakeEvents) Watch(opts unversioned.ListOptions) (watch.Interface, error) { action := NewRootWatchAction("events", opts) diff --git a/pkg/controller/namespace/namespace_controller.go b/pkg/controller/namespace/namespace_controller.go index a4f14c12d593f..23553c6bafa9b 100644 --- a/pkg/controller/namespace/namespace_controller.go +++ b/pkg/controller/namespace/namespace_controller.go @@ -436,17 +436,7 @@ func deletePods(kubeClient client.Interface, ns string, before unversioned.Time) } func deleteEvents(kubeClient client.Interface, ns string) error { - items, err := kubeClient.Events(ns).List(unversioned.ListOptions{}) - if err != nil { - return err - } - for i := range items.Items { - err := kubeClient.Events(ns).Delete(items.Items[i].Name) - if err != nil && !errors.IsNotFound(err) { - return err - } - } - return nil + return kubeClient.Events(ns).DeleteCollection(nil, unversioned.ListOptions{}) } func deleteSecrets(kubeClient client.Interface, ns string) error { diff --git a/pkg/controller/namespace/namespace_controller_test.go b/pkg/controller/namespace/namespace_controller_test.go index e3ba5ad5d7152..ff083ec902813 100644 --- a/pkg/controller/namespace/namespace_controller_test.go +++ b/pkg/controller/namespace/namespace_controller_test.go @@ -109,7 +109,7 @@ func testSyncNamespaceThatIsTerminating(t *testing.T, versions *unversioned.APIV strings.Join([]string{"list", "resourcequotas", ""}, "-"), strings.Join([]string{"list", "secrets", ""}, "-"), strings.Join([]string{"list", "limitranges", ""}, "-"), - strings.Join([]string{"list", "events", ""}, "-"), + strings.Join([]string{"delete-collection", "events", ""}, "-"), strings.Join([]string{"list", "serviceaccounts", ""}, "-"), strings.Join([]string{"list", "persistentvolumeclaims", ""}, "-"), strings.Join([]string{"create", "namespaces", "finalize"}, "-"), diff --git a/pkg/registry/generic/etcd/etcd.go b/pkg/registry/generic/etcd/etcd.go index 1c5105b19de96..c0c53c4a3c445 100644 --- a/pkg/registry/generic/etcd/etcd.go +++ b/pkg/registry/generic/etcd/etcd.go @@ -24,6 +24,7 @@ import ( "k8s.io/kubernetes/pkg/api" kubeerr "k8s.io/kubernetes/pkg/api/errors" etcderr "k8s.io/kubernetes/pkg/api/errors/etcd" + "k8s.io/kubernetes/pkg/api/meta" "k8s.io/kubernetes/pkg/api/rest" "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/api/validation" @@ -436,6 +437,37 @@ func (e *Etcd) Delete(ctx api.Context, name string, options *api.DeleteOptions) return e.finalizeDelete(out, true) } +// DeleteCollection remove all items returned by List with a given ListOptions from etcd. +// +// DeleteCollection is currently NOT atomic. It can happen that only subset of objects +// will be deleted from etcd, and then an error will be returned. +// In case of success, the list of deleted objects will be returned. +// +// TODO: Currently, there is no easy way to remove 'directory' entry from etcd (if we +// are removing all objects of a given type) with the current API (it's technically +// possibly with etcd API, but watch is not delivered correctly then). +// It will be possible to fix it with v3 etcd API. +func (e *Etcd) DeleteCollection(ctx api.Context, options *api.DeleteOptions, listOptions *unversioned.ListOptions) (runtime.Object, error) { + listObj, err := e.List(ctx, listOptions) + if err != nil { + return nil, err + } + items, err := meta.ExtractList(listObj) + if err != nil { + return nil, err + } + for _, item := range items { + accessor, err := meta.Accessor(item) + if err != nil { + return nil, err + } + if _, err := e.Delete(ctx, accessor.Name(), options); err != nil { + return nil, err + } + } + return listObj, nil +} + func (e *Etcd) finalizeDelete(obj runtime.Object, runHooks bool) (runtime.Object, error) { if runHooks && e.AfterDelete != nil { if err := e.AfterDelete(obj); err != nil { diff --git a/pkg/registry/generic/etcd/etcd_test.go b/pkg/registry/generic/etcd/etcd_test.go index e86262712ce3d..655a05fdcdb88 100644 --- a/pkg/registry/generic/etcd/etcd_test.go +++ b/pkg/registry/generic/etcd/etcd_test.go @@ -25,6 +25,9 @@ import ( "k8s.io/kubernetes/pkg/api" "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/api/testapi" + "k8s.io/kubernetes/pkg/api/unversioned" + "k8s.io/kubernetes/pkg/fields" + "k8s.io/kubernetes/pkg/labels" "k8s.io/kubernetes/pkg/registry/generic" "k8s.io/kubernetes/pkg/runtime" etcdstorage "k8s.io/kubernetes/pkg/storage/etcd" @@ -90,7 +93,20 @@ func NewTestGenericEtcdRegistry(t *testing.T) (*etcdtesting.EtcdTestServer, *Etc return path.Join(podPrefix, id), nil }, ObjectNameFunc: func(obj runtime.Object) (string, error) { return obj.(*api.Pod).Name, nil }, - Storage: s, + PredicateFunc: func(label labels.Selector, field fields.Selector) generic.Matcher { + return &generic.SelectionPredicate{ + Label: label, + Field: field, + GetAttrs: func(obj runtime.Object) (labels.Set, fields.Set, error) { + pod, ok := obj.(*api.Pod) + if !ok { + return nil, nil, fmt.Errorf("not a pod") + } + return labels.Set(pod.ObjectMeta.Labels), generic.ObjectMetaFieldsSet(pod.ObjectMeta, true), nil + }, + } + }, + Storage: s, } } @@ -366,6 +382,78 @@ func TestEtcdDelete(t *testing.T) { } } +func TestEtcdDeleteCollection(t *testing.T) { + podA := &api.Pod{ObjectMeta: api.ObjectMeta{Name: "foo"}} + podB := &api.Pod{ObjectMeta: api.ObjectMeta{Name: "bar"}} + + testContext := api.WithNamespace(api.NewContext(), "test") + server, registry := NewTestGenericEtcdRegistry(t) + defer server.Terminate(t) + + if _, err := registry.Create(testContext, podA); err != nil { + t.Errorf("Unexpected error: %v", err) + } + if _, err := registry.Create(testContext, podB); err != nil { + t.Errorf("Unexpected error: %v", err) + } + + // Delete all pods. + deleted, err := registry.DeleteCollection(testContext, nil, &unversioned.ListOptions{}) + if err != nil { + t.Fatalf("Unexpected error: %v", err) + } + deletedPods := deleted.(*api.PodList) + if len(deletedPods.Items) != 2 { + t.Errorf("Unexpected number of pods deleted: %d, expected: 2", len(deletedPods.Items)) + } + + if _, err := registry.Get(testContext, podA.Name); !errors.IsNotFound(err) { + t.Errorf("Unexpected error: %v", err) + } + if _, err := registry.Get(testContext, podB.Name); !errors.IsNotFound(err) { + t.Errorf("Unexpected error: %v", err) + } +} + +// Test whether objects deleted with DeleteCollection are correctly delivered +// to watchers. +func TestEtcdDeleteCollectionWithWatch(t *testing.T) { + podA := &api.Pod{ObjectMeta: api.ObjectMeta{Name: "foo"}} + + testContext := api.WithNamespace(api.NewContext(), "test") + server, registry := NewTestGenericEtcdRegistry(t) + defer server.Terminate(t) + + objCreated, err := registry.Create(testContext, podA) + if err != nil { + t.Fatalf("Unexpected error: %v", err) + } + podCreated := objCreated.(*api.Pod) + + watcher, err := registry.WatchPredicate(testContext, setMatcher{sets.NewString("foo")}, podCreated.ResourceVersion) + if err != nil { + t.Fatalf("Unexpected error: %v", err) + } + + if _, err := registry.DeleteCollection(testContext, nil, &unversioned.ListOptions{}); err != nil { + t.Fatalf("Unexpected error: %v", err) + } + + got, open := <-watcher.ResultChan() + if !open { + t.Errorf("Unexpected channel close") + } else { + if got.Type != "DELETED" { + t.Errorf("Unexpected event type: %s", got.Type) + } + gotObject := got.Object.(*api.Pod) + gotObject.ResourceVersion = podCreated.ResourceVersion + if e, a := podCreated, gotObject; !reflect.DeepEqual(e, a) { + t.Errorf("Expected: %#v, got: %#v", e, a) + } + } +} + func TestEtcdWatch(t *testing.T) { testContext := api.WithNamespace(api.NewContext(), "test") noNamespaceContext := api.NewContext()