diff --git a/api/swagger-spec/api.json b/api/swagger-spec/api.json index f86dea5dea4..4d67bc3c053 100644 --- a/api/swagger-spec/api.json +++ b/api/swagger-spec/api.json @@ -1,7 +1,7 @@ { "swaggerVersion": "1.2", "apiVersion": "", - "basePath": "https://127.0.0.1:6443", + "basePath": "127.0.0.1:6443", "resourcePath": "/api", "apis": [ { diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index c7e929d59fd..0feab7f1eb2 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -1,514 +1,9 @@ { "swaggerVersion": "1.2", "apiVersion": "v1beta1", - "basePath": "https://127.0.0.1:6443", + "basePath": "127.0.0.1:6443", "resourcePath": "/api/v1beta1", "apis": [ - { - "path": "/api/v1beta1/replicationControllers/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.ReplicationController", - "method": "GET", - "summary": "read the specified ReplicationController", - "nickname": "readReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified ReplicationController", - "nickname": "replaceReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.ReplicationController", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified ReplicationController", - "nickname": "patchReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.ReplicationController", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a ReplicationController", - "nickname": "deleteReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/limitRanges", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.LimitRangeList", - "method": "GET", - "summary": "watch a list of LimitRange", - "nickname": "watchLimitRangelist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/endpoints", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.EndpointsList", - "method": "GET", - "summary": "watch a list of Endpoints", - "nickname": "watchEndpointslist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/namespaces", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.NamespaceList", - "method": "GET", - "summary": "watch a list of Namespace", - "nickname": "watchNamespacelist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/secrets/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Secret", - "method": "GET", - "summary": "watch a particular Secret", - "nickname": "watchSecret", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Secret", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/proxy/nodes/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Node", - "nickname": "proxyGETNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Node", - "nickname": "proxyPOSTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/pods", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.PodList", - "method": "GET", - "summary": "list objects of kind Pod", - "nickname": "listPod", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Pod", - "nickname": "createPod", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Pod", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/redirect/pods/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "redirect GET request to Pod", - "nickname": "redirectPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/events/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Event", - "method": "GET", - "summary": "watch a particular Event", - "nickname": "watchEvent", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Event", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/redirect/minions/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "redirect GET request to Node", - "nickname": "redirectNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, { "path": "/api/v1beta1/services/{name}", "description": "API at /api/v1beta1 version v1beta1", @@ -651,2431 +146,6 @@ } ] }, - { - "path": "/api/v1beta1/watch/secrets", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.SecretList", - "method": "GET", - "summary": "watch a list of Secret", - "nickname": "watchSecretlist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/nodes/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Minion", - "method": "GET", - "summary": "watch a particular Node", - "nickname": "watchNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/pods/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Pod", - "method": "GET", - "summary": "watch a particular Pod", - "nickname": "watchPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/events", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.EventList", - "method": "GET", - "summary": "list objects of kind Event", - "nickname": "listEvent", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Event", - "nickname": "createEvent", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Event", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/events", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.EventList", - "method": "GET", - "summary": "watch a list of Event", - "nickname": "watchEventlist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/minions", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.MinionList", - "method": "GET", - "summary": "watch a list of Node", - "nickname": "watchNodelist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/endpoints/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Endpoints", - "method": "GET", - "summary": "read the specified Endpoints", - "nickname": "readEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Endpoints", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Endpoints", - "nickname": "replaceEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Endpoints", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Endpoints", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Endpoints", - "nickname": "patchEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Endpoints", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Endpoints", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/nodes", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.MinionList", - "method": "GET", - "summary": "list objects of kind Node", - "nickname": "listNode", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Node", - "nickname": "createNode", - "parameters": [ - { - "type": "v1beta1.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/proxy/pods/{name}/{path:*}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Pod", - "nickname": "proxyGETPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Pod", - "nickname": "proxyPUTPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Pod", - "nickname": "proxyPOSTPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/minions/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Minion", - "method": "GET", - "summary": "watch a particular Node", - "nickname": "watchNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/redirect/services/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "redirect GET request to Service", - "nickname": "redirectService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/limitRanges/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.LimitRange", - "method": "GET", - "summary": "read the specified LimitRange", - "nickname": "readLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified LimitRange", - "nickname": "replaceLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.LimitRange", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified LimitRange", - "nickname": "patchLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.LimitRange", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a LimitRange", - "nickname": "deleteLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/pods/{name}/binding", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Binding", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/pods", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.PodList", - "method": "GET", - "summary": "watch a list of Pod", - "nickname": "watchPodlist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/replicationControllers", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.ReplicationControllerList", - "method": "GET", - "summary": "list objects of kind ReplicationController", - "nickname": "listReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a ReplicationController", - "nickname": "createReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.ReplicationController", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/services", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.ServiceList", - "method": "GET", - "summary": "watch a list of Service", - "nickname": "watchServicelist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/secrets/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Secret", - "method": "GET", - "summary": "read the specified Secret", - "nickname": "readSecret", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Secret", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Secret", - "nickname": "replaceSecret", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Secret", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Secret", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Secret", - "nickname": "patchSecret", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Secret", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Secret", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Secret", - "nickname": "deleteSecret", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Secret", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/resourceQuotas", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.ResourceQuotaList", - "method": "GET", - "summary": "list objects of kind ResourceQuota", - "nickname": "listResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a ResourceQuota", - "nickname": "createResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.ResourceQuota", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/services/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Service", - "method": "GET", - "summary": "watch a particular Service", - "nickname": "watchService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/namespaces/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Namespace", - "method": "GET", - "summary": "watch a particular Namespace", - "nickname": "watchNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/nodes/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Minion", - "method": "GET", - "summary": "read the specified Node", - "nickname": "readNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Node", - "nickname": "replaceNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta1.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Node", - "nickname": "patchNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta1.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Node", - "nickname": "deleteNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/resourceQuotas", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.ResourceQuotaList", - "method": "GET", - "summary": "watch a list of ResourceQuota", - "nickname": "watchResourceQuotalist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/namespaces/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Namespace", - "method": "GET", - "summary": "read the specified Namespace", - "nickname": "readNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Namespace", - "nickname": "replaceNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta1.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Namespace", - "nickname": "patchNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta1.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Namespace", - "nickname": "deleteNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/redirect/nodes/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "redirect GET request to Node", - "nickname": "redirectNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/proxy/services/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Service", - "nickname": "proxyGETService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Service", - "nickname": "proxyPUTService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Service", - "nickname": "proxyPOSTService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Service", - "nickname": "proxyDELETEService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/minions", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.MinionList", - "method": "GET", - "summary": "list objects of kind Node", - "nickname": "listNode", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Node", - "nickname": "createNode", - "parameters": [ - { - "type": "v1beta1.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/bindings", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Binding", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/proxy/services/{name}/{path:*}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Service", - "nickname": "proxyGETService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Service", - "nickname": "proxyPUTService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Service", - "nickname": "proxyPOSTService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Service", - "nickname": "proxyDELETEService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/limitRanges/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.LimitRange", - "method": "GET", - "summary": "watch a particular LimitRange", - "nickname": "watchLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/secrets", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.SecretList", - "method": "GET", - "summary": "list objects of kind Secret", - "nickname": "listSecret", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Secret", - "nickname": "createSecret", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Secret", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/events/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Event", - "method": "GET", - "summary": "read the specified Event", - "nickname": "readEvent", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Event", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Event", - "nickname": "replaceEvent", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Event", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Event", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Event", - "nickname": "patchEvent", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Event", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Event", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Event", - "nickname": "deleteEvent", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Event", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/minions/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Minion", - "method": "GET", - "summary": "read the specified Node", - "nickname": "readNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Node", - "nickname": "replaceNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta1.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Node", - "nickname": "patchNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta1.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Node", - "nickname": "deleteNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/proxy/minions/{name}/{path:*}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Node", - "nickname": "proxyGETNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Node", - "nickname": "proxyPOSTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/resourceQuotas/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.ResourceQuota", - "method": "GET", - "summary": "watch a particular ResourceQuota", - "nickname": "watchResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/endpoints/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.Endpoints", - "method": "GET", - "summary": "watch a particular Endpoints", - "nickname": "watchEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Endpoints", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/namespaces", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.NamespaceList", - "method": "GET", - "summary": "list objects of kind Namespace", - "nickname": "listNamespace", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Namespace", - "nickname": "createNamespace", - "parameters": [ - { - "type": "v1beta1.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/proxy/minions/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Node", - "nickname": "proxyGETNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Node", - "nickname": "proxyPOSTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/endpoints", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.EndpointsList", - "method": "GET", - "summary": "list objects of kind Endpoints", - "nickname": "listEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Endpoints", - "nickname": "createEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Endpoints", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/nodes", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.MinionList", - "method": "GET", - "summary": "watch a list of Node", - "nickname": "watchNodelist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, { "path": "/api/v1beta1/resourceQuotaUsages", "description": "API at /api/v1beta1 version v1beta1", @@ -3113,337 +183,7 @@ ] }, { - "path": "/api/v1beta1/services", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.ServiceList", - "method": "GET", - "summary": "list objects of kind Service", - "nickname": "listService", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Service", - "nickname": "createService", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Service", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/pods/{name}/status", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Pod", - "nickname": "replacePod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.Pod", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/watch/replicationControllers", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.ReplicationControllerList", - "method": "GET", - "summary": "watch a list of ReplicationController", - "nickname": "watchReplicationControllerlist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/resourceQuotas/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.ResourceQuota", - "method": "GET", - "summary": "read the specified ResourceQuota", - "nickname": "readResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified ResourceQuota", - "nickname": "replaceResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.ResourceQuota", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified ResourceQuota", - "nickname": "patchResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.ResourceQuota", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a ResourceQuota", - "nickname": "deleteResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/limitRanges", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ - { - "type": "v1beta1.LimitRangeList", - "method": "GET", - "summary": "list objects of kind LimitRange", - "nickname": "listLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a LimitRange", - "nickname": "createLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta1.LimitRange", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta1/proxy/nodes/{name}/{path:*}", + "path": "/api/v1beta1/proxy/minions/{name}/{path:*}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { @@ -3678,6 +418,1941 @@ } ] }, + { + "path": "/api/v1beta1/events", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.EventList", + "method": "GET", + "summary": "list objects of kind Event", + "nickname": "listEvent", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Event", + "nickname": "createEvent", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Event", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/events/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Event", + "method": "GET", + "summary": "read the specified Event", + "nickname": "readEvent", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Event", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Event", + "nickname": "replaceEvent", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Event", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Event", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Event", + "nickname": "patchEvent", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Event", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Event", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Event", + "nickname": "deleteEvent", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Event", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/proxy/pods/{name}/{path:*}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Pod", + "nickname": "proxyPUTPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Pod", + "nickname": "proxyPOSTPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Pod", + "nickname": "proxyDELETEPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/proxy/services/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Service", + "nickname": "proxyGETService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Service", + "nickname": "proxyPUTService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Service", + "nickname": "proxyPOSTService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Service", + "nickname": "proxyDELETEService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/minions", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.MinionList", + "method": "GET", + "summary": "list objects of kind Node", + "nickname": "listNode", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Node", + "nickname": "createNode", + "parameters": [ + { + "type": "v1beta1.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/minions/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Minion", + "method": "GET", + "summary": "read the specified Node", + "nickname": "readNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Node", + "nickname": "replaceNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta1.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Node", + "nickname": "patchNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta1.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Node", + "nickname": "deleteNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/proxy/nodes/{name}/{path:*}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/pods", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.PodList", + "method": "GET", + "summary": "watch a list of Pod", + "nickname": "watchPodlist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/services", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.ServiceList", + "method": "GET", + "summary": "watch a list of Service", + "nickname": "watchServicelist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/secrets", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.SecretList", + "method": "GET", + "summary": "watch a list of Secret", + "nickname": "watchSecretlist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/secrets/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Secret", + "method": "GET", + "summary": "watch a particular Secret", + "nickname": "watchSecret", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Secret", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/limitRanges", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.LimitRangeList", + "method": "GET", + "summary": "list objects of kind LimitRange", + "nickname": "listLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a LimitRange", + "nickname": "createLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.LimitRange", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/limitRanges/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.LimitRange", + "method": "GET", + "summary": "read the specified LimitRange", + "nickname": "readLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified LimitRange", + "nickname": "replaceLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.LimitRange", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified LimitRange", + "nickname": "patchLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.LimitRange", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a LimitRange", + "nickname": "deleteLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/replicationControllers", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.ReplicationControllerList", + "method": "GET", + "summary": "watch a list of ReplicationController", + "nickname": "watchReplicationControllerlist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/replicationControllers/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.ReplicationController", + "method": "GET", + "summary": "watch a particular ReplicationController", + "nickname": "watchReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ReplicationController", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/namespaces/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Namespace", + "method": "GET", + "summary": "read the specified Namespace", + "nickname": "readNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta1.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Namespace", + "nickname": "patchNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta1.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Namespace", + "nickname": "deleteNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/bindings", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Binding", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/redirect/minions/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "redirect GET request to Node", + "nickname": "redirectNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/endpoints/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Endpoints", + "method": "GET", + "summary": "read the specified Endpoints", + "nickname": "readEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Endpoints", + "nickname": "replaceEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Endpoints", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Endpoints", + "nickname": "patchEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Endpoints", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/resourceQuotas", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.ResourceQuotaList", + "method": "GET", + "summary": "list objects of kind ResourceQuota", + "nickname": "listResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a ResourceQuota", + "nickname": "createResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.ResourceQuota", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/resourceQuotas/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.ResourceQuota", + "method": "GET", + "summary": "read the specified ResourceQuota", + "nickname": "readResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified ResourceQuota", + "nickname": "replaceResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.ResourceQuota", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified ResourceQuota", + "nickname": "patchResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.ResourceQuota", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a ResourceQuota", + "nickname": "deleteResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/endpoints", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.EndpointsList", + "method": "GET", + "summary": "watch a list of Endpoints", + "nickname": "watchEndpointslist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/namespaces", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.NamespaceList", + "method": "GET", + "summary": "watch a list of Namespace", + "nickname": "watchNamespacelist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/nodes/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Minion", + "method": "GET", + "summary": "watch a particular Node", + "nickname": "watchNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/pods/{name}/status", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Pod", + "nickname": "replacePod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Pod", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/nodes", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.MinionList", + "method": "GET", + "summary": "watch a list of Node", + "nickname": "watchNodelist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/proxy/nodes/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/pods/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Pod", + "method": "GET", + "summary": "watch a particular Pod", + "nickname": "watchPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/services/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Service", + "method": "GET", + "summary": "watch a particular Service", + "nickname": "watchService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/events", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.EventList", + "method": "GET", + "summary": "watch a list of Event", + "nickname": "watchEventlist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/events/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Event", + "method": "GET", + "summary": "watch a particular Event", + "nickname": "watchEvent", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Event", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta1/proxy/pods/{name}", "description": "API at /api/v1beta1 version v1beta1", @@ -3805,14 +2480,397 @@ ] }, { - "path": "/api/v1beta1/watch/replicationControllers/{name}", + "path": "/api/v1beta1/proxy/services/{name}/{path:*}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Service", + "nickname": "proxyGETService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Service", + "nickname": "proxyPUTService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Service", + "nickname": "proxyPOSTService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Service", + "nickname": "proxyDELETEService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/minions", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.MinionList", + "method": "GET", + "summary": "watch a list of Node", + "nickname": "watchNodelist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/minions/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Minion", + "method": "GET", + "summary": "watch a particular Node", + "nickname": "watchNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/services", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.ServiceList", + "method": "GET", + "summary": "list objects of kind Service", + "nickname": "listService", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Service", + "nickname": "createService", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Service", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/proxy/minions/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/pods", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.PodList", + "method": "GET", + "summary": "list objects of kind Pod", + "nickname": "listPod", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Pod", + "nickname": "createPod", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Pod", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/replicationControllers/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { "type": "v1beta1.ReplicationController", "method": "GET", - "summary": "watch a particular ReplicationController", - "nickname": "watchReplicationController", + "summary": "read the specified ReplicationController", + "nickname": "readReplicationController", "parameters": [ { "type": "string", @@ -3837,6 +2895,948 @@ "consumes": [ "*/*" ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified ReplicationController", + "nickname": "replaceReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ReplicationController", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.ReplicationController", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified ReplicationController", + "nickname": "patchReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ReplicationController", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.ReplicationController", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a ReplicationController", + "nickname": "deleteReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ReplicationController", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/secrets", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.SecretList", + "method": "GET", + "summary": "list objects of kind Secret", + "nickname": "listSecret", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Secret", + "nickname": "createSecret", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Secret", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/secrets/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Secret", + "method": "GET", + "summary": "read the specified Secret", + "nickname": "readSecret", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Secret", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Secret", + "nickname": "replaceSecret", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Secret", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Secret", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Secret", + "nickname": "patchSecret", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Secret", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Secret", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Secret", + "nickname": "deleteSecret", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Secret", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/limitRanges", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.LimitRangeList", + "method": "GET", + "summary": "watch a list of LimitRange", + "nickname": "watchLimitRangelist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/limitRanges/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.LimitRange", + "method": "GET", + "summary": "watch a particular LimitRange", + "nickname": "watchLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/redirect/services/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "redirect GET request to Service", + "nickname": "redirectService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/replicationControllers", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.ReplicationControllerList", + "method": "GET", + "summary": "list objects of kind ReplicationController", + "nickname": "listReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a ReplicationController", + "nickname": "createReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.ReplicationController", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/endpoints/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Endpoints", + "method": "GET", + "summary": "watch a particular Endpoints", + "nickname": "watchEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/namespaces/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Namespace", + "method": "GET", + "summary": "watch a particular Namespace", + "nickname": "watchNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/resourceQuotas", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.ResourceQuotaList", + "method": "GET", + "summary": "watch a list of ResourceQuota", + "nickname": "watchResourceQuotalist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/watch/resourceQuotas/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.ResourceQuota", + "method": "GET", + "summary": "watch a particular ResourceQuota", + "nickname": "watchResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/redirect/nodes/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "redirect GET request to Node", + "nickname": "redirectNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/pods/{name}/binding", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Binding", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/endpoints", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.EndpointsList", + "method": "GET", + "summary": "list objects of kind Endpoints", + "nickname": "listEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Endpoints", + "nickname": "createEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta1.Endpoints", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/namespaces", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.NamespaceList", + "method": "GET", + "summary": "list objects of kind Namespace", + "nickname": "listNamespace", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Namespace", + "nickname": "createNamespace", + "parameters": [ + { + "type": "v1beta1.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/nodes/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.Minion", + "method": "GET", + "summary": "read the specified Node", + "nickname": "readNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Node", + "nickname": "replaceNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta1.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Node", + "nickname": "patchNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta1.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Node", + "nickname": "deleteNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/redirect/pods/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "redirect GET request to Pod", + "nickname": "redirectPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/nodes", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.MinionList", + "method": "GET", + "summary": "list objects of kind Node", + "nickname": "listNode", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Node", + "nickname": "createNode", + "parameters": [ + { + "type": "v1beta1.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] } ] } @@ -4109,6 +4109,46 @@ "id": "v1beta1.EmptyDirVolumeSource", "properties": {} }, + "v1beta1.EndpointObjectReference": { + "id": "v1beta1.EndpointObjectReference", + "required": [ + "endpoint" + ], + "properties": { + "apiVersion": { + "type": "string", + "description": "API version of the referent" + }, + "endpoint": { + "type": "string", + "description": "endpoint exposed by the referenced object" + }, + "fieldPath": { + "type": "string", + "description": "if referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]" + }, + "kind": { + "type": "string", + "description": "kind of the referent" + }, + "name": { + "type": "string", + "description": "id of the referent" + }, + "namespace": { + "type": "string", + "description": "namespace of the referent" + }, + "resourceVersion": { + "type": "string", + "description": "specific resourceVersion to which this reference is made, if any: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": "types.UID", + "description": "uid of the referent" + } + } + }, "v1beta1.Endpoints": { "id": "v1beta1.Endpoints", "required": [ @@ -4164,6 +4204,15 @@ "type": "string", "description": "URL for the object; populated by the system, read-only" }, + "targetRefs": { + "type": "array", + "items": [ + { + "$ref": "v1beta1.EndpointObjectReference" + } + ], + "description": "list of references to objects providing the endpoints" + }, "uid": { "type": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" @@ -4738,6 +4787,10 @@ "uid": { "type": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" + }, + "unschedulable": { + "type": "boolean", + "description": "disable pod scheduling on the node" } } }, @@ -4935,7 +4988,12 @@ }, "v1beta1.NamespaceStatus": { "id": "v1beta1.NamespaceStatus", - "properties": {} + "properties": { + "phase": { + "type": "v1beta1.NamespacePhase", + "description": "phase is the current lifecycle phase of the namespace" + } + } }, "v1beta1.NodeAddress": { "id": "v1beta1.NodeAddress", @@ -5017,12 +5075,33 @@ ], "description": "conditions is an array of current node conditions" }, + "nodeInfo": { + "type": "v1beta1.NodeSystemInfo", + "description": "node identity is a set of ids/uuids to uniquely identify the node" + }, "phase": { "type": "v1beta1.NodePhase", "description": "node phase is the current lifecycle phase of the node" } } }, + "v1beta1.NodeSystemInfo": { + "id": "v1beta1.NodeSystemInfo", + "required": [ + "machineID", + "systemUUID" + ], + "properties": { + "machineID": { + "type": "string", + "description": "machine id is the machine-id reported by the node" + }, + "systemUUID": { + "type": "string", + "description": "system uuid is the system-uuid reported by the node" + } + } + }, "v1beta1.ObjectReference": { "id": "v1beta1.ObjectReference", "properties": { diff --git a/api/swagger-spec/v1beta2.json b/api/swagger-spec/v1beta2.json index ebcf8973a38..c52cb54c087 100644 --- a/api/swagger-spec/v1beta2.json +++ b/api/swagger-spec/v1beta2.json @@ -1,11 +1,707 @@ { "swaggerVersion": "1.2", "apiVersion": "v1beta2", - "basePath": "https://127.0.0.1:6443", + "basePath": "127.0.0.1:6443", "resourcePath": "/api/v1beta2", "apis": [ { - "path": "/api/v1beta2/proxy/minions/{name}", + "path": "/api/v1beta2/endpoints/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.Endpoints", + "method": "GET", + "summary": "read the specified Endpoints", + "nickname": "readEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Endpoints", + "nickname": "replaceEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.Endpoints", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Endpoints", + "nickname": "patchEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.Endpoints", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/services/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.Service", + "method": "GET", + "summary": "watch a particular Service", + "nickname": "watchService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/namespaces/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.Namespace", + "method": "GET", + "summary": "watch a particular Namespace", + "nickname": "watchNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/resourceQuotas", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.ResourceQuotaList", + "method": "GET", + "summary": "list objects of kind ResourceQuota", + "nickname": "listResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a ResourceQuota", + "nickname": "createResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.ResourceQuota", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/resourceQuotas/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.ResourceQuota", + "method": "GET", + "summary": "read the specified ResourceQuota", + "nickname": "readResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified ResourceQuota", + "nickname": "replaceResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.ResourceQuota", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified ResourceQuota", + "nickname": "patchResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.ResourceQuota", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a ResourceQuota", + "nickname": "deleteResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/proxy/services/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Service", + "nickname": "proxyGETService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Service", + "nickname": "proxyPUTService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Service", + "nickname": "proxyPOSTService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Service", + "nickname": "proxyDELETEService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/pods", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.PodList", + "method": "GET", + "summary": "list objects of kind Pod", + "nickname": "listPod", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Pod", + "nickname": "createPod", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.Pod", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/pods/{name}/binding", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.Binding", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/redirect/services/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "redirect GET request to Service", + "nickname": "redirectService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/secrets", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.SecretList", + "method": "GET", + "summary": "watch a list of Secret", + "nickname": "watchSecretlist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/secrets/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.Secret", + "method": "GET", + "summary": "watch a particular Secret", + "nickname": "watchSecret", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Secret", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/proxy/minions/{name}/{path:*}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { @@ -98,6 +794,42 @@ } ] }, + { + "path": "/api/v1beta2/watch/endpoints/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.Endpoints", + "method": "GET", + "summary": "watch a particular Endpoints", + "nickname": "watchEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta2/watch/pods/{name}", "description": "API at /api/v1beta2 version v1beta2", @@ -134,228 +866,6 @@ } ] }, - { - "path": "/api/v1beta2/watch/events/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.Event", - "method": "GET", - "summary": "watch a particular Event", - "nickname": "watchEvent", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Event", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/pods/{name}/status", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Pod", - "nickname": "replacePod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.Pod", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/pods/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.Pod", - "method": "GET", - "summary": "read the specified Pod", - "nickname": "readPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Pod", - "nickname": "replacePod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.Pod", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Pod", - "nickname": "patchPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.Pod", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Pod", - "nickname": "deletePod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, { "path": "/api/v1beta2/namespaces/{name}", "description": "API at /api/v1beta2 version v1beta2", @@ -467,29 +977,156 @@ ] }, { - "path": "/api/v1beta2/services/{name}", + "path": "/api/v1beta2/proxy/nodes/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Service", + "type": "void", "method": "GET", - "summary": "read the specified Service", - "nickname": "readService", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Node", "required": true, "allowMultiple": false - }, + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", + "parameters": [ { "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/minions", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.MinionList", + "method": "GET", + "summary": "list objects of kind Node", + "nickname": "listNode", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Node", + "nickname": "createNode", + "parameters": [ + { + "type": "v1beta2.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/minions/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.Minion", + "method": "GET", + "summary": "read the specified Node", + "nickname": "readNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, "allowMultiple": false } ], @@ -503,27 +1140,19 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Service", - "nickname": "replaceService", + "summary": "replace the specified Node", + "nickname": "replaceNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Node", "required": true, "allowMultiple": false }, { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.Service", + "type": "v1beta2.Minion", "paramType": "body", "name": "body", "description": "", @@ -541,27 +1170,19 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified Service", - "nickname": "patchService", + "summary": "partially update the specified Node", + "nickname": "patchNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Node", "required": true, "allowMultiple": false }, { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.Service", + "type": "v1beta2.Minion", "paramType": "body", "name": "body", "description": "", @@ -579,529 +1200,16 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Service", - "nickname": "deleteService", + "summary": "delete a Node", + "nickname": "deleteNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Node", "required": true, "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/namespaces", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.NamespaceList", - "method": "GET", - "summary": "list objects of kind Namespace", - "nickname": "listNamespace", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Namespace", - "nickname": "createNamespace", - "parameters": [ - { - "type": "v1beta2.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/pods/{name}/binding", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "void", - "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.Binding", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/proxy/pods/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Pod", - "nickname": "proxyGETPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Pod", - "nickname": "proxyPUTPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Pod", - "nickname": "proxyPOSTPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/limitRanges", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.LimitRangeList", - "method": "GET", - "summary": "list objects of kind LimitRange", - "nickname": "listLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a LimitRange", - "nickname": "createLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.LimitRange", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/namespaces/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.Namespace", - "method": "GET", - "summary": "watch a particular Namespace", - "nickname": "watchNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/resourceQuotas", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.ResourceQuotaList", - "method": "GET", - "summary": "list objects of kind ResourceQuota", - "nickname": "listResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a ResourceQuota", - "nickname": "createResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.ResourceQuota", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/replicationControllers/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.ReplicationController", - "method": "GET", - "summary": "watch a particular ReplicationController", - "nickname": "watchReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/pods", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.PodList", - "method": "GET", - "summary": "watch a list of Pod", - "nickname": "watchPodlist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/endpoints", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.EndpointsList", - "method": "GET", - "summary": "list objects of kind Endpoints", - "nickname": "listEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Endpoints", - "nickname": "createEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.Endpoints", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/secrets/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.Secret", - "method": "GET", - "summary": "watch a particular Secret", - "nickname": "watchSecret", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Secret", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false } ], "produces": [ @@ -1171,744 +1279,6 @@ } ] }, - { - "path": "/api/v1beta2/watch/events", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.EventList", - "method": "GET", - "summary": "watch a list of Event", - "nickname": "watchEventlist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/proxy/pods/{name}/{path:*}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Pod", - "nickname": "proxyGETPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Pod", - "nickname": "proxyPUTPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Pod", - "nickname": "proxyPOSTPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/services/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.Service", - "method": "GET", - "summary": "watch a particular Service", - "nickname": "watchService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/proxy/services/{name}/{path:*}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Service", - "nickname": "proxyGETService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Service", - "nickname": "proxyPUTService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Service", - "nickname": "proxyPOSTService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Service", - "nickname": "proxyDELETEService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/limitRanges/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.LimitRange", - "method": "GET", - "summary": "read the specified LimitRange", - "nickname": "readLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified LimitRange", - "nickname": "replaceLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.LimitRange", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified LimitRange", - "nickname": "patchLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.LimitRange", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a LimitRange", - "nickname": "deleteLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/endpoints/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.Endpoints", - "method": "GET", - "summary": "watch a particular Endpoints", - "nickname": "watchEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Endpoints", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/secrets", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.SecretList", - "method": "GET", - "summary": "watch a list of Secret", - "nickname": "watchSecretlist", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/minions", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.MinionList", - "method": "GET", - "summary": "watch a list of Node", - "nickname": "watchNodelist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/namespaces", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.NamespaceList", - "method": "GET", - "summary": "watch a list of Namespace", - "nickname": "watchNamespacelist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/resourceQuotaUsages", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "void", - "method": "POST", - "summary": "create a ResourceQuotaUsage", - "nickname": "createResourceQuotaUsage", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.ResourceQuotaUsage", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/replicationControllers/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.ReplicationController", - "method": "GET", - "summary": "read the specified ReplicationController", - "nickname": "readReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified ReplicationController", - "nickname": "replaceReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.ReplicationController", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified ReplicationController", - "nickname": "patchReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.ReplicationController", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a ReplicationController", - "nickname": "deleteReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, { "path": "/api/v1beta2/events/{name}", "description": "API at /api/v1beta2 version v1beta2", @@ -2052,20 +1422,114 @@ ] }, { - "path": "/api/v1beta2/watch/minions/{name}", + "path": "/api/v1beta2/watch/resourceQuotas", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Minion", + "type": "v1beta2.ResourceQuotaList", "method": "GET", - "summary": "watch a particular Node", - "nickname": "watchNode", + "summary": "watch a list of ResourceQuota", + "nickname": "watchResourceQuotalist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/resourceQuotas/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.ResourceQuota", + "method": "GET", + "summary": "watch a particular ResourceQuota", + "nickname": "watchResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/services", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.ServiceList", + "method": "GET", + "summary": "list objects of kind Service", + "nickname": "listService", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Service", + "nickname": "createService", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.Service", + "paramType": "body", + "name": "body", + "description": "", "required": true, "allowMultiple": false } @@ -2080,78 +1544,14 @@ ] }, { - "path": "/api/v1beta2/redirect/minions/{name}", + "path": "/api/v1beta2/pods/{name}/status", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { "type": "void", - "method": "GET", - "summary": "redirect GET request to Node", - "nickname": "redirectNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/redirect/services/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "redirect GET request to Service", - "nickname": "redirectService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/redirect/pods/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "redirect GET request to Pod", - "nickname": "redirectPod", + "method": "PUT", + "summary": "replace the specified Pod", + "nickname": "replacePod", "parameters": [ { "type": "string", @@ -2168,59 +1568,9 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/nodes/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.Minion", - "method": "GET", - "summary": "read the specified Node", - "nickname": "readNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Node", - "nickname": "replaceNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false }, { - "type": "v1beta2.Minion", + "type": "v1beta2.Pod", "paramType": "body", "name": "body", "description": "", @@ -2234,104 +1584,30 @@ "consumes": [ "*/*" ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Node", - "nickname": "patchNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta2.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Node", - "nickname": "deleteNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] } ] }, { - "path": "/api/v1beta2/proxy/nodes/{name}/{path:*}", + "path": "/api/v1beta2/secrets", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.SecretList", "method": "GET", - "summary": "proxy GET requests to Node", - "nickname": "proxyGETNode", + "summary": "list objects of kind Secret", + "nickname": "listSecret", "parameters": [ { "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, "allowMultiple": false } ], "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -2340,168 +1616,8 @@ { "type": "void", "method": "POST", - "summary": "proxy POST requests to Node", - "nickname": "proxyPOSTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/minions/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.Minion", - "method": "GET", - "summary": "read the specified Node", - "nickname": "readNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Node", - "nickname": "replaceNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta2.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Node", - "nickname": "patchNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta2.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Node", - "nickname": "deleteNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/resourceQuotas", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.ResourceQuotaList", - "method": "GET", - "summary": "watch a list of ResourceQuota", - "nickname": "watchResourceQuotalist", + "summary": "create a Secret", + "nickname": "createSecret", "parameters": [ { "type": "string", @@ -2510,6 +1626,14 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false + }, + { + "type": "v1beta2.Secret", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -2664,14 +1788,165 @@ ] }, { - "path": "/api/v1beta2/replicationControllers", + "path": "/api/v1beta2/nodes", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.ReplicationControllerList", + "type": "v1beta2.MinionList", "method": "GET", - "summary": "list objects of kind ReplicationController", - "nickname": "listReplicationController", + "summary": "list objects of kind Node", + "nickname": "listNode", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Node", + "nickname": "createNode", + "parameters": [ + { + "type": "v1beta2.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/nodes/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.Minion", + "method": "GET", + "summary": "read the specified Node", + "nickname": "readNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Node", + "nickname": "replaceNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta2.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Node", + "nickname": "patchNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta2.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Node", + "nickname": "deleteNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/limitRanges", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.LimitRangeList", + "method": "GET", + "summary": "list objects of kind LimitRange", + "nickname": "listLimitRange", "parameters": [ { "type": "string", @@ -2692,8 +1967,8 @@ { "type": "void", "method": "POST", - "summary": "create a ReplicationController", - "nickname": "createReplicationController", + "summary": "create a LimitRange", + "nickname": "createLimitRange", "parameters": [ { "type": "string", @@ -2704,7 +1979,7 @@ "allowMultiple": false }, { - "type": "v1beta2.ReplicationController", + "type": "v1beta2.LimitRange", "paramType": "body", "name": "body", "description": "", @@ -2722,14 +1997,120 @@ ] }, { - "path": "/api/v1beta2/watch/limitRanges/{name}", + "path": "/api/v1beta2/limitRanges/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { "type": "v1beta2.LimitRange", "method": "GET", - "summary": "watch a particular LimitRange", - "nickname": "watchLimitRange", + "summary": "read the specified LimitRange", + "nickname": "readLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified LimitRange", + "nickname": "replaceLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.LimitRange", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified LimitRange", + "nickname": "patchLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.LimitRange", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a LimitRange", + "nickname": "deleteLimitRange", "parameters": [ { "type": "string", @@ -2758,7 +2139,240 @@ ] }, { - "path": "/api/v1beta2/watch/nodes/{name}", + "path": "/api/v1beta2/pods/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.Pod", + "method": "GET", + "summary": "read the specified Pod", + "nickname": "readPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Pod", + "nickname": "replacePod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.Pod", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Pod", + "nickname": "patchPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.Pod", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Pod", + "nickname": "deletePod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/bindings", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.Binding", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/resourceQuotaUsages", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "POST", + "summary": "create a ResourceQuotaUsage", + "nickname": "createResourceQuotaUsage", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.ResourceQuotaUsage", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/minions", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.MinionList", + "method": "GET", + "summary": "watch a list of Node", + "nickname": "watchNodelist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/minions/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { @@ -2786,33 +2400,14 @@ ] }, { - "path": "/api/v1beta2/watch/nodes", + "path": "/api/v1beta2/watch/events", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.MinionList", + "type": "v1beta2.EventList", "method": "GET", - "summary": "watch a list of Node", - "nickname": "watchNodelist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/services", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.ServiceList", - "method": "GET", - "summary": "watch a list of Service", - "nickname": "watchServicelist", + "summary": "watch a list of Event", + "nickname": "watchEventlist", "parameters": [ { "type": "string", @@ -2833,15 +2428,23 @@ ] }, { - "path": "/api/v1beta2/watch/limitRanges", + "path": "/api/v1beta2/watch/events/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.LimitRangeList", + "type": "v1beta2.Event", "method": "GET", - "summary": "watch a list of LimitRange", - "nickname": "watchLimitRangelist", + "summary": "watch a particular Event", + "nickname": "watchEvent", "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Event", + "required": true, + "allowMultiple": false + }, { "type": "string", "paramType": "query", @@ -2861,15 +2464,23 @@ ] }, { - "path": "/api/v1beta2/watch/endpoints", + "path": "/api/v1beta2/proxy/pods/{name}/{path:*}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.EndpointsList", + "type": "void", "method": "GET", - "summary": "watch a list of Endpoints", - "nickname": "watchEndpointslist", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, { "type": "string", "paramType": "query", @@ -2880,7 +2491,97 @@ } ], "produces": [ - "application/json" + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Pod", + "nickname": "proxyPUTPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Pod", + "nickname": "proxyPOSTPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Pod", + "nickname": "proxyDELETEPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" ], "consumes": [ "*/*" @@ -2889,7 +2590,7 @@ ] }, { - "path": "/api/v1beta2/proxy/nodes/{name}", + "path": "/api/v1beta2/proxy/minions/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { @@ -2983,14 +2684,14 @@ ] }, { - "path": "/api/v1beta2/secrets", + "path": "/api/v1beta2/endpoints", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.SecretList", + "type": "v1beta2.EndpointsList", "method": "GET", - "summary": "list objects of kind Secret", - "nickname": "listSecret", + "summary": "list objects of kind Endpoints", + "nickname": "listEndpoints", "parameters": [ { "type": "string", @@ -3011,8 +2712,8 @@ { "type": "void", "method": "POST", - "summary": "create a Secret", - "nickname": "createSecret", + "summary": "create a Endpoints", + "nickname": "createEndpoints", "parameters": [ { "type": "string", @@ -3023,7 +2724,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Secret", + "type": "v1beta2.Endpoints", "paramType": "body", "name": "body", "description": "", @@ -3040,6 +2741,211 @@ } ] }, + { + "path": "/api/v1beta2/watch/services", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.ServiceList", + "method": "GET", + "summary": "watch a list of Service", + "nickname": "watchServicelist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/namespaces", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.NamespaceList", + "method": "GET", + "summary": "watch a list of Namespace", + "nickname": "watchNamespacelist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/redirect/nodes/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "redirect GET request to Node", + "nickname": "redirectNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/proxy/nodes/{name}/{path:*}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/redirect/pods/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "redirect GET request to Pod", + "nickname": "redirectPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta2/watch/replicationControllers", "description": "API at /api/v1beta2 version v1beta2", @@ -3069,7 +2975,450 @@ ] }, { - "path": "/api/v1beta2/proxy/services/{name}", + "path": "/api/v1beta2/watch/replicationControllers/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.ReplicationController", + "method": "GET", + "summary": "watch a particular ReplicationController", + "nickname": "watchReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ReplicationController", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/nodes", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.MinionList", + "method": "GET", + "summary": "watch a list of Node", + "nickname": "watchNodelist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/nodes/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.Minion", + "method": "GET", + "summary": "watch a particular Node", + "nickname": "watchNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/limitRanges", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.LimitRangeList", + "method": "GET", + "summary": "watch a list of LimitRange", + "nickname": "watchLimitRangelist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/watch/limitRanges/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.LimitRange", + "method": "GET", + "summary": "watch a particular LimitRange", + "nickname": "watchLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/redirect/minions/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "redirect GET request to Node", + "nickname": "redirectNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/services/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.Service", + "method": "GET", + "summary": "read the specified Service", + "nickname": "readService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Service", + "nickname": "replaceService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.Service", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Service", + "nickname": "patchService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + }, + { + "type": "v1beta2.Service", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Service", + "nickname": "deleteService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/proxy/pods/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Pod", + "nickname": "proxyPUTPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Pod", + "nickname": "proxyPOSTPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Pod", + "nickname": "proxyDELETEPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/proxy/services/{name}/{path:*}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { @@ -3195,92 +3544,26 @@ ] }, { - "path": "/api/v1beta2/proxy/minions/{name}/{path:*}", + "path": "/api/v1beta2/watch/endpoints", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.EndpointsList", "method": "GET", - "summary": "proxy GET requests to Node", - "nickname": "proxyGETNode", + "summary": "watch a list of Endpoints", + "nickname": "watchEndpointslist", "parameters": [ { "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, "allowMultiple": false } ], "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Node", - "nickname": "proxyPOSTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -3289,14 +3572,83 @@ ] }, { - "path": "/api/v1beta2/pods", + "path": "/api/v1beta2/watch/pods", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { "type": "v1beta2.PodList", "method": "GET", - "summary": "list objects of kind Pod", - "nickname": "listPod", + "summary": "watch a list of Pod", + "nickname": "watchPodlist", + "parameters": [ + { + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/namespaces", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.NamespaceList", + "method": "GET", + "summary": "list objects of kind Namespace", + "nickname": "listNamespace", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Namespace", + "nickname": "createNamespace", + "parameters": [ + { + "type": "v1beta2.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/replicationControllers", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.ReplicationControllerList", + "method": "GET", + "summary": "list objects of kind ReplicationController", + "nickname": "listReplicationController", "parameters": [ { "type": "string", @@ -3317,8 +3669,8 @@ { "type": "void", "method": "POST", - "summary": "create a Pod", - "nickname": "createPod", + "summary": "create a ReplicationController", + "nickname": "createReplicationController", "parameters": [ { "type": "string", @@ -3329,7 +3681,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Pod", + "type": "v1beta2.ReplicationController", "paramType": "body", "name": "body", "description": "", @@ -3347,20 +3699,20 @@ ] }, { - "path": "/api/v1beta2/endpoints/{name}", + "path": "/api/v1beta2/replicationControllers/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Endpoints", + "type": "v1beta2.ReplicationController", "method": "GET", - "summary": "read the specified Endpoints", - "nickname": "readEndpoints", + "summary": "read the specified ReplicationController", + "nickname": "readReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -3383,14 +3735,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Endpoints", - "nickname": "replaceEndpoints", + "summary": "replace the specified ReplicationController", + "nickname": "replaceReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -3403,7 +3755,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Endpoints", + "type": "v1beta2.ReplicationController", "paramType": "body", "name": "body", "description": "", @@ -3421,14 +3773,14 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified Endpoints", - "nickname": "patchEndpoints", + "summary": "partially update the specified ReplicationController", + "nickname": "patchReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -3441,359 +3793,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Endpoints", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/redirect/nodes/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "redirect GET request to Node", - "nickname": "redirectNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/minions", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.MinionList", - "method": "GET", - "summary": "list objects of kind Node", - "nickname": "listNode", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Node", - "nickname": "createNode", - "parameters": [ - { - "type": "v1beta2.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/watch/resourceQuotas/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.ResourceQuota", - "method": "GET", - "summary": "watch a particular ResourceQuota", - "nickname": "watchResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/bindings", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "void", - "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.Binding", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/services", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.ServiceList", - "method": "GET", - "summary": "list objects of kind Service", - "nickname": "listService", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Service", - "nickname": "createService", - "parameters": [ - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.Service", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/nodes", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.MinionList", - "method": "GET", - "summary": "list objects of kind Node", - "nickname": "listNode", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Node", - "nickname": "createNode", - "parameters": [ - { - "type": "v1beta2.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta2/resourceQuotas/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.ResourceQuota", - "method": "GET", - "summary": "read the specified ResourceQuota", - "nickname": "readResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified ResourceQuota", - "nickname": "replaceResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.ResourceQuota", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified ResourceQuota", - "nickname": "patchResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false - }, - { - "type": "v1beta2.ResourceQuota", + "type": "v1beta2.ReplicationController", "paramType": "body", "name": "body", "description": "", @@ -3811,14 +3811,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a ResourceQuota", - "nickname": "deleteResourceQuota", + "summary": "delete a ReplicationController", + "nickname": "deleteReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -4109,6 +4109,46 @@ "id": "v1beta2.EmptyDirVolumeSource", "properties": {} }, + "v1beta2.EndpointObjectReference": { + "id": "v1beta2.EndpointObjectReference", + "required": [ + "endpoint" + ], + "properties": { + "apiVersion": { + "type": "string", + "description": "API version of the referent" + }, + "endpoint": { + "type": "string", + "description": "endpoint exposed by the referenced object" + }, + "fieldPath": { + "type": "string", + "description": "if referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]" + }, + "kind": { + "type": "string", + "description": "kind of the referent" + }, + "name": { + "type": "string", + "description": "id of the referent" + }, + "namespace": { + "type": "string", + "description": "namespace of the referent" + }, + "resourceVersion": { + "type": "string", + "description": "specific resourceVersion to which this reference is made, if any: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" + }, + "uid": { + "type": "types.UID", + "description": "uid of the referent" + } + } + }, "v1beta2.Endpoints": { "id": "v1beta2.Endpoints", "required": [ @@ -4164,6 +4204,15 @@ "type": "string", "description": "URL for the object; populated by the system, read-only" }, + "targetRefs": { + "type": "array", + "items": [ + { + "$ref": "v1beta2.EndpointObjectReference" + } + ], + "description": "list of references to objects providing the endpoints" + }, "uid": { "type": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" @@ -4734,6 +4783,10 @@ "uid": { "type": "types.UID", "description": "unique UUID across space and time; populated by the system, read-only" + }, + "unschedulable": { + "type": "boolean", + "description": "disable pod scheduling on the node" } } }, @@ -4922,7 +4975,12 @@ }, "v1beta2.NamespaceStatus": { "id": "v1beta2.NamespaceStatus", - "properties": {} + "properties": { + "phase": { + "type": "v1beta2.NamespacePhase", + "description": "phase is the current lifecycle phase of the namespace" + } + } }, "v1beta2.NodeAddress": { "id": "v1beta2.NodeAddress", @@ -5004,12 +5062,33 @@ ], "description": "conditions is an array of current node conditions" }, + "nodeInfo": { + "type": "v1beta2.NodeSystemInfo", + "description": "node identity is a set of ids/uuids to uniquely identify the node" + }, "phase": { "type": "v1beta2.NodePhase", "description": "node phase is the current lifecycle phase of the node" } } }, + "v1beta2.NodeSystemInfo": { + "id": "v1beta2.NodeSystemInfo", + "required": [ + "machineID", + "systemUUID" + ], + "properties": { + "machineID": { + "type": "string", + "description": "machine id is the machine-id reported by the node" + }, + "systemUUID": { + "type": "string", + "description": "system uuid is the system-uuid reported by the node" + } + } + }, "v1beta2.ObjectReference": { "id": "v1beta2.ObjectReference", "properties": { diff --git a/api/swagger-spec/v1beta3.json b/api/swagger-spec/v1beta3.json index 262fd115b01..d5385213ba3 100644 --- a/api/swagger-spec/v1beta3.json +++ b/api/swagger-spec/v1beta3.json @@ -1,330 +1,18 @@ { "swaggerVersion": "1.2", "apiVersion": "v1beta3", - "basePath": "https://127.0.0.1:6443", + "basePath": "127.0.0.1:6443", "resourcePath": "/api/v1beta3", "apis": [ { - "path": "/api/v1beta3/namespaces/{namespaces}/pods", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.PodList", - "method": "GET", - "summary": "list objects of kind Pod", - "nickname": "listPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Pod", - "nickname": "createPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Pod", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/bindings", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "void", - "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Binding", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/nodes/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.Node", - "method": "GET", - "summary": "watch a particular Node", - "nickname": "watchNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.NamespaceList", - "method": "GET", - "summary": "watch a list of Namespace", - "nickname": "watchNamespacelist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/redirect/namespaces/{namespaces}/services/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "redirect GET request to Service", - "nickname": "redirectService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/replicationcontrollers", + "path": "/api/v1beta3/watch/replicationcontrollers", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { "type": "v1beta3.ReplicationControllerList", "method": "GET", - "summary": "list objects of kind ReplicationController", - "nickname": "listReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a ReplicationController", - "nickname": "createReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.ReplicationController", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/events/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.Event", - "method": "GET", - "summary": "watch a particular Event", - "nickname": "watchEvent", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Event", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/nodes", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.NodeList", - "method": "GET", - "summary": "list objects of kind Node", - "nickname": "listNode", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Node", - "nickname": "createNode", - "parameters": [ - { - "type": "v1beta3.Node", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/nodes", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.NodeList", - "method": "GET", - "summary": "watch a list of Node", - "nickname": "watchNodelist", + "summary": "watch a list of ReplicationController", + "nickname": "watchReplicationControllerlist", "parameters": [], "produces": [ "application/json" @@ -336,7 +24,7 @@ ] }, { - "path": "/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}/{path:*}", + "path": "/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { @@ -462,14 +150,176 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/limitranges", + "path": "/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.LimitRangeList", + "type": "void", "method": "GET", - "summary": "list objects of kind LimitRange", - "nickname": "listLimitRange", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Pod", + "nickname": "proxyPUTPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Pod", + "nickname": "proxyPOSTPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Pod", + "nickname": "proxyDELETEPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/binding", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "void", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Binding", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/endpoints", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.EndpointsList", + "method": "GET", + "summary": "list objects of kind Endpoints", + "nickname": "listEndpoints", "parameters": [ { "type": "string", @@ -490,8 +340,8 @@ { "type": "void", "method": "POST", - "summary": "create a LimitRange", - "nickname": "createLimitRange", + "summary": "create a Endpoints", + "nickname": "createEndpoints", "parameters": [ { "type": "string", @@ -502,7 +352,580 @@ "allowMultiple": false }, { - "type": "v1beta3.LimitRange", + "type": "v1beta3.Endpoints", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/services", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ServiceList", + "method": "GET", + "summary": "watch a list of Service", + "nickname": "watchServicelist", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.Namespace", + "method": "GET", + "summary": "read the specified Namespace", + "nickname": "readNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Namespace", + "nickname": "patchNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Namespace", + "nickname": "deleteNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/resourcequotas", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ResourceQuotaList", + "method": "GET", + "summary": "watch a list of ResourceQuota", + "nickname": "watchResourceQuotalist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/resourcequotausages", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "void", + "method": "POST", + "summary": "create a ResourceQuotaUsage", + "nickname": "createResourceQuotaUsage", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.ResourceQuotaUsage", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/services/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.Service", + "method": "GET", + "summary": "read the specified Service", + "nickname": "readService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Service", + "nickname": "replaceService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Service", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Service", + "nickname": "patchService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Service", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Service", + "nickname": "deleteService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.Pod", + "method": "GET", + "summary": "read the specified Pod", + "nickname": "readPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Pod", + "nickname": "replacePod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Pod", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Pod", + "nickname": "patchPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Pod", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Pod", + "nickname": "deletePod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/pods", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.PodList", + "method": "GET", + "summary": "watch a list of Pod", + "nickname": "watchPodlist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/secrets", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.SecretList", + "method": "GET", + "summary": "list objects of kind Secret", + "nickname": "listSecret", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/events", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.EventList", + "method": "GET", + "summary": "list objects of kind Event", + "nickname": "listEvent", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Event", + "nickname": "createEvent", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Event", "paramType": "body", "name": "body", "description": "", @@ -662,7 +1085,337 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/binding", + "path": "/api/v1beta3/watch/namespaces/{namespaces}/endpoints", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.EndpointsList", + "method": "GET", + "summary": "watch a list of Endpoints", + "nickname": "watchEndpointslist", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.Namespace", + "method": "GET", + "summary": "watch a particular Namespace", + "nickname": "watchNamespace", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/limitranges", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.LimitRangeList", + "method": "GET", + "summary": "list objects of kind LimitRange", + "nickname": "listLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a LimitRange", + "nickname": "createLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.LimitRange", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/limitranges/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.LimitRange", + "method": "GET", + "summary": "read the specified LimitRange", + "nickname": "readLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified LimitRange", + "nickname": "replaceLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.LimitRange", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified LimitRange", + "nickname": "patchLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.LimitRange", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a LimitRange", + "nickname": "deleteLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/events", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.EventList", + "method": "GET", + "summary": "watch a list of Event", + "nickname": "watchEventlist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/resourcequotas", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ResourceQuotaList", + "method": "GET", + "summary": "list objects of kind ResourceQuota", + "nickname": "listResourceQuota", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/redirect/namespaces/{namespaces}/services/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "redirect GET request to Service", + "nickname": "redirectService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/bindings", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { @@ -697,233 +1450,6 @@ } ] }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/resourcequotas", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ResourceQuotaList", - "method": "GET", - "summary": "list objects of kind ResourceQuota", - "nickname": "listResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a ResourceQuota", - "nickname": "createResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.ResourceQuota", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/pods", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.PodList", - "method": "GET", - "summary": "watch a list of Pod", - "nickname": "watchPodlist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/events", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.EventList", - "method": "GET", - "summary": "watch a list of Event", - "nickname": "watchEventlist", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/redirect/nodes/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "redirect GET request to Node", - "nickname": "redirectNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/resourcequotausages", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "void", - "method": "POST", - "summary": "create a ResourceQuotaUsage", - "nickname": "createResourceQuotaUsage", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.ResourceQuotaUsage", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/secrets", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.SecretList", - "method": "GET", - "summary": "list objects of kind Secret", - "nickname": "listSecret", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Secret", - "nickname": "createSecret", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Secret", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, { "path": "/api/v1beta3/namespaces/{namespaces}/endpoints/{name}", "description": "API at /api/v1beta3 version v1beta3", @@ -1037,20 +1563,133 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}", + "path": "/api/v1beta3/watch/namespaces/{namespaces}/services/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Pod", + "type": "v1beta3.Service", "method": "GET", - "summary": "read the specified Pod", - "nickname": "readPod", + "summary": "watch a particular Service", + "nickname": "watchService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/services", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ServiceList", + "method": "GET", + "summary": "watch a list of Service", + "nickname": "watchServicelist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/resourcequotas", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ResourceQuotaList", + "method": "GET", + "summary": "list objects of kind ResourceQuota", + "nickname": "listResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a ResourceQuota", + "nickname": "createResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.ResourceQuota", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/resourcequotas/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ResourceQuota", + "method": "GET", + "summary": "read the specified ResourceQuota", + "nickname": "readResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -1070,6 +1709,641 @@ "*/*" ] }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified ResourceQuota", + "nickname": "replaceResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.ResourceQuota", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified ResourceQuota", + "nickname": "patchResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.ResourceQuota", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a ResourceQuota", + "nickname": "deleteResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/limitranges", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.LimitRangeList", + "method": "GET", + "summary": "watch a list of LimitRange", + "nickname": "watchLimitRangelist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/secrets", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.SecretList", + "method": "GET", + "summary": "watch a list of Secret", + "nickname": "watchSecretlist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/nodes", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.NodeList", + "method": "GET", + "summary": "watch a list of Node", + "nickname": "watchNodelist", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/nodes/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.Node", + "method": "GET", + "summary": "watch a particular Node", + "nickname": "watchNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/events", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.EventList", + "method": "GET", + "summary": "watch a list of Event", + "nickname": "watchEventlist", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/events/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.Event", + "method": "GET", + "summary": "watch a particular Event", + "nickname": "watchEvent", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Event", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}/{path:*}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Service", + "nickname": "proxyGETService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Service", + "nickname": "proxyPUTService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Service", + "nickname": "proxyPOSTService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Service", + "nickname": "proxyDELETEService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Service", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}/{path:*}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Pod", + "nickname": "proxyPUTPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Pod", + "nickname": "proxyPOSTPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Pod", + "nickname": "proxyDELETEPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/proxy/nodes/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/pods", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.PodList", + "method": "GET", + "summary": "watch a list of Pod", + "nickname": "watchPodlist", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/status", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ { "type": "void", "method": "PUT", @@ -1107,86 +2381,18 @@ "consumes": [ "*/*" ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Pod", - "nickname": "patchPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Pod", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Pod", - "nickname": "deletePod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] } ] }, { - "path": "/api/v1beta3/watch/replicationcontrollers", + "path": "/api/v1beta3/events", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.ReplicationControllerList", + "type": "v1beta3.EventList", "method": "GET", - "summary": "watch a list of ReplicationController", - "nickname": "watchReplicationControllerlist", + "summary": "list objects of kind Event", + "nickname": "listEvent", "parameters": [], "produces": [ "application/json" @@ -1198,14 +2404,278 @@ ] }, { - "path": "/api/v1beta3/watch/events", + "path": "/api/v1beta3/watch/namespaces/{namespaces}/replicationcontrollers", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.EventList", + "type": "v1beta3.ReplicationControllerList", "method": "GET", - "summary": "watch a list of Event", - "nickname": "watchEventlist", + "summary": "watch a list of ReplicationController", + "nickname": "watchReplicationControllerlist", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/replicationcontrollers/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ReplicationController", + "method": "GET", + "summary": "watch a particular ReplicationController", + "nickname": "watchReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ReplicationController", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/limitranges", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.LimitRangeList", + "method": "GET", + "summary": "watch a list of LimitRange", + "nickname": "watchLimitRangelist", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/limitranges/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.LimitRange", + "method": "GET", + "summary": "watch a particular LimitRange", + "nickname": "watchLimitRange", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the LimitRange", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/secrets", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.SecretList", + "method": "GET", + "summary": "watch a list of Secret", + "nickname": "watchSecretlist", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/secrets/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.Secret", + "method": "GET", + "summary": "watch a particular Secret", + "nickname": "watchSecret", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Secret", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/redirect/namespaces/{namespaces}/pods/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "void", + "method": "GET", + "summary": "redirect GET request to Pod", + "nickname": "redirectPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Pod", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "*/*" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/endpoints/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.Endpoints", + "method": "GET", + "summary": "watch a particular Endpoints", + "nickname": "watchEndpoints", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Endpoints", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/endpoints", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.EndpointsList", + "method": "GET", + "summary": "watch a list of Endpoints", + "nickname": "watchEndpointslist", "parameters": [], "produces": [ "application/json" @@ -1236,14 +2706,244 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/secrets", + "path": "/api/v1beta3/namespaces", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.SecretList", + "type": "v1beta3.NamespaceList", "method": "GET", - "summary": "watch a list of Secret", - "nickname": "watchSecretlist", + "summary": "list objects of kind Namespace", + "nickname": "listNamespace", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Namespace", + "nickname": "createNamespace", + "parameters": [ + { + "type": "v1beta3.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/replicationcontrollers", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ReplicationControllerList", + "method": "GET", + "summary": "list objects of kind ReplicationController", + "nickname": "listReplicationController", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/limitranges", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.LimitRangeList", + "method": "GET", + "summary": "list objects of kind LimitRange", + "nickname": "listLimitRange", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/nodes", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.NodeList", + "method": "GET", + "summary": "list objects of kind Node", + "nickname": "listNode", + "parameters": [], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Node", + "nickname": "createNode", + "parameters": [ + { + "type": "v1beta3.Node", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/nodes/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.Node", + "method": "GET", + "summary": "read the specified Node", + "nickname": "readNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PUT", + "summary": "replace the specified Node", + "nickname": "replaceNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Node", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "PATCH", + "summary": "partially update the specified Node", + "nickname": "patchNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Node", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "DELETE", + "summary": "delete a Node", + "nickname": "deleteNode", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/resourcequotas", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ResourceQuotaList", + "method": "GET", + "summary": "watch a list of ResourceQuota", + "nickname": "watchResourceQuotalist", "parameters": [ { "type": "string", @@ -1263,6 +2963,216 @@ } ] }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/resourcequotas/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ResourceQuota", + "method": "GET", + "summary": "watch a particular ResourceQuota", + "nickname": "watchResourceQuota", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the ResourceQuota", + "required": true, + "allowMultiple": false + }, + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/services", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ServiceList", + "method": "GET", + "summary": "list objects of kind Service", + "nickname": "listService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Service", + "nickname": "createService", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Service", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/pods", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.PodList", + "method": "GET", + "summary": "list objects of kind Pod", + "nickname": "listPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a Pod", + "nickname": "createPod", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.Pod", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/replicationcontrollers", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ReplicationControllerList", + "method": "GET", + "summary": "list objects of kind ReplicationController", + "nickname": "listReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + }, + { + "type": "void", + "method": "POST", + "summary": "create a ReplicationController", + "nickname": "createReplicationController", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta3.ReplicationController", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, { "path": "/api/v1beta3/namespaces/{namespaces}/replicationcontrollers/{name}", "description": "API at /api/v1beta3 version v1beta3", @@ -1406,201 +3316,7 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/services", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ServiceList", - "method": "GET", - "summary": "watch a list of Service", - "nickname": "watchServicelist", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/endpoints", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.EndpointsList", - "method": "GET", - "summary": "watch a list of Endpoints", - "nickname": "watchEndpointslist", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/endpoints", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.EndpointsList", - "method": "GET", - "summary": "list objects of kind Endpoints", - "nickname": "listEndpoints", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/redirect/namespaces/{namespaces}/pods/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "redirect GET request to Pod", - "nickname": "redirectPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/services/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.Service", - "method": "GET", - "summary": "watch a particular Service", - "nickname": "watchService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/limitranges", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.LimitRangeList", - "method": "GET", - "summary": "watch a list of LimitRange", - "nickname": "watchLimitRangelist", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/resourcequotas", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ResourceQuotaList", - "method": "GET", - "summary": "list objects of kind ResourceQuota", - "nickname": "listResourceQuota", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/secrets", + "path": "/api/v1beta3/namespaces/{namespaces}/secrets", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { @@ -1608,119 +3324,6 @@ "method": "GET", "summary": "list objects of kind Secret", "nickname": "listSecret", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/proxy/nodes/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Node", - "nickname": "proxyGETNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Node", - "nickname": "proxyPOSTNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/services", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ServiceList", - "method": "GET", - "summary": "list objects of kind Service", - "nickname": "listService", "parameters": [ { "type": "string", @@ -1741,8 +3344,8 @@ { "type": "void", "method": "POST", - "summary": "create a Service", - "nickname": "createService", + "summary": "create a Secret", + "nickname": "createSecret", "parameters": [ { "type": "string", @@ -1753,7 +3356,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Service", + "type": "v1beta3.Secret", "paramType": "body", "name": "body", "description": "", @@ -1770,186 +3373,6 @@ } ] }, - { - "path": "/api/v1beta3/limitranges", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.LimitRangeList", - "method": "GET", - "summary": "list objects of kind LimitRange", - "nickname": "listLimitRange", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/limitranges", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.LimitRangeList", - "method": "GET", - "summary": "watch a list of LimitRange", - "nickname": "watchLimitRangelist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/resourcequotas/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ResourceQuota", - "method": "GET", - "summary": "read the specified ResourceQuota", - "nickname": "readResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified ResourceQuota", - "nickname": "replaceResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.ResourceQuota", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified ResourceQuota", - "nickname": "patchResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.ResourceQuota", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a ResourceQuota", - "nickname": "deleteResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, { "path": "/api/v1beta3/namespaces/{namespaces}/secrets/{name}", "description": "API at /api/v1beta3 version v1beta3", @@ -2093,118 +3516,20 @@ ] }, { - "path": "/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}", + "path": "/api/v1beta3/redirect/nodes/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { "type": "void", "method": "GET", - "summary": "proxy GET requests to Pod", - "nickname": "proxyGETPod", + "summary": "redirect GET request to Node", + "nickname": "redirectNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Pod", - "nickname": "proxyPUTPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Pod", - "nickname": "proxyPOSTPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", + "description": "name of the Node", "required": true, "allowMultiple": false } @@ -2313,184 +3638,14 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/services/{name}", + "path": "/api/v1beta3/endpoints", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Service", + "type": "v1beta3.EndpointsList", "method": "GET", - "summary": "read the specified Service", - "nickname": "readService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Service", - "nickname": "replaceService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Service", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Service", - "nickname": "patchService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Service", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Service", - "nickname": "deleteService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/replicationcontrollers", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ReplicationControllerList", - "method": "GET", - "summary": "watch a list of ReplicationController", - "nickname": "watchReplicationControllerlist", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/replicationcontrollers", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ReplicationControllerList", - "method": "GET", - "summary": "list objects of kind ReplicationController", - "nickname": "listReplicationController", + "summary": "list objects of kind Endpoints", + "nickname": "listEndpoints", "parameters": [], "produces": [ "application/json" @@ -2502,106 +3657,15 @@ ] }, { - "path": "/api/v1beta3/namespaces/{name}", + "path": "/api/v1beta3/watch/namespaces", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Namespace", + "type": "v1beta3.NamespaceList", "method": "GET", - "summary": "read the specified Namespace", - "nickname": "readNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Namespace", - "nickname": "replaceNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Namespace", - "nickname": "patchNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Namespace", - "nickname": "deleteNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - } - ], + "summary": "watch a list of Namespace", + "nickname": "watchNamespacelist", + "parameters": [], "produces": [ "application/json" ], @@ -2647,1034 +3711,6 @@ } ] }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/status", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Pod", - "nickname": "replacePod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Pod", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Service", - "nickname": "proxyGETService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Service", - "nickname": "proxyPUTService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Service", - "nickname": "proxyPOSTService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Service", - "nickname": "proxyDELETEService", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/secrets/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.Secret", - "method": "GET", - "summary": "watch a particular Secret", - "nickname": "watchSecret", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Secret", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/endpoints", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.EndpointsList", - "method": "GET", - "summary": "list objects of kind Endpoints", - "nickname": "listEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Endpoints", - "nickname": "createEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Endpoints", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/endpoints", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.EndpointsList", - "method": "GET", - "summary": "watch a list of Endpoints", - "nickname": "watchEndpointslist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/resourcequotas", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ResourceQuotaList", - "method": "GET", - "summary": "watch a list of ResourceQuota", - "nickname": "watchResourceQuotalist", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/secrets", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.SecretList", - "method": "GET", - "summary": "watch a list of Secret", - "nickname": "watchSecretlist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/events", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.EventList", - "method": "GET", - "summary": "list objects of kind Event", - "nickname": "listEvent", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/limitranges/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.LimitRange", - "method": "GET", - "summary": "read the specified LimitRange", - "nickname": "readLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified LimitRange", - "nickname": "replaceLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.LimitRange", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified LimitRange", - "nickname": "patchLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.LimitRange", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a LimitRange", - "nickname": "deleteLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/limitranges/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.LimitRange", - "method": "GET", - "summary": "watch a particular LimitRange", - "nickname": "watchLimitRange", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/resourcequotas", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ResourceQuotaList", - "method": "GET", - "summary": "watch a list of ResourceQuota", - "nickname": "watchResourceQuotalist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/pods", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.PodList", - "method": "GET", - "summary": "watch a list of Pod", - "nickname": "watchPodlist", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}/{path:*}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "void", - "method": "GET", - "summary": "proxy GET requests to Pod", - "nickname": "proxyGETPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Pod", - "nickname": "proxyPUTPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Pod", - "nickname": "proxyPOSTPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "*/*" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/namespaces/{namespaces}/events", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.EventList", - "method": "GET", - "summary": "list objects of kind Event", - "nickname": "listEvent", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Event", - "nickname": "createEvent", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Event", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/namespaces", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.NamespaceList", - "method": "GET", - "summary": "list objects of kind Namespace", - "nickname": "listNamespace", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "POST", - "summary": "create a Namespace", - "nickname": "createNamespace", - "parameters": [ - { - "type": "v1beta3.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/endpoints/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.Endpoints", - "method": "GET", - "summary": "watch a particular Endpoints", - "nickname": "watchEndpoints", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Endpoints", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/nodes/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.Node", - "method": "GET", - "summary": "read the specified Node", - "nickname": "readNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Node", - "nickname": "replaceNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Node", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Node", - "nickname": "patchNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - }, - { - "type": "v1beta3.Node", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - }, - { - "type": "void", - "method": "DELETE", - "summary": "delete a Node", - "nickname": "deleteNode", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.Namespace", - "method": "GET", - "summary": "watch a particular Namespace", - "nickname": "watchNamespace", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Namespace", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/services", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ServiceList", - "method": "GET", - "summary": "watch a list of Service", - "nickname": "watchServicelist", - "parameters": [], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/resourcequotas/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ResourceQuota", - "method": "GET", - "summary": "watch a particular ResourceQuota", - "nickname": "watchResourceQuota", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] - }, { "path": "/api/v1beta3/pods", "description": "API at /api/v1beta3 version v1beta3", @@ -3693,42 +3729,6 @@ ] } ] - }, - { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/replicationcontrollers/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ - { - "type": "v1beta3.ReplicationController", - "method": "GET", - "summary": "watch a particular ReplicationController", - "nickname": "watchReplicationController", - "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ReplicationController", - "required": true, - "allowMultiple": false - }, - { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", - "required": true, - "allowMultiple": false - } - ], - "produces": [ - "application/json" - ], - "consumes": [ - "*/*" - ] - } - ] } ], "models": { @@ -3950,6 +3950,10 @@ "type": "integer", "format": "int32", "description": "destination port of this endpoint" + }, + "targetRef": { + "type": "v1beta3.ObjectReference", + "description": "reference to object providing the endpoint" } } }, @@ -4465,7 +4469,12 @@ }, "v1beta3.NamespaceStatus": { "id": "v1beta3.NamespaceStatus", - "properties": {} + "properties": { + "phase": { + "type": "v1beta3.NamespacePhase", + "description": "phase is the current lifecycle phase of the namespace" + } + } }, "v1beta3.Node": { "id": "v1beta3.Node", @@ -4619,6 +4628,10 @@ "podCIDR": { "type": "string", "description": "pod IP range assigned to the node" + }, + "unschedulable": { + "type": "boolean", + "description": "disable pod scheduling on the node" } } }, @@ -4643,12 +4656,30 @@ ], "description": "list of node conditions observed" }, + "nodeInfo": { + "type": "v1beta3.NodeSystemInfo" + }, "phase": { "type": "v1beta3.NodePhase", "description": "most recently observed lifecycle phase of the node" } } }, + "v1beta3.NodeSystemInfo": { + "id": "v1beta3.NodeSystemInfo", + "required": [ + "machineID", + "systemUUID" + ], + "properties": { + "machineID": { + "type": "string" + }, + "systemUUID": { + "type": "string" + } + } + }, "v1beta3.ObjectReference": { "id": "v1beta3.ObjectReference", "properties": { @@ -5533,11 +5564,11 @@ "id": "v1beta3.Volume", "required": [ "name", + "hostPath", "emptyDir", "gcePersistentDisk", "gitRepo", - "secret", - "hostPath" + "secret" ], "properties": { "emptyDir": { diff --git a/api/swagger-spec/version.json b/api/swagger-spec/version.json index b7da015b840..7166d184993 100644 --- a/api/swagger-spec/version.json +++ b/api/swagger-spec/version.json @@ -1,7 +1,7 @@ { "swaggerVersion": "1.2", "apiVersion": "", - "basePath": "https://127.0.0.1:6443", + "basePath": "127.0.0.1:6443", "resourcePath": "/version", "apis": [ { diff --git a/docs/node.md b/docs/node.md index cf99e305cd5..d6c260d42b3 100644 --- a/docs/node.md +++ b/docs/node.md @@ -38,13 +38,16 @@ must have appropriate conditions, see below. ### Node Condition Node Condition describes the conditions of `Running` nodes. Current valid -conditions are `NodeReachable` and `NodeReady`. In the future, we plan to -add more. `NodeReachable` means the node can be reached within the cluster. -`NodeReady` means the kubelet returns StatusOK for HTTP health check. Different -condition provides different level of understanding for node health. Kubernetes -will make a comprehensive scheduling decision based on the information. Node -condition is represented as a json object. For example, the following conditions -mean the node is reachable from its cluster, but not ready to accept pods: +conditions are `NodeReachable`, `NodeReady` and `NodeSchedulable`. In the +future, we plan to add more. `NodeReachable` means the node can be reached +within the cluster. `NodeReady` means the kubelet returns StatusOK for HTTP +health check. `NodeSchedulable` means node is allowed to schedule any new +pods and is controlled by 'unschedulable' field in node spec. +Different condition provides different level of understanding for node +health. Kubernetes will make a comprehensive scheduling decision based on the +information. Node condition is represented as a json object. For example, the +following conditions mean the node is reachable from its cluster, node is in +sane state but not allowed to accept new pods: ```json "conditions": [ { @@ -53,8 +56,12 @@ mean the node is reachable from its cluster, but not ready to accept pods: }, { "kind": "Ready", + "status": "Full", + }, + { + "kind": "Schedulable", "status": "None", - } + }, ] ``` @@ -125,3 +132,9 @@ A Kubernetes administrator typically uses `kubectl` to manage `Node`. Similar to Node Controller, `kubectl` command only creates/deletes node representation. Note if Kubernetes is running on cloud provider, `kubectl create` a node will be refused if Node Controller has already synchronized nodes from cloud provider. +Admin can choose to make the node unschedulable using `kubectl`. Unscheduling the node +will not affect any existing pods on the node but it will disable creation of +any new pods on the node. Node unschedulable example: +``` +kubectl update nodes 10.1.2.3 --patch='{"apiVersion": "v1beta1", "unschedulable": true}' +``` diff --git a/pkg/api/types.go b/pkg/api/types.go index e0bd74b28ac..8c965264fe9 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -782,13 +782,18 @@ type EndpointsList struct { // NodeSpec describes the attributes that a node is created with. type NodeSpec struct { - // Capacity represents the available resources of a node + // Capacity represents the available resources of a node. Capacity ResourceList `json:"capacity,omitempty"` + // PodCIDR represents the pod IP range assigned to the node // Note: assigning IP ranges to nodes might need to be revisited when we support migratable IPs. PodCIDR string `json:"podCIDR,omitempty"` + // External ID of the node assigned by some machine database (e.g. a cloud provider) ExternalID string `json:"externalID,omitempty"` + + // Unschedulable controls node schedulability of new pods. By default node is schedulable. + Unschedulable bool `json:"unschedulable,omitempty"` } // NodeSystemInfo is a set of ids/uuids to uniquely identify the node. @@ -842,6 +847,8 @@ const ( NodeReachable NodeConditionType = "Reachable" // NodeReady means the node returns StatusOK for HTTP health check. NodeReady NodeConditionType = "Ready" + // NodeSchedulable means the node is ready to accept new pods. + NodeSchedulable NodeConditionType = "Schedulable" ) type NodeCondition struct { diff --git a/pkg/api/v1beta1/conversion.go b/pkg/api/v1beta1/conversion.go index cc5cec460e8..7be2294c34d 100644 --- a/pkg/api/v1beta1/conversion.go +++ b/pkg/api/v1beta1/conversion.go @@ -711,6 +711,7 @@ func init() { } out.PodCIDR = in.Spec.PodCIDR out.ExternalID = in.Spec.ExternalID + out.Unschedulable = in.Spec.Unschedulable return s.Convert(&in.Spec.Capacity, &out.NodeResources.Capacity, 0) }, func(in *Minion, out *newer.Node, s conversion.Scope) error { @@ -742,6 +743,7 @@ func init() { } out.Spec.PodCIDR = in.PodCIDR out.Spec.ExternalID = in.ExternalID + out.Spec.Unschedulable = in.Unschedulable return s.Convert(&in.NodeResources.Capacity, &out.Spec.Capacity, 0) }, diff --git a/pkg/api/v1beta1/types.go b/pkg/api/v1beta1/types.go index cd5afd77c45..0fe8cd65b24 100644 --- a/pkg/api/v1beta1/types.go +++ b/pkg/api/v1beta1/types.go @@ -677,6 +677,8 @@ const ( NodeReachable NodeConditionKind = "Reachable" // NodeReady means the node returns StatusOK for HTTP health check. NodeReady NodeConditionKind = "Ready" + // NodeSchedulable means the node is ready to accept new pods. + NodeSchedulable NodeConditionKind = "Schedulable" ) type NodeCondition struct { @@ -731,6 +733,8 @@ type Minion struct { NodeResources NodeResources `json:"resources,omitempty" description:"characterization of node resources"` // Pod IP range assigned to the node PodCIDR string `json:"podCIDR,omitempty" description:"IP range assigned to the node"` + // Unschedulable controls node schedulability of new pods. By default node is schedulable. + Unschedulable bool `json:"unschedulable,omitempty" description:"disable pod scheduling on the node"` // Status describes the current status of a node Status NodeStatus `json:"status,omitempty" description:"current status of node"` // Labels for the node diff --git a/pkg/api/v1beta2/conversion.go b/pkg/api/v1beta2/conversion.go index 40dde8c4407..588b4349b69 100644 --- a/pkg/api/v1beta2/conversion.go +++ b/pkg/api/v1beta2/conversion.go @@ -631,6 +631,7 @@ func init() { } out.PodCIDR = in.Spec.PodCIDR out.ExternalID = in.Spec.ExternalID + out.Unschedulable = in.Spec.Unschedulable return s.Convert(&in.Spec.Capacity, &out.NodeResources.Capacity, 0) }, func(in *Minion, out *newer.Node, s conversion.Scope) error { @@ -662,6 +663,7 @@ func init() { } out.Spec.PodCIDR = in.PodCIDR out.Spec.ExternalID = in.ExternalID + out.Spec.Unschedulable = in.Unschedulable return s.Convert(&in.NodeResources.Capacity, &out.Spec.Capacity, 0) }, diff --git a/pkg/api/v1beta2/types.go b/pkg/api/v1beta2/types.go index 3696f464cff..bee5487f30d 100644 --- a/pkg/api/v1beta2/types.go +++ b/pkg/api/v1beta2/types.go @@ -690,6 +690,8 @@ const ( NodeReachable NodeConditionKind = "Reachable" // NodeReady means the node returns StatusOK for HTTP health check. NodeReady NodeConditionKind = "Ready" + // NodeSchedulable means the node is ready to accept new pods. + NodeSchedulable NodeConditionKind = "Schedulable" ) // Described the conditions of a running node. @@ -750,6 +752,8 @@ type Minion struct { NodeResources NodeResources `json:"resources,omitempty" description:"characterization of node resources"` // Pod IP range assigned to the node PodCIDR string `json:"podCIDR,omitempty" description:"IP range assigned to the node"` + // Unschedulable controls node schedulability of new pods. By default node is schedulable. + Unschedulable bool `json:"unschedulable,omitempty" description:"disable pod scheduling on the node"` // Status describes the current status of a node Status NodeStatus `json:"status,omitempty" description:"current status of node"` // Labels for the node diff --git a/pkg/api/v1beta3/types.go b/pkg/api/v1beta3/types.go index da8b8ea2ec3..61b7a751857 100644 --- a/pkg/api/v1beta3/types.go +++ b/pkg/api/v1beta3/types.go @@ -813,13 +813,15 @@ type EndpointsList struct { // NodeSpec describes the attributes that a node is created with. type NodeSpec struct { - // Capacity represents the available resources of a node + // Capacity represents the available resources of a node. // see https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/resources.md for more details. Capacity ResourceList `json:"capacity,omitempty" description:"compute resource capacity of the node; https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/resources.md"` // PodCIDR represents the pod IP range assigned to the node PodCIDR string `json:"podCIDR,omitempty" description:"pod IP range assigned to the node"` // External ID of the node assigned by some machine database (e.g. a cloud provider) ExternalID string `json:"externalID,omitempty" description:"external ID assigned to the node by some machine database (e.g. a cloud provider)"` + // Unschedulable controls node schedulability of new pods. By default node is schedulable. + Unschedulable bool `json:"unschedulable,omitempty" description:"disable pod scheduling on the node"` } // NodeSystemInfo is a set of ids/uuids to uniquely identify the node. @@ -873,6 +875,8 @@ const ( NodeReachable NodeConditionType = "Reachable" // NodeReady means the node returns StatusOK for HTTP health check. NodeReady NodeConditionType = "Ready" + // NodeSchedulable means the node is ready to accept new pods. + NodeSchedulable NodeConditionType = "Schedulable" ) type NodeCondition struct { diff --git a/pkg/api/validation/validation.go b/pkg/api/validation/validation.go index 8eca102533d..26737b859ba 100644 --- a/pkg/api/validation/validation.go +++ b/pkg/api/validation/validation.go @@ -862,6 +862,8 @@ func ValidateMinionUpdate(oldMinion *api.Node, minion *api.Node) errs.Validation oldMinion.ObjectMeta = minion.ObjectMeta // Allow users to update capacity oldMinion.Spec.Capacity = minion.Spec.Capacity + // Allow users to unschedule node + oldMinion.Spec.Unschedulable = minion.Spec.Unschedulable // Clear status oldMinion.Status = minion.Status diff --git a/pkg/api/validation/validation_test.go b/pkg/api/validation/validation_test.go index 331446d9fa5..b611fe49c52 100644 --- a/pkg/api/validation/validation_test.go +++ b/pkg/api/validation/validation_test.go @@ -2106,6 +2106,21 @@ func TestValidateMinionUpdate(t *testing.T) { Labels: map[string]string{"Foo": "baz"}, }, }, true}, + {api.Node{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + }, + Spec: api.NodeSpec{ + Unschedulable: false, + }, + }, api.Node{ + ObjectMeta: api.ObjectMeta{ + Name: "foo", + }, + Spec: api.NodeSpec{ + Unschedulable: true, + }, + }, true}, } for i, test := range tests { errs := ValidateMinionUpdate(&test.oldMinion, &test.minion) diff --git a/pkg/client/client_test.go b/pkg/client/client_test.go index a349895e1c4..f2bbf6d01f8 100644 --- a/pkg/client/client_test.go +++ b/pkg/client/client_test.go @@ -749,6 +749,7 @@ func TestCreateMinion(t *testing.T) { api.ResourceCPU: resource.MustParse("1000m"), api.ResourceMemory: resource.MustParse("1Mi"), }, + Unschedulable: false, }, } c := &testClient{ @@ -782,6 +783,7 @@ func TestUpdateMinion(t *testing.T) { api.ResourceCPU: resource.MustParse("1000m"), api.ResourceMemory: resource.MustParse("1Mi"), }, + Unschedulable: true, }, } c := &testClient{ diff --git a/pkg/cloudprovider/controller/nodecontroller.go b/pkg/cloudprovider/controller/nodecontroller.go index f5d4fcf2ace..b65e6b3b70b 100644 --- a/pkg/cloudprovider/controller/nodecontroller.go +++ b/pkg/cloudprovider/controller/nodecontroller.go @@ -301,7 +301,7 @@ func (s *NodeController) PopulateAddresses(nodes *api.NodeList) (*api.NodeList, return nodes, nil } -// UpdateNodesStatus performs health checking for given list of nodes. +// UpdateNodesStatus performs various condition checks for given list of nodes. func (s *NodeController) UpdateNodesStatus(nodes *api.NodeList) *api.NodeList { var wg sync.WaitGroup wg.Add(len(nodes.Items)) @@ -330,21 +330,14 @@ func (s *NodeController) updateNodeInfo(node *api.Node) error { return nil } -// DoCheck performs health checking for given node. +// DoCheck performs various condition checks for given node. func (s *NodeController) DoCheck(node *api.Node) []api.NodeCondition { var conditions []api.NodeCondition // Check Condition: NodeReady. TODO: More node conditions. oldReadyCondition := s.getCondition(node, api.NodeReady) newReadyCondition := s.checkNodeReady(node) - if oldReadyCondition != nil && oldReadyCondition.Status == newReadyCondition.Status { - // If node status doesn't change, transition time is same as last time. - newReadyCondition.LastTransitionTime = oldReadyCondition.LastTransitionTime - } else { - // Set transition time to Now() if node status changes or `oldReadyCondition` is nil, which - // happens only when the node is checked for the first time. - newReadyCondition.LastTransitionTime = util.Now() - } + s.updateLastTransitionTime(oldReadyCondition, newReadyCondition) if newReadyCondition.Status != api.ConditionFull { // Node is not ready for this probe, we need to check if pods need to be deleted. @@ -355,12 +348,48 @@ func (s *NodeController) DoCheck(node *api.Node) []api.NodeCondition { s.deletePods(node.Name) } } - conditions = append(conditions, *newReadyCondition) + // Check Condition: NodeSchedulable + oldSchedulableCondition := s.getCondition(node, api.NodeSchedulable) + newSchedulableCondition := s.checkNodeSchedulable(node) + s.updateLastTransitionTime(oldSchedulableCondition, newSchedulableCondition) + conditions = append(conditions, *newSchedulableCondition) + return conditions } +// updateLastTransitionTime updates LastTransitionTime for the newCondition based on oldCondition. +func (s *NodeController) updateLastTransitionTime(oldCondition, newCondition *api.NodeCondition) { + if oldCondition != nil && oldCondition.Status == newCondition.Status { + // If node status doesn't change, transition time is same as last time. + newCondition.LastTransitionTime = oldCondition.LastTransitionTime + } else { + // Set transition time to Now() if node status changes or `oldCondition` is nil, which + // happens only when the node is checked for the first time. + newCondition.LastTransitionTime = util.Now() + } +} + +// checkNodeSchedulable checks node schedulable condition, without transition timestamp set. +func (s *NodeController) checkNodeSchedulable(node *api.Node) *api.NodeCondition { + if node.Spec.Unschedulable { + return &api.NodeCondition{ + Type: api.NodeSchedulable, + Status: api.ConditionNone, + Reason: "User marked unschedulable during node create/update", + LastProbeTime: util.Now(), + } + } else { + return &api.NodeCondition{ + Type: api.NodeSchedulable, + Status: api.ConditionFull, + Reason: "Node is schedulable by default", + LastProbeTime: util.Now(), + } + } +} + // checkNodeReady checks raw node ready condition, without transition timestamp set. func (s *NodeController) checkNodeReady(node *api.Node) *api.NodeCondition { switch status, err := s.kubeletClient.HealthCheck(node.Name); { diff --git a/pkg/cloudprovider/controller/nodecontroller_test.go b/pkg/cloudprovider/controller/nodecontroller_test.go index 05236538810..847596fd008 100644 --- a/pkg/cloudprovider/controller/nodecontroller_test.go +++ b/pkg/cloudprovider/controller/nodecontroller_test.go @@ -550,13 +550,15 @@ func TestSyncCloudDeletePods(t *testing.T) { } } -func TestHealthCheckNode(t *testing.T) { +func TestNodeConditionsCheck(t *testing.T) { table := []struct { node *api.Node fakeKubeletClient *FakeKubeletClient expectedConditions []api.NodeCondition }{ { + // Node with default spec and kubelet /healthz probe returns success. + // Expected node condition to be ready and marked schedulable. node: newNode("node0"), fakeKubeletClient: &FakeKubeletClient{ Status: probe.Success, @@ -568,10 +570,17 @@ func TestHealthCheckNode(t *testing.T) { Status: api.ConditionFull, Reason: "Node health check succeeded: kubelet /healthz endpoint returns ok", }, + { + Type: api.NodeSchedulable, + Status: api.ConditionFull, + Reason: "Node is schedulable by default", + }, }, }, { - node: newNode("node0"), + // User specified node as schedulable and kubelet /healthz probe returns failure with no error. + // Expected node condition to be not ready and marked schedulable. + node: &api.Node{ObjectMeta: api.ObjectMeta{Name: "node0"}, Spec: api.NodeSpec{Unschedulable: false}}, fakeKubeletClient: &FakeKubeletClient{ Status: probe.Failure, Err: nil, @@ -582,10 +591,17 @@ func TestHealthCheckNode(t *testing.T) { Status: api.ConditionNone, Reason: "Node health check failed: kubelet /healthz endpoint returns not ok", }, + { + Type: api.NodeSchedulable, + Status: api.ConditionFull, + Reason: "Node is schedulable by default", + }, }, }, { - node: newNode("node0"), + // User specified node as unschedulable and kubelet /healthz probe returns failure with some error. + // Expected node condition to be not ready and marked unschedulable. + node: &api.Node{ObjectMeta: api.ObjectMeta{Name: "node0"}, Spec: api.NodeSpec{Unschedulable: true}}, fakeKubeletClient: &FakeKubeletClient{ Status: probe.Failure, Err: errors.New("Error"), @@ -596,6 +612,11 @@ func TestHealthCheckNode(t *testing.T) { Status: api.ConditionUnknown, Reason: "Node health check error: Error", }, + { + Type: api.NodeSchedulable, + Status: api.ConditionNone, + Reason: "User marked unschedulable during node create/update", + }, }, }, } @@ -663,11 +684,13 @@ func TestSyncNodeStatusTransitionTime(t *testing.T) { expectedTransitionTimeChange bool }{ { - // Existing node is healthy, current porbe is healthy too. + // Existing node is healthy, current probe is healthy too. + // Existing node is schedulable, again explicitly mark node as schedulable. fakeNodeHandler: &FakeNodeHandler{ Existing: []*api.Node{ { ObjectMeta: api.ObjectMeta{Name: "node0"}, + Spec: api.NodeSpec{Unschedulable: false}, Status: api.NodeStatus{ Conditions: []api.NodeCondition{ { @@ -676,6 +699,12 @@ func TestSyncNodeStatusTransitionTime(t *testing.T) { Reason: "Node health check succeeded: kubelet /healthz endpoint returns ok", LastTransitionTime: util.Date(2012, 1, 1, 0, 0, 0, 0, time.UTC), }, + { + Type: api.NodeSchedulable, + Status: api.ConditionFull, + Reason: "Node is schedulable by default", + LastTransitionTime: util.Date(2012, 1, 1, 0, 0, 0, 0, time.UTC), + }, }, }, }, @@ -689,11 +718,13 @@ func TestSyncNodeStatusTransitionTime(t *testing.T) { expectedTransitionTimeChange: false, }, { - // Existing node is healthy, current porbe is unhealthy. + // Existing node is healthy, current probe is unhealthy. + // Existing node is schedulable, mark node as unschedulable. fakeNodeHandler: &FakeNodeHandler{ Existing: []*api.Node{ { ObjectMeta: api.ObjectMeta{Name: "node0"}, + Spec: api.NodeSpec{Unschedulable: true}, Status: api.NodeStatus{ Conditions: []api.NodeCondition{ { @@ -702,6 +733,12 @@ func TestSyncNodeStatusTransitionTime(t *testing.T) { Reason: "Node health check succeeded: kubelet /healthz endpoint returns ok", LastTransitionTime: util.Date(2012, 1, 1, 0, 0, 0, 0, time.UTC), }, + { + Type: api.NodeSchedulable, + Status: api.ConditionFull, + Reason: "Node is schedulable by default", + LastTransitionTime: util.Date(2012, 1, 1, 0, 0, 0, 0, time.UTC), + }, }, }, }, @@ -865,7 +902,7 @@ func TestSyncNodeStatusDeletePods(t *testing.T) { expectedActions []client.FakeAction }{ { - // Existing node is healthy, current porbe is healthy too. + // Existing node is healthy, current probe is healthy too. fakeNodeHandler: &FakeNodeHandler{ Existing: []*api.Node{ { @@ -894,7 +931,7 @@ func TestSyncNodeStatusDeletePods(t *testing.T) { expectedActions: nil, }, { - // Existing node is healthy, current porbe is unhealthy, i.e. node just becomes unhealthy. + // Existing node is healthy, current probe is unhealthy, i.e. node just becomes unhealthy. // Do not delete pods. fakeNodeHandler: &FakeNodeHandler{ Existing: []*api.Node{ @@ -924,7 +961,7 @@ func TestSyncNodeStatusDeletePods(t *testing.T) { expectedActions: nil, }, { - // Existing node unhealthy, current porbe is unhealthy. Node is still within grace peroid. + // Existing node unhealthy, current probe is unhealthy. Node is still within grace peroid. fakeNodeHandler: &FakeNodeHandler{ Existing: []*api.Node{ { @@ -956,7 +993,7 @@ func TestSyncNodeStatusDeletePods(t *testing.T) { expectedActions: nil, }, { - // Existing node unhealthy, current porbe is unhealthy. Node exceeds grace peroid. + // Existing node unhealthy, current probe is unhealthy. Node exceeds grace peroid. fakeNodeHandler: &FakeNodeHandler{ Existing: []*api.Node{ { @@ -1036,6 +1073,11 @@ func TestSyncNodeStatus(t *testing.T) { Status: api.ConditionFull, Reason: "Node health check succeeded: kubelet /healthz endpoint returns ok", }, + { + Type: api.NodeSchedulable, + Status: api.ConditionFull, + Reason: "Node is schedulable by default", + }, }, Addresses: []api.NodeAddress{ {Type: api.NodeLegacyHostIP, Address: "1.2.3.4"}, @@ -1051,6 +1093,11 @@ func TestSyncNodeStatus(t *testing.T) { Status: api.ConditionFull, Reason: "Node health check succeeded: kubelet /healthz endpoint returns ok", }, + { + Type: api.NodeSchedulable, + Status: api.ConditionFull, + Reason: "Node is schedulable by default", + }, }, Addresses: []api.NodeAddress{ {Type: api.NodeLegacyHostIP, Address: "1.2.3.4"}, diff --git a/pkg/kubectl/resource_printer.go b/pkg/kubectl/resource_printer.go index 87407f0842f..db72ddda167 100644 --- a/pkg/kubectl/resource_printer.go +++ b/pkg/kubectl/resource_printer.go @@ -432,7 +432,7 @@ func printSecretList(list *api.SecretList, w io.Writer) error { func printNode(node *api.Node, w io.Writer) error { conditionMap := make(map[api.NodeConditionType]*api.NodeCondition) - NodeAllConditions := []api.NodeConditionType{api.NodeReady, api.NodeReachable} + NodeAllConditions := []api.NodeConditionType{api.NodeSchedulable, api.NodeReady, api.NodeReachable} for i := range node.Status.Conditions { cond := node.Status.Conditions[i] conditionMap[cond.Type] = &cond diff --git a/pkg/kubectl/resource_printer_test.go b/pkg/kubectl/resource_printer_test.go index 58352467190..cee1ef07a18 100644 --- a/pkg/kubectl/resource_printer_test.go +++ b/pkg/kubectl/resource_printer_test.go @@ -567,6 +567,26 @@ func TestPrintMinionStatus(t *testing.T) { }, status: "Unknown", }, + { + minion: api.Node{ + ObjectMeta: api.ObjectMeta{Name: "foo7"}, + Status: api.NodeStatus{Conditions: []api.NodeCondition{ + {Type: api.NodeSchedulable, Status: api.ConditionFull}, + {Type: api.NodeReady, Status: api.ConditionFull}, + {Type: api.NodeReachable, Status: api.ConditionFull}}}, + }, + status: "Schedulable,Ready,Reachable", + }, + { + minion: api.Node{ + ObjectMeta: api.ObjectMeta{Name: "foo8"}, + Status: api.NodeStatus{Conditions: []api.NodeCondition{ + {Type: api.NodeSchedulable, Status: api.ConditionNone}, + {Type: api.NodeReady, Status: api.ConditionNone}, + {Type: api.NodeReachable, Status: api.ConditionFull}}}, + }, + status: "NotSchedulable,NotReady,Reachable", + }, } for _, test := range table { diff --git a/pkg/registry/minion/rest.go b/pkg/registry/minion/rest.go index e93c5aed04c..ddb60b79bd3 100644 --- a/pkg/registry/minion/rest.go +++ b/pkg/registry/minion/rest.go @@ -46,7 +46,6 @@ func NewREST(m Registry) *REST { } var ErrDoesNotExist = errors.New("The requested resource does not exist.") -var ErrNotHealty = errors.New("The requested minion is not healthy.") // Create satisfies the RESTStorage interface. func (rs *REST) Create(ctx api.Context, obj runtime.Object) (runtime.Object, error) { diff --git a/plugin/pkg/scheduler/factory/factory.go b/plugin/pkg/scheduler/factory/factory.go index 5731e1b7eab..6117354b1fe 100644 --- a/plugin/pkg/scheduler/factory/factory.go +++ b/plugin/pkg/scheduler/factory/factory.go @@ -207,6 +207,11 @@ func (factory *ConfigFactory) pollMinions() (cache.Enumerator, error) { cond := node.Status.Conditions[i] conditionMap[cond.Type] = &cond } + if condition, ok := conditionMap[api.NodeSchedulable]; ok { + if condition.Status != api.ConditionFull { + continue + } + } if condition, ok := conditionMap[api.NodeReady]; ok { if condition.Status == api.ConditionFull { nodes.Items = append(nodes.Items, node) diff --git a/plugin/pkg/scheduler/factory/factory_test.go b/plugin/pkg/scheduler/factory/factory_test.go index 70b50b44c56..6a16db6e2cb 100644 --- a/plugin/pkg/scheduler/factory/factory_test.go +++ b/plugin/pkg/scheduler/factory/factory_test.go @@ -156,7 +156,15 @@ func TestPollMinions(t *testing.T) { }, }, { - ObjectMeta: api.ObjectMeta{Name: "baz"}, + ObjectMeta: api.ObjectMeta{Name: "fiz"}, + Status: api.NodeStatus{ + Conditions: []api.NodeCondition{ + {Type: api.NodeSchedulable, Status: api.ConditionFull}, + }, + }, + }, + { + ObjectMeta: api.ObjectMeta{Name: "biz"}, Status: api.NodeStatus{ Conditions: []api.NodeCondition{ {Type: api.NodeReady, Status: api.ConditionFull}, @@ -173,8 +181,47 @@ func TestPollMinions(t *testing.T) { }, }, }, + { + ObjectMeta: api.ObjectMeta{Name: "fuz"}, + Status: api.NodeStatus{ + Conditions: []api.NodeCondition{ + {Type: api.NodeSchedulable, Status: api.ConditionFull}, + {Type: api.NodeReady, Status: api.ConditionFull}, + {Type: api.NodeReachable, Status: api.ConditionFull}, + }, + }, + }, + { + ObjectMeta: api.ObjectMeta{Name: "buz"}, + Status: api.NodeStatus{ + Conditions: []api.NodeCondition{ + {Type: api.NodeSchedulable, Status: api.ConditionNone}, + {Type: api.NodeReady, Status: api.ConditionFull}, + {Type: api.NodeReachable, Status: api.ConditionFull}, + }, + }, + }, + { + ObjectMeta: api.ObjectMeta{Name: "foobar"}, + Status: api.NodeStatus{ + Conditions: []api.NodeCondition{ + {Type: api.NodeSchedulable, Status: api.ConditionFull}, + {Type: api.NodeReady, Status: api.ConditionNone}, + {Type: api.NodeReachable, Status: api.ConditionFull}, + }, + }, + }, + { + ObjectMeta: api.ObjectMeta{Name: "fizbiz"}, + Status: api.NodeStatus{ + Conditions: []api.NodeCondition{ + {Type: api.NodeSchedulable, Status: api.ConditionFull}, + {Type: api.NodeReachable, Status: api.ConditionNone}, + }, + }, + }, }, - expectedCount: 4, + expectedCount: 6, }, { minions: []api.Node{ @@ -197,6 +244,27 @@ func TestPollMinions(t *testing.T) { }, expectedCount: 1, }, + { + minions: []api.Node{ + { + ObjectMeta: api.ObjectMeta{Name: "foo"}, + Status: api.NodeStatus{ + Conditions: []api.NodeCondition{ + {Type: api.NodeSchedulable, Status: api.ConditionFull}, + }, + }, + }, + { + ObjectMeta: api.ObjectMeta{Name: "bar"}, + Status: api.NodeStatus{ + Conditions: []api.NodeCondition{ + {Type: api.NodeSchedulable, Status: api.ConditionNone}, + }, + }, + }, + }, + expectedCount: 1, + }, { minions: []api.Node{ {