diff --git a/api/swagger-spec/api.json b/api/swagger-spec/api.json index f86dea5dea44d..4d67bc3c053e8 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 c7e929d59fd54..0feab7f1eb26c 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -1,24 +1,24 @@ { "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}", + "path": "/api/v1beta1/services/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.ReplicationController", + "type": "v1beta1.Service", "method": "GET", - "summary": "read the specified ReplicationController", - "nickname": "readReplicationController", + "summary": "read the specified Service", + "nickname": "readService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -41,14 +41,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified ReplicationController", - "nickname": "replaceReplicationController", + "summary": "replace the specified Service", + "nickname": "replaceService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -61,7 +61,7 @@ "allowMultiple": false }, { - "type": "v1beta1.ReplicationController", + "type": "v1beta1.Service", "paramType": "body", "name": "body", "description": "", @@ -79,14 +79,14 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified ReplicationController", - "nickname": "patchReplicationController", + "summary": "partially update the specified Service", + "nickname": "patchService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -99,7 +99,7 @@ "allowMultiple": false }, { - "type": "v1beta1.ReplicationController", + "type": "v1beta1.Service", "paramType": "body", "name": "body", "description": "", @@ -117,14 +117,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a ReplicationController", - "nickname": "deleteReplicationController", + "summary": "delete a Service", + "nickname": "deleteService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -147,42 +147,14 @@ ] }, { - "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", + "path": "/api/v1beta1/resourceQuotaUsages", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.EndpointsList", - "method": "GET", - "summary": "watch a list of Endpoints", - "nickname": "watchEndpointslist", + "type": "void", + "method": "POST", + "summary": "create a ResourceQuotaUsage", + "nickname": "createResourceQuotaUsage", "parameters": [ { "type": "string", @@ -191,60 +163,13 @@ "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, + "type": "v1beta1.ResourceQuotaUsage", + "paramType": "body", + "name": "body", + "description": "", + "required": true, "allowMultiple": false } ], @@ -258,7 +183,7 @@ ] }, { - "path": "/api/v1beta1/proxy/nodes/{name}", + "path": "/api/v1beta1/proxy/minions/{name}/{path:*}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { @@ -352,15 +277,23 @@ ] }, { - "path": "/api/v1beta1/pods", + "path": "/api/v1beta1/pods/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.PodList", + "type": "v1beta1.Pod", "method": "GET", - "summary": "list objects of kind Pod", - "nickname": "listPod", + "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", @@ -379,10 +312,18 @@ }, { "type": "void", - "method": "POST", - "summary": "create a Pod", - "nickname": "createPod", + "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", @@ -406,18 +347,12 @@ "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", + "method": "PATCH", + "summary": "partially update the specified Pod", + "nickname": "patchPod", "parameters": [ { "type": "string", @@ -434,32 +369,34 @@ "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/events/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ + }, { - "type": "v1beta1.Event", - "method": "GET", - "summary": "watch a particular Event", - "nickname": "watchEvent", + "type": "void", + "method": "DELETE", + "summary": "delete a Pod", + "nickname": "deletePod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -482,51 +419,37 @@ ] }, { - "path": "/api/v1beta1/redirect/minions/{name}", + "path": "/api/v1beta1/events", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.EventList", "method": "GET", - "summary": "redirect GET request to Node", - "nickname": "redirectNode", + "summary": "list objects of kind Event", + "nickname": "listEvent", "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": [ - "*/*" + "application/json" ], "consumes": [ "*/*" ] - } - ] - }, - { - "path": "/api/v1beta1/services/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ + }, { - "type": "v1beta1.Service", - "method": "GET", - "summary": "read the specified Service", - "nickname": "readService", + "type": "void", + "method": "POST", + "summary": "create a Event", + "nickname": "createEvent", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -534,6 +457,14 @@ "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": [ @@ -542,18 +473,24 @@ "consumes": [ "*/*" ] - }, - { - "type": "void", - "method": "PUT", - "summary": "replace the specified Service", - "nickname": "replaceService", + } + ] + }, + { + "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 Service", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -564,14 +501,6 @@ "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": [ @@ -583,15 +512,15 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Service", - "nickname": "patchService", + "method": "PUT", + "summary": "replace the specified Event", + "nickname": "replaceEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -604,7 +533,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Service", + "type": "v1beta1.Event", "paramType": "body", "name": "body", "description": "", @@ -621,15 +550,15 @@ }, { "type": "void", - "method": "DELETE", - "summary": "delete a Service", - "nickname": "deleteService", + "method": "PATCH", + "summary": "partially update the specified Event", + "nickname": "patchEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -640,6 +569,14 @@ "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": [ @@ -648,19 +585,21 @@ "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", + "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", @@ -680,42 +619,44 @@ ] }, { - "path": "/api/v1beta1/watch/nodes/{name}", + "path": "/api/v1beta1/proxy/pods/{name}/{path:*}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.Minion", + "type": "void", "method": "GET", - "summary": "watch a particular Node", - "nickname": "watchNode", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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/pods/{name}", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ + }, { - "type": "v1beta1.Pod", - "method": "GET", - "summary": "watch a particular Pod", - "nickname": "watchPod", + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Pod", + "nickname": "proxyPUTPod", "parameters": [ { "type": "string", @@ -735,24 +676,26 @@ } ], "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", + "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", @@ -763,7 +706,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -771,10 +714,18 @@ }, { "type": "void", - "method": "POST", - "summary": "create a Event", - "nickname": "createEvent", + "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", @@ -782,18 +733,10 @@ "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": [ "*/*" @@ -802,15 +745,23 @@ ] }, { - "path": "/api/v1beta1/watch/events", + "path": "/api/v1beta1/proxy/services/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.EventList", + "type": "void", "method": "GET", - "summary": "watch a list of Event", - "nickname": "watchEventlist", + "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", @@ -821,48 +772,23 @@ } ], "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", + "type": "void", + "method": "PUT", + "summary": "proxy PUT requests to Service", + "nickname": "proxyPUTService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -876,7 +802,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -884,15 +810,15 @@ }, { "type": "void", - "method": "PUT", - "summary": "replace the specified Endpoints", - "nickname": "replaceEndpoints", + "method": "POST", + "summary": "proxy POST requests to Service", + "nickname": "proxyPOSTService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -903,18 +829,10 @@ "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": [ "*/*" @@ -922,15 +840,15 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Endpoints", - "nickname": "patchEndpoints", + "method": "DELETE", + "summary": "proxy DELETE requests to Service", + "nickname": "proxyDELETEService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -941,18 +859,10 @@ "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": [ "*/*" @@ -961,7 +871,7 @@ ] }, { - "path": "/api/v1beta1/nodes", + "path": "/api/v1beta1/minions", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { @@ -1002,34 +912,26 @@ ] }, { - "path": "/api/v1beta1/proxy/pods/{name}/{path:*}", + "path": "/api/v1beta1/minions/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.Minion", "method": "GET", - "summary": "proxy GET requests to Pod", - "nickname": "proxyGETPod", + "summary": "read the specified Node", + "nickname": "readNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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": [ "*/*" @@ -1038,28 +940,28 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Pod", - "nickname": "proxyPUTPod", + "summary": "replace the specified Node", + "nickname": "replaceNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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, + "type": "v1beta1.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -1067,29 +969,29 @@ }, { "type": "void", - "method": "POST", - "summary": "proxy POST requests to Pod", - "nickname": "proxyPOSTPod", + "method": "PATCH", + "summary": "partially update the specified Node", + "nickname": "patchNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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, + "type": "v1beta1.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -1098,28 +1000,20 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", + "summary": "delete a Node", + "nickname": "deleteNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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": [ "*/*" @@ -1128,14 +1022,14 @@ ] }, { - "path": "/api/v1beta1/watch/minions/{name}", + "path": "/api/v1beta1/proxy/nodes/{name}/{path:*}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.Minion", + "type": "void", "method": "GET", - "summary": "watch a particular Node", - "nickname": "watchNode", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", "parameters": [ { "type": "string", @@ -1147,39 +1041,25 @@ } ], "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", + "method": "PUT", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", "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": [ @@ -1188,38 +1068,24 @@ "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", + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the LimitRange", + "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": [ "*/*" @@ -1227,56 +1093,38 @@ }, { "type": "void", - "method": "PUT", - "summary": "replace the specified LimitRange", - "nickname": "replaceLimitRange", + "method": "DELETE", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", "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": "", + "description": "name of the Node", "required": true, "allowMultiple": false } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta1/watch/pods", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified LimitRange", - "nickname": "patchLimitRange", + "type": "v1beta1.PodList", + "method": "GET", + "summary": "watch a list of Pod", + "nickname": "watchPodlist", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -1284,14 +1132,6 @@ "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": [ @@ -1300,21 +1140,19 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta1/watch/services", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ { - "type": "void", - "method": "DELETE", - "summary": "delete a LimitRange", - "nickname": "deleteLimitRange", + "type": "v1beta1.ServiceList", + "method": "GET", + "summary": "watch a list of Service", + "nickname": "watchServicelist", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -1334,14 +1172,14 @@ ] }, { - "path": "/api/v1beta1/pods/{name}/binding", + "path": "/api/v1beta1/watch/secrets", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", - "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", + "type": "v1beta1.SecretList", + "method": "GET", + "summary": "watch a list of Secret", + "nickname": "watchSecretlist", "parameters": [ { "type": "string", @@ -1350,14 +1188,6 @@ "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": [ @@ -1370,15 +1200,23 @@ ] }, { - "path": "/api/v1beta1/watch/pods", + "path": "/api/v1beta1/watch/secrets/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.PodList", + "type": "v1beta1.Secret", "method": "GET", - "summary": "watch a list of Pod", - "nickname": "watchPodlist", + "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", @@ -1398,14 +1236,14 @@ ] }, { - "path": "/api/v1beta1/replicationControllers", + "path": "/api/v1beta1/limitRanges", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.ReplicationControllerList", + "type": "v1beta1.LimitRangeList", "method": "GET", - "summary": "list objects of kind ReplicationController", - "nickname": "listReplicationController", + "summary": "list objects of kind LimitRange", + "nickname": "listLimitRange", "parameters": [ { "type": "string", @@ -1426,8 +1264,8 @@ { "type": "void", "method": "POST", - "summary": "create a ReplicationController", - "nickname": "createReplicationController", + "summary": "create a LimitRange", + "nickname": "createLimitRange", "parameters": [ { "type": "string", @@ -1438,7 +1276,7 @@ "allowMultiple": false }, { - "type": "v1beta1.ReplicationController", + "type": "v1beta1.LimitRange", "paramType": "body", "name": "body", "description": "", @@ -1456,48 +1294,20 @@ ] }, { - "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}", + "path": "/api/v1beta1/limitRanges/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.Secret", + "type": "v1beta1.LimitRange", "method": "GET", - "summary": "read the specified Secret", - "nickname": "readSecret", + "summary": "read the specified LimitRange", + "nickname": "readLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the LimitRange", "required": true, "allowMultiple": false }, @@ -1520,14 +1330,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Secret", - "nickname": "replaceSecret", + "summary": "replace the specified LimitRange", + "nickname": "replaceLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the LimitRange", "required": true, "allowMultiple": false }, @@ -1540,7 +1350,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Secret", + "type": "v1beta1.LimitRange", "paramType": "body", "name": "body", "description": "", @@ -1558,14 +1368,14 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified Secret", - "nickname": "patchSecret", + "summary": "partially update the specified LimitRange", + "nickname": "patchLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the LimitRange", "required": true, "allowMultiple": false }, @@ -1578,7 +1388,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Secret", + "type": "v1beta1.LimitRange", "paramType": "body", "name": "body", "description": "", @@ -1596,14 +1406,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Secret", - "nickname": "deleteSecret", + "summary": "delete a LimitRange", + "nickname": "deleteLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the LimitRange", "required": true, "allowMultiple": false }, @@ -1626,36 +1436,14 @@ ] }, { - "path": "/api/v1beta1/resourceQuotas", + "path": "/api/v1beta1/watch/replicationControllers", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.ResourceQuotaList", + "type": "v1beta1.ReplicationControllerList", "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", + "summary": "watch a list of ReplicationController", + "nickname": "watchReplicationControllerlist", "parameters": [ { "type": "string", @@ -1664,14 +1452,6 @@ "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": [ @@ -1684,20 +1464,20 @@ ] }, { - "path": "/api/v1beta1/watch/services/{name}", + "path": "/api/v1beta1/watch/replicationControllers/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.Service", + "type": "v1beta1.ReplicationController", "method": "GET", - "summary": "watch a particular Service", - "nickname": "watchService", + "summary": "watch a particular ReplicationController", + "nickname": "watchReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -1720,14 +1500,14 @@ ] }, { - "path": "/api/v1beta1/watch/namespaces/{name}", + "path": "/api/v1beta1/namespaces/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { "type": "v1beta1.Namespace", "method": "GET", - "summary": "watch a particular Namespace", - "nickname": "watchNamespace", + "summary": "read the specified Namespace", + "nickname": "readNamespace", "parameters": [ { "type": "string", @@ -1744,51 +1524,23 @@ "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", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "description": "name of the Namespace", "required": true, "allowMultiple": false }, { - "type": "v1beta1.Minion", + "type": "v1beta1.Namespace", "paramType": "body", "name": "body", "description": "", @@ -1806,19 +1558,19 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified Node", - "nickname": "patchNode", + "summary": "partially update the specified Namespace", + "nickname": "patchNamespace", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "description": "name of the Namespace", "required": true, "allowMultiple": false }, { - "type": "v1beta1.Minion", + "type": "v1beta1.Namespace", "paramType": "body", "name": "body", "description": "", @@ -1836,14 +1588,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Node", - "nickname": "deleteNode", + "summary": "delete a Namespace", + "nickname": "deleteNamespace", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "description": "name of the Namespace", "required": true, "allowMultiple": false } @@ -1858,14 +1610,14 @@ ] }, { - "path": "/api/v1beta1/watch/resourceQuotas", + "path": "/api/v1beta1/bindings", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.ResourceQuotaList", - "method": "GET", - "summary": "watch a list of ResourceQuota", - "nickname": "watchResourceQuotalist", + "type": "void", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", "parameters": [ { "type": "string", @@ -1874,6 +1626,14 @@ "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": [ @@ -1886,51 +1646,57 @@ ] }, { - "path": "/api/v1beta1/namespaces/{name}", + "path": "/api/v1beta1/redirect/minions/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.Namespace", + "type": "void", "method": "GET", - "summary": "read the specified Namespace", - "nickname": "readNamespace", + "summary": "redirect GET request to Node", + "nickname": "redirectNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "description": "name of the Node", "required": true, "allowMultiple": false } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta1/endpoints/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ { - "type": "void", - "method": "PUT", - "summary": "replace the specified Namespace", - "nickname": "replaceNamespace", + "type": "v1beta1.Endpoints", + "method": "GET", + "summary": "read the specified Endpoints", + "nickname": "readEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "description": "name of the Endpoints", "required": true, "allowMultiple": false }, { - "type": "v1beta1.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, "allowMultiple": false } ], @@ -1943,20 +1709,28 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Namespace", - "nickname": "patchNamespace", + "method": "PUT", + "summary": "replace the specified Endpoints", + "nickname": "replaceEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "description": "name of the Endpoints", "required": true, "allowMultiple": false }, { - "type": "v1beta1.Namespace", + "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": "", @@ -1973,15 +1747,31 @@ }, { "type": "void", - "method": "DELETE", - "summary": "delete a Namespace", - "nickname": "deleteNamespace", + "method": "PATCH", + "summary": "partially update the specified Endpoints", + "nickname": "patchEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "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 } @@ -1996,26 +1786,56 @@ ] }, { - "path": "/api/v1beta1/redirect/nodes/{name}", + "path": "/api/v1beta1/resourceQuotas", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.ResourceQuotaList", "method": "GET", - "summary": "redirect GET request to Node", - "nickname": "redirectNode", + "summary": "list objects of kind ResourceQuota", + "nickname": "listResourceQuota", "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": [ + "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": [ "*/*" @@ -2024,20 +1844,20 @@ ] }, { - "path": "/api/v1beta1/proxy/services/{name}", + "path": "/api/v1beta1/resourceQuotas/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.ResourceQuota", "method": "GET", - "summary": "proxy GET requests to Service", - "nickname": "proxyGETService", + "summary": "read the specified ResourceQuota", + "nickname": "readResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -2051,7 +1871,7 @@ } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -2060,14 +1880,14 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Service", - "nickname": "proxyPUTService", + "summary": "replace the specified ResourceQuota", + "nickname": "replaceResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -2078,10 +1898,18 @@ "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": [ "*/*" @@ -2089,15 +1917,15 @@ }, { "type": "void", - "method": "POST", - "summary": "proxy POST requests to Service", - "nickname": "proxyPOSTService", + "method": "PATCH", + "summary": "partially update the specified ResourceQuota", + "nickname": "patchResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -2108,10 +1936,18 @@ "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": [ "*/*" @@ -2120,14 +1956,14 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Service", - "nickname": "proxyDELETEService", + "summary": "delete a ResourceQuota", + "nickname": "deleteResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -2141,7 +1977,35 @@ } ], "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": [ "*/*" @@ -2150,14 +2014,14 @@ ] }, { - "path": "/api/v1beta1/minions", + "path": "/api/v1beta1/watch/namespaces", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.MinionList", + "type": "v1beta1.NamespaceList", "method": "GET", - "summary": "list objects of kind Node", - "nickname": "listNode", + "summary": "watch a list of Namespace", + "nickname": "watchNamespacelist", "parameters": [], "produces": [ "application/json" @@ -2165,18 +2029,24 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta1/watch/nodes/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ { - "type": "void", - "method": "POST", - "summary": "create a Node", - "nickname": "createNode", + "type": "v1beta1.Minion", + "method": "GET", + "summary": "watch a particular Node", + "nickname": "watchNode", "parameters": [ { - "type": "v1beta1.Minion", - "paramType": "body", - "name": "body", - "description": "", + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Node", "required": true, "allowMultiple": false } @@ -2191,15 +2061,23 @@ ] }, { - "path": "/api/v1beta1/bindings", + "path": "/api/v1beta1/pods/{name}/status", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { "type": "void", - "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", + "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", @@ -2209,7 +2087,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Binding", + "type": "v1beta1.Pod", "paramType": "body", "name": "body", "description": "", @@ -2227,30 +2105,41 @@ ] }, { - "path": "/api/v1beta1/proxy/services/{name}/{path:*}", + "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 Service", - "nickname": "proxyGETService", + "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 - }, - { - "type": "string", - "paramType": "query", - "name": "namespace", - "description": "object name and auth scope, such as for teams and projects", - "required": false, - "allowMultiple": false } ], "produces": [ @@ -2263,24 +2152,16 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Service", - "nickname": "proxyPUTService", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", "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": [ @@ -2293,24 +2174,16 @@ { "type": "void", "method": "POST", - "summary": "proxy POST requests to Service", - "nickname": "proxyPOSTService", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", "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": [ @@ -2323,24 +2196,16 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Service", - "nickname": "proxyDELETEService", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", "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": [ @@ -2353,20 +2218,20 @@ ] }, { - "path": "/api/v1beta1/watch/limitRanges/{name}", + "path": "/api/v1beta1/watch/pods/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.LimitRange", + "type": "v1beta1.Pod", "method": "GET", - "summary": "watch a particular LimitRange", - "nickname": "watchLimitRange", + "summary": "watch a particular Pod", + "nickname": "watchPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the LimitRange", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -2389,108 +2254,20 @@ ] }, { - "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}", + "path": "/api/v1beta1/watch/services/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.Event", + "type": "v1beta1.Service", "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", + "summary": "watch a particular Service", + "nickname": "watchService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -2499,15 +2276,7 @@ "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, + "required": false, "allowMultiple": false } ], @@ -2517,21 +2286,19 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta1/watch/events", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Event", - "nickname": "patchEvent", + "type": "v1beta1.EventList", + "method": "GET", + "summary": "watch a list of Event", + "nickname": "watchEventlist", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Event", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -2539,14 +2306,6 @@ "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": [ @@ -2555,12 +2314,18 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta1/watch/events/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ { - "type": "void", - "method": "DELETE", - "summary": "delete a Event", - "nickname": "deleteEvent", + "type": "v1beta1.Event", + "method": "GET", + "summary": "watch a particular Event", + "nickname": "watchEvent", "parameters": [ { "type": "string", @@ -2589,26 +2354,34 @@ ] }, { - "path": "/api/v1beta1/minions/{name}", + "path": "/api/v1beta1/proxy/pods/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.Minion", + "type": "void", "method": "GET", - "summary": "read the specified Node", - "nickname": "readNode", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -2617,28 +2390,28 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Node", - "nickname": "replaceNode", + "summary": "proxy PUT requests to Pod", + "nickname": "proxyPUTPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "description": "name of the Pod", "required": true, "allowMultiple": false }, { - "type": "v1beta1.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, + "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": [ "*/*" @@ -2646,29 +2419,29 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Node", - "nickname": "patchNode", + "method": "POST", + "summary": "proxy POST requests to Pod", + "nickname": "proxyPOSTPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "description": "name of the Pod", "required": true, "allowMultiple": false }, { - "type": "v1beta1.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, + "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": [ "*/*" @@ -2677,20 +2450,28 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Node", - "nickname": "deleteNode", + "summary": "proxy DELETE requests to Pod", + "nickname": "proxyDELETEPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -2699,22 +2480,30 @@ ] }, { - "path": "/api/v1beta1/proxy/minions/{name}/{path:*}", + "path": "/api/v1beta1/proxy/services/{name}/{path:*}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { "type": "void", "method": "GET", - "summary": "proxy GET requests to Node", - "nickname": "proxyGETNode", + "summary": "proxy GET requests to Service", + "nickname": "proxyGETService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ @@ -2727,16 +2516,24 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", + "summary": "proxy PUT requests to Service", + "nickname": "proxyPUTService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ @@ -2749,16 +2546,24 @@ { "type": "void", "method": "POST", - "summary": "proxy POST requests to Node", - "nickname": "proxyPOSTNode", + "summary": "proxy POST requests to Service", + "nickname": "proxyPOSTService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ @@ -2771,16 +2576,24 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", + "summary": "proxy DELETE requests to Service", + "nickname": "proxyDELETEService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ @@ -2793,32 +2606,15 @@ ] }, { - "path": "/api/v1beta1/watch/resourceQuotas/{name}", + "path": "/api/v1beta1/watch/minions", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.ResourceQuota", + "type": "v1beta1.MinionList", "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 - } - ], + "summary": "watch a list of Node", + "nickname": "watchNodelist", + "parameters": [], "produces": [ "application/json" ], @@ -2829,30 +2625,22 @@ ] }, { - "path": "/api/v1beta1/watch/endpoints/{name}", + "path": "/api/v1beta1/watch/minions/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.Endpoints", + "type": "v1beta1.Minion", "method": "GET", - "summary": "watch a particular Endpoints", - "nickname": "watchEndpoints", + "summary": "watch a particular Node", + "nickname": "watchNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "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": [ @@ -2865,15 +2653,24 @@ ] }, { - "path": "/api/v1beta1/namespaces", + "path": "/api/v1beta1/services", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.NamespaceList", + "type": "v1beta1.ServiceList", "method": "GET", - "summary": "list objects of kind Namespace", - "nickname": "listNamespace", - "parameters": [], + "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" ], @@ -2884,11 +2681,19 @@ { "type": "void", "method": "POST", - "summary": "create a Namespace", - "nickname": "createNamespace", + "summary": "create a Service", + "nickname": "createService", "parameters": [ { - "type": "v1beta1.Namespace", + "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": "", @@ -3000,14 +2805,14 @@ ] }, { - "path": "/api/v1beta1/endpoints", + "path": "/api/v1beta1/pods", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.EndpointsList", + "type": "v1beta1.PodList", "method": "GET", - "summary": "list objects of kind Endpoints", - "nickname": "listEndpoints", + "summary": "list objects of kind Pod", + "nickname": "listPod", "parameters": [ { "type": "string", @@ -3028,8 +2833,8 @@ { "type": "void", "method": "POST", - "summary": "create a Endpoints", - "nickname": "createEndpoints", + "summary": "create a Pod", + "nickname": "createPod", "parameters": [ { "type": "string", @@ -3040,7 +2845,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Endpoints", + "type": "v1beta1.Pod", "paramType": "body", "name": "body", "description": "", @@ -3058,34 +2863,91 @@ ] }, { - "path": "/api/v1beta1/watch/nodes", + "path": "/api/v1beta1/replicationControllers/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.MinionList", + "type": "v1beta1.ReplicationController", "method": "GET", - "summary": "watch a list of Node", - "nickname": "watchNodelist", - "parameters": [], + "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": [ "*/*" ] - } - ] - }, - { - "path": "/api/v1beta1/resourceQuotaUsages", - "description": "API at /api/v1beta1 version v1beta1", - "operations": [ + }, { "type": "void", - "method": "POST", - "summary": "create a ResourceQuotaUsage", - "nickname": "createResourceQuotaUsage", + "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", @@ -3095,7 +2957,7 @@ "allowMultiple": false }, { - "type": "v1beta1.ResourceQuotaUsage", + "type": "v1beta1.ReplicationController", "paramType": "body", "name": "body", "description": "", @@ -3109,18 +2971,48 @@ "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/services", + "path": "/api/v1beta1/secrets", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.ServiceList", + "type": "v1beta1.SecretList", "method": "GET", - "summary": "list objects of kind Service", - "nickname": "listService", + "summary": "list objects of kind Secret", + "nickname": "listSecret", "parameters": [ { "type": "string", @@ -3141,8 +3033,8 @@ { "type": "void", "method": "POST", - "summary": "create a Service", - "nickname": "createService", + "summary": "create a Secret", + "nickname": "createSecret", "parameters": [ { "type": "string", @@ -3153,7 +3045,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Service", + "type": "v1beta1.Secret", "paramType": "body", "name": "body", "description": "", @@ -3171,20 +3063,50 @@ ] }, { - "path": "/api/v1beta1/pods/{name}/status", + "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 Pod", - "nickname": "replacePod", + "summary": "replace the specified Secret", + "nickname": "replaceSecret", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the Secret", "required": true, "allowMultiple": false }, @@ -3197,7 +3119,45 @@ "allowMultiple": false }, { - "type": "v1beta1.Pod", + "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": "", @@ -3211,18 +3171,48 @@ "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/replicationControllers", + "path": "/api/v1beta1/watch/limitRanges", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.ReplicationControllerList", + "type": "v1beta1.LimitRangeList", "method": "GET", - "summary": "watch a list of ReplicationController", - "nickname": "watchReplicationControllerlist", + "summary": "watch a list of LimitRange", + "nickname": "watchLimitRangelist", "parameters": [ { "type": "string", @@ -3243,20 +3233,20 @@ ] }, { - "path": "/api/v1beta1/resourceQuotas/{name}", + "path": "/api/v1beta1/watch/limitRanges/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.ResourceQuota", + "type": "v1beta1.LimitRange", "method": "GET", - "summary": "read the specified ResourceQuota", - "nickname": "readResourceQuota", + "summary": "watch a particular LimitRange", + "nickname": "watchLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the LimitRange", "required": true, "allowMultiple": false }, @@ -3275,18 +3265,24 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta1/redirect/services/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ { "type": "void", - "method": "PUT", - "summary": "replace the specified ResourceQuota", - "nickname": "replaceResourceQuota", + "method": "GET", + "summary": "redirect GET request to Service", + "nickname": "redirectService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -3297,13 +3293,33 @@ "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": "v1beta1.ResourceQuota", - "paramType": "body", - "name": "body", - "description": "", - "required": true, + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, "allowMultiple": false } ], @@ -3316,18 +3332,10 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified ResourceQuota", - "nickname": "patchResourceQuota", + "method": "POST", + "summary": "create a ReplicationController", + "nickname": "createReplicationController", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the ResourceQuota", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -3337,7 +3345,7 @@ "allowMultiple": false }, { - "type": "v1beta1.ResourceQuota", + "type": "v1beta1.ReplicationController", "paramType": "body", "name": "body", "description": "", @@ -3351,18 +3359,24 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta1/watch/endpoints/{name}", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ { - "type": "void", - "method": "DELETE", - "summary": "delete a ResourceQuota", - "nickname": "deleteResourceQuota", + "type": "v1beta1.Endpoints", + "method": "GET", + "summary": "watch a particular Endpoints", + "nickname": "watchEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the Endpoints", "required": true, "allowMultiple": false }, @@ -3385,21 +3399,21 @@ ] }, { - "path": "/api/v1beta1/limitRanges", + "path": "/api/v1beta1/watch/namespaces/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.LimitRangeList", + "type": "v1beta1.Namespace", "method": "GET", - "summary": "list objects of kind LimitRange", - "nickname": "listLimitRange", + "summary": "watch a particular Namespace", + "nickname": "watchNamespace", "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 Namespace", + "required": true, "allowMultiple": false } ], @@ -3409,12 +3423,18 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta1/watch/resourceQuotas", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ { - "type": "void", - "method": "POST", - "summary": "create a LimitRange", - "nickname": "createLimitRange", + "type": "v1beta1.ResourceQuotaList", + "method": "GET", + "summary": "watch a list of ResourceQuota", + "nickname": "watchResourceQuotalist", "parameters": [ { "type": "string", @@ -3423,14 +3443,6 @@ "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": [ @@ -3443,80 +3455,50 @@ ] }, { - "path": "/api/v1beta1/proxy/nodes/{name}/{path:*}", + "path": "/api/v1beta1/watch/resourceQuotas/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.ResourceQuota", "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", + "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 - } - ], - "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, + "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": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", + "method": "GET", + "summary": "redirect GET request to Node", + "nickname": "redirectNode", "parameters": [ { "type": "string", @@ -3537,23 +3519,15 @@ ] }, { - "path": "/api/v1beta1/pods/{name}", + "path": "/api/v1beta1/pods/{name}/binding", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.Pod", - "method": "GET", - "summary": "read the specified Pod", - "nickname": "readPod", + "type": "void", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -3561,6 +3535,14 @@ "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": [ @@ -3569,21 +3551,19 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta1/endpoints", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ { - "type": "void", - "method": "PUT", - "summary": "replace the specified Pod", - "nickname": "replacePod", + "type": "v1beta1.EndpointsList", + "method": "GET", + "summary": "list objects of kind Endpoints", + "nickname": "listEndpoints", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -3591,14 +3571,6 @@ "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": [ @@ -3610,18 +3582,10 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Pod", - "nickname": "patchPod", + "method": "POST", + "summary": "create a Endpoints", + "nickname": "createEndpoints", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -3631,7 +3595,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Pod", + "type": "v1beta1.Endpoints", "paramType": "body", "name": "body", "description": "", @@ -3645,28 +3609,39 @@ "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": "DELETE", - "summary": "delete a Pod", - "nickname": "deletePod", + "method": "POST", + "summary": "create a Namespace", + "nickname": "createNamespace", "parameters": [ { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", + "type": "v1beta1.Namespace", + "paramType": "body", + "name": "body", + "description": "", "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": [ @@ -3679,34 +3654,26 @@ ] }, { - "path": "/api/v1beta1/proxy/pods/{name}", + "path": "/api/v1beta1/nodes/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.Minion", "method": "GET", - "summary": "proxy GET requests to Pod", - "nickname": "proxyGETPod", + "summary": "read the specified Node", + "nickname": "readNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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": [ "*/*" @@ -3715,28 +3682,28 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Pod", - "nickname": "proxyPUTPod", + "summary": "replace the specified Node", + "nickname": "replaceNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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, + "type": "v1beta1.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -3744,29 +3711,29 @@ }, { "type": "void", - "method": "POST", - "summary": "proxy POST requests to Pod", - "nickname": "proxyPOSTPod", + "method": "PATCH", + "summary": "partially update the specified Node", + "nickname": "patchNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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, + "type": "v1beta1.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -3775,28 +3742,20 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", + "summary": "delete a Node", + "nickname": "deleteNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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": [ "*/*" @@ -3805,20 +3764,20 @@ ] }, { - "path": "/api/v1beta1/watch/replicationControllers/{name}", + "path": "/api/v1beta1/redirect/pods/{name}", "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "v1beta1.ReplicationController", + "type": "void", "method": "GET", - "summary": "watch a particular ReplicationController", - "nickname": "watchReplicationController", + "summary": "redirect GET request to Pod", + "nickname": "redirectPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -3831,6 +3790,47 @@ "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" ], @@ -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 ebcf8973a38b2..c52cb54c0876e 100644 --- a/api/swagger-spec/v1beta2.json +++ b/api/swagger-spec/v1beta2.json @@ -1,30 +1,38 @@ { "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": "void", + "type": "v1beta2.Endpoints", "method": "GET", - "summary": "proxy GET requests to Node", - "nickname": "proxyGETNode", + "summary": "read the specified Endpoints", + "nickname": "readEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -33,42 +41,36 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", + "summary": "replace the specified Endpoints", + "nickname": "replaceEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "description": "name of the Endpoints", "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", + "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": [ "*/*" @@ -76,21 +78,37 @@ }, { "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", + "method": "PATCH", + "summary": "partially update the specified Endpoints", + "nickname": "patchEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -99,20 +117,20 @@ ] }, { - "path": "/api/v1beta2/watch/pods/{name}", + "path": "/api/v1beta2/watch/services/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Pod", + "type": "v1beta2.Service", "method": "GET", - "summary": "watch a particular Pod", - "nickname": "watchPod", + "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 }, @@ -135,30 +153,22 @@ ] }, { - "path": "/api/v1beta2/watch/events/{name}", + "path": "/api/v1beta2/watch/namespaces/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Event", + "type": "v1beta2.Namespace", "method": "GET", - "summary": "watch a particular Event", - "nickname": "watchEvent", + "summary": "watch a particular Namespace", + "nickname": "watchNamespace", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "description": "name of the Namespace", "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": [ @@ -171,23 +181,37 @@ ] }, { - "path": "/api/v1beta2/pods/{name}/status", + "path": "/api/v1beta2/resourceQuotas", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", - "method": "PUT", - "summary": "replace the specified Pod", - "nickname": "replacePod", + "type": "v1beta2.ResourceQuotaList", + "method": "GET", + "summary": "list objects of kind ResourceQuota", + "nickname": "listResourceQuota", "parameters": [ { "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, + "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", @@ -197,7 +221,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Pod", + "type": "v1beta2.ResourceQuota", "paramType": "body", "name": "body", "description": "", @@ -215,20 +239,20 @@ ] }, { - "path": "/api/v1beta2/pods/{name}", + "path": "/api/v1beta2/resourceQuotas/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Pod", + "type": "v1beta2.ResourceQuota", "method": "GET", - "summary": "read the specified Pod", - "nickname": "readPod", + "summary": "read the specified ResourceQuota", + "nickname": "readResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -251,14 +275,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Pod", - "nickname": "replacePod", + "summary": "replace the specified ResourceQuota", + "nickname": "replaceResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -271,7 +295,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Pod", + "type": "v1beta2.ResourceQuota", "paramType": "body", "name": "body", "description": "", @@ -289,14 +313,14 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified Pod", - "nickname": "patchPod", + "summary": "partially update the specified ResourceQuota", + "nickname": "patchResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -309,7 +333,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Pod", + "type": "v1beta2.ResourceQuota", "paramType": "body", "name": "body", "description": "", @@ -327,14 +351,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Pod", - "nickname": "deletePod", + "summary": "delete a ResourceQuota", + "nickname": "deleteResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -357,26 +381,34 @@ ] }, { - "path": "/api/v1beta2/namespaces/{name}", + "path": "/api/v1beta2/proxy/services/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Namespace", + "type": "void", "method": "GET", - "summary": "read the specified Namespace", - "nickname": "readNamespace", + "summary": "proxy GET requests to Service", + "nickname": "proxyGETService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "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": [ "*/*" @@ -385,28 +417,28 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Namespace", - "nickname": "replaceNamespace", + "summary": "proxy PUT requests to Service", + "nickname": "proxyPUTService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "description": "name of the Service", "required": true, "allowMultiple": false }, { - "type": "v1beta2.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, + "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": [ "*/*" @@ -414,29 +446,29 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Namespace", - "nickname": "patchNamespace", + "method": "POST", + "summary": "proxy POST requests to Service", + "nickname": "proxyPOSTService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "description": "name of the Service", "required": true, "allowMultiple": false }, { - "type": "v1beta2.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, + "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": [ "*/*" @@ -445,20 +477,28 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Namespace", - "nickname": "deleteNamespace", + "summary": "proxy DELETE requests to Service", + "nickname": "proxyDELETEService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "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": [ "*/*" @@ -467,23 +507,15 @@ ] }, { - "path": "/api/v1beta2/services/{name}", + "path": "/api/v1beta2/pods", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Service", + "type": "v1beta2.PodList", "method": "GET", - "summary": "read the specified Service", - "nickname": "readService", + "summary": "list objects of kind Pod", + "nickname": "listPod", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -502,18 +534,10 @@ }, { "type": "void", - "method": "PUT", - "summary": "replace the specified Service", - "nickname": "replaceService", + "method": "POST", + "summary": "create a Pod", + "nickname": "createPod", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -523,7 +547,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Service", + "type": "v1beta2.Pod", "paramType": "body", "name": "body", "description": "", @@ -537,21 +561,19 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta2/pods/{name}/binding", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Service", - "nickname": "patchService", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -561,7 +583,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Service", + "type": "v1beta2.Binding", "paramType": "body", "name": "body", "description": "", @@ -575,12 +597,18 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta2/redirect/services/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { "type": "void", - "method": "DELETE", - "summary": "delete a Service", - "nickname": "deleteService", + "method": "GET", + "summary": "redirect GET request to Service", + "nickname": "redirectService", "parameters": [ { "type": "string", @@ -600,7 +628,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -609,34 +637,21 @@ ] }, { - "path": "/api/v1beta2/namespaces", + "path": "/api/v1beta2/watch/secrets", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.NamespaceList", + "type": "v1beta2.SecretList", "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", + "summary": "watch a list of Secret", + "nickname": "watchSecretlist", "parameters": [ { - "type": "v1beta2.Namespace", - "paramType": "body", - "name": "body", - "description": "", - "required": true, + "type": "string", + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, "allowMultiple": false } ], @@ -650,15 +665,23 @@ ] }, { - "path": "/api/v1beta2/pods/{name}/binding", + "path": "/api/v1beta2/watch/secrets/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", - "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", + "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", @@ -666,14 +689,6 @@ "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": [ @@ -686,30 +701,22 @@ ] }, { - "path": "/api/v1beta2/proxy/pods/{name}", + "path": "/api/v1beta2/proxy/minions/{name}/{path:*}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { "type": "void", "method": "GET", - "summary": "proxy GET requests to Pod", - "nickname": "proxyGETPod", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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": [ @@ -722,24 +729,16 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Pod", - "nickname": "proxyPUTPod", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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": [ @@ -752,24 +751,16 @@ { "type": "void", "method": "POST", - "summary": "proxy POST requests to Pod", - "nickname": "proxyPOSTPod", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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": [ @@ -782,24 +773,16 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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": [ @@ -812,15 +795,23 @@ ] }, { - "path": "/api/v1beta2/limitRanges", + "path": "/api/v1beta2/watch/endpoints/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.LimitRangeList", + "type": "v1beta2.Endpoints", "method": "GET", - "summary": "list objects of kind LimitRange", - "nickname": "listLimitRange", + "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", @@ -836,13 +827,27 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta2/watch/pods/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { - "type": "void", - "method": "POST", - "summary": "create a LimitRange", - "nickname": "createLimitRange", + "type": "v1beta2.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", @@ -850,14 +855,6 @@ "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": [ @@ -870,14 +867,14 @@ ] }, { - "path": "/api/v1beta2/watch/namespaces/{name}", + "path": "/api/v1beta2/namespaces/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { "type": "v1beta2.Namespace", "method": "GET", - "summary": "watch a particular Namespace", - "nickname": "watchNamespace", + "summary": "read the specified Namespace", + "nickname": "readNamespace", "parameters": [ { "type": "string", @@ -894,25 +891,27 @@ "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", + "type": "void", + "method": "PUT", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", "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 Namespace", + "required": true, + "allowMultiple": false + }, + { + "type": "v1beta2.Namespace", + "paramType": "body", + "name": "body", + "description": "", + "required": true, "allowMultiple": false } ], @@ -925,20 +924,20 @@ }, { "type": "void", - "method": "POST", - "summary": "create a ResourceQuota", - "nickname": "createResourceQuota", + "method": "PATCH", + "summary": "partially update the specified Namespace", + "nickname": "patchNamespace", "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 Namespace", + "required": true, "allowMultiple": false }, { - "type": "v1beta2.ResourceQuota", + "type": "v1beta2.Namespace", "paramType": "body", "name": "body", "description": "", @@ -952,34 +951,20 @@ "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", + "type": "void", + "method": "DELETE", + "summary": "delete a Namespace", + "nickname": "deleteNamespace", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Namespace", "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": [ @@ -992,54 +977,48 @@ ] }, { - "path": "/api/v1beta2/watch/pods", + "path": "/api/v1beta2/proxy/nodes/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.PodList", + "type": "void", "method": "GET", - "summary": "watch a list of Pod", - "nickname": "watchPodlist", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", "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": [ - "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", + "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": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -1048,64 +1027,42 @@ { "type": "void", "method": "POST", - "summary": "create a Endpoints", - "nickname": "createEndpoints", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", "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": "", + "paramType": "path", + "name": "name", + "description": "name of the Node", "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", + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "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": [ "*/*" @@ -1114,24 +1071,15 @@ ] }, { - "path": "/api/v1beta2/events", + "path": "/api/v1beta2/minions", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.EventList", + "type": "v1beta2.MinionList", "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 - } - ], + "summary": "list objects of kind Node", + "nickname": "listNode", + "parameters": [], "produces": [ "application/json" ], @@ -1142,19 +1090,11 @@ { "type": "void", "method": "POST", - "summary": "create a Event", - "nickname": "createEvent", + "summary": "create a Node", + "nickname": "createNode", "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.Event", + "type": "v1beta2.Minion", "paramType": "body", "name": "body", "description": "", @@ -1172,21 +1112,21 @@ ] }, { - "path": "/api/v1beta2/watch/events", + "path": "/api/v1beta2/minions/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.EventList", + "type": "v1beta2.Minion", "method": "GET", - "summary": "watch a list of Event", - "nickname": "watchEventlist", + "summary": "read the specified Node", + "nickname": "readNode", "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 } ], @@ -1196,38 +1136,32 @@ "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", + "method": "PUT", + "summary": "replace the specified Node", + "nickname": "replaceNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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, + "type": "v1beta2.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -1235,29 +1169,29 @@ }, { "type": "void", - "method": "PUT", - "summary": "proxy PUT requests to Pod", - "nickname": "proxyPUTPod", + "method": "PATCH", + "summary": "partially update the specified Node", + "nickname": "patchNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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, + "type": "v1beta2.Minion", + "paramType": "body", + "name": "body", + "description": "", + "required": true, "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -1265,48 +1199,38 @@ }, { "type": "void", - "method": "POST", - "summary": "proxy POST requests to Pod", - "nickname": "proxyPOSTPod", + "method": "DELETE", + "summary": "delete a Node", + "nickname": "deleteNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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/events", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { - "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", + "type": "v1beta2.EventList", + "method": "GET", + "summary": "list objects of kind Event", + "nickname": "listEvent", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -1317,32 +1241,18 @@ } ], "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", + "type": "void", + "method": "POST", + "summary": "create a Event", + "nickname": "createEvent", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -1350,6 +1260,14 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false + }, + { + "type": "v1beta2.Event", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ @@ -1362,20 +1280,20 @@ ] }, { - "path": "/api/v1beta2/proxy/services/{name}/{path:*}", + "path": "/api/v1beta2/events/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.Event", "method": "GET", - "summary": "proxy GET requests to Service", - "nickname": "proxyGETService", + "summary": "read the specified Event", + "nickname": "readEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -1389,7 +1307,7 @@ } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -1398,14 +1316,14 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Service", - "nickname": "proxyPUTService", + "summary": "replace the specified Event", + "nickname": "replaceEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -1416,10 +1334,18 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false + }, + { + "type": "v1beta2.Event", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -1427,15 +1353,15 @@ }, { "type": "void", - "method": "POST", - "summary": "proxy POST requests to Service", - "nickname": "proxyPOSTService", + "method": "PATCH", + "summary": "partially update the specified Event", + "nickname": "patchEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -1446,10 +1372,18 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "allowMultiple": false + }, + { + "type": "v1beta2.Event", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -1458,14 +1392,14 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Service", - "nickname": "proxyDELETEService", + "summary": "delete a Event", + "nickname": "deleteEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -1479,7 +1413,7 @@ } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -1488,23 +1422,15 @@ ] }, { - "path": "/api/v1beta2/limitRanges/{name}", + "path": "/api/v1beta2/watch/resourceQuotas", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.LimitRange", + "type": "v1beta2.ResourceQuotaList", "method": "GET", - "summary": "read the specified LimitRange", - "nickname": "readLimitRange", + "summary": "watch a list of ResourceQuota", + "nickname": "watchResourceQuotalist", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -1520,18 +1446,24 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta2/watch/resourceQuotas/{name}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { - "type": "void", - "method": "PUT", - "summary": "replace the specified LimitRange", - "nickname": "replaceLimitRange", + "type": "v1beta2.ResourceQuota", + "method": "GET", + "summary": "watch a particular ResourceQuota", + "nickname": "watchResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the LimitRange", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -1542,14 +1474,6 @@ "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": [ @@ -1558,21 +1482,19 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta2/services", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified LimitRange", - "nickname": "patchLimitRange", + "type": "v1beta2.ServiceList", + "method": "GET", + "summary": "list objects of kind Service", + "nickname": "listService", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -1580,14 +1502,6 @@ "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": [ @@ -1599,18 +1513,10 @@ }, { "type": "void", - "method": "DELETE", - "summary": "delete a LimitRange", - "nickname": "deleteLimitRange", + "method": "POST", + "summary": "create a Service", + "nickname": "createService", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "query", @@ -1618,6 +1524,14 @@ "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": [ @@ -1630,20 +1544,20 @@ ] }, { - "path": "/api/v1beta2/watch/endpoints/{name}", + "path": "/api/v1beta2/pods/{name}/status", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Endpoints", - "method": "GET", - "summary": "watch a particular Endpoints", - "nickname": "watchEndpoints", + "type": "void", + "method": "PUT", + "summary": "replace the specified Pod", + "nickname": "replacePod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -1654,6 +1568,14 @@ "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": [ @@ -1666,14 +1588,14 @@ ] }, { - "path": "/api/v1beta2/watch/secrets", + "path": "/api/v1beta2/secrets", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { "type": "v1beta2.SecretList", "method": "GET", - "summary": "watch a list of Secret", - "nickname": "watchSecretlist", + "summary": "list objects of kind Secret", + "nickname": "listSecret", "parameters": [ { "type": "string", @@ -1690,56 +1612,12 @@ "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", + "summary": "create a Secret", + "nickname": "createSecret", "parameters": [ { "type": "string", @@ -1750,7 +1628,7 @@ "allowMultiple": false }, { - "type": "v1beta2.ResourceQuotaUsage", + "type": "v1beta2.Secret", "paramType": "body", "name": "body", "description": "", @@ -1768,20 +1646,20 @@ ] }, { - "path": "/api/v1beta2/replicationControllers/{name}", + "path": "/api/v1beta2/secrets/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.ReplicationController", + "type": "v1beta2.Secret", "method": "GET", - "summary": "read the specified ReplicationController", - "nickname": "readReplicationController", + "summary": "read the specified Secret", + "nickname": "readSecret", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Secret", "required": true, "allowMultiple": false }, @@ -1804,14 +1682,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified ReplicationController", - "nickname": "replaceReplicationController", + "summary": "replace the specified Secret", + "nickname": "replaceSecret", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Secret", "required": true, "allowMultiple": false }, @@ -1824,7 +1702,7 @@ "allowMultiple": false }, { - "type": "v1beta2.ReplicationController", + "type": "v1beta2.Secret", "paramType": "body", "name": "body", "description": "", @@ -1842,14 +1720,14 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified ReplicationController", - "nickname": "patchReplicationController", + "summary": "partially update the specified Secret", + "nickname": "patchSecret", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Secret", "required": true, "allowMultiple": false }, @@ -1862,7 +1740,7 @@ "allowMultiple": false }, { - "type": "v1beta2.ReplicationController", + "type": "v1beta2.Secret", "paramType": "body", "name": "body", "description": "", @@ -1880,14 +1758,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a ReplicationController", - "nickname": "deleteReplicationController", + "summary": "delete a Secret", + "nickname": "deleteSecret", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Secret", "required": true, "allowMultiple": false }, @@ -1910,29 +1788,62 @@ ] }, { - "path": "/api/v1beta2/events/{name}", + "path": "/api/v1beta2/nodes", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Event", + "type": "v1beta2.MinionList", "method": "GET", - "summary": "read the specified Event", - "nickname": "readEvent", + "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": "string", - "paramType": "path", - "name": "name", - "description": "name of the Event", + "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": "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 } ], @@ -1946,27 +1857,19 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Event", - "nickname": "replaceEvent", + "summary": "replace the specified Node", + "nickname": "replaceNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "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.Event", + "type": "v1beta2.Minion", "paramType": "body", "name": "body", "description": "", @@ -1984,27 +1887,19 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified Event", - "nickname": "patchEvent", + "summary": "partially update the specified Node", + "nickname": "patchNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "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.Event", + "type": "v1beta2.Minion", "paramType": "body", "name": "body", "description": "", @@ -2022,24 +1917,16 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Event", - "nickname": "deleteEvent", + "summary": "delete a Node", + "nickname": "deleteNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "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": [ @@ -2052,21 +1939,21 @@ ] }, { - "path": "/api/v1beta2/watch/minions/{name}", + "path": "/api/v1beta2/limitRanges", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Minion", + "type": "v1beta2.LimitRangeList", "method": "GET", - "summary": "watch a particular Node", - "nickname": "watchNode", + "summary": "list objects of kind LimitRange", + "nickname": "listLimitRange", "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 } ], @@ -2076,30 +1963,32 @@ "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", + "method": "POST", + "summary": "create a LimitRange", + "nickname": "createLimitRange", "parameters": [ { "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -2108,20 +1997,20 @@ ] }, { - "path": "/api/v1beta2/redirect/services/{name}", + "path": "/api/v1beta2/limitRanges/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.LimitRange", "method": "GET", - "summary": "redirect GET request to Service", - "nickname": "redirectService", + "summary": "read the specified LimitRange", + "nickname": "readLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the LimitRange", "required": true, "allowMultiple": false }, @@ -2135,29 +2024,23 @@ } ], "produces": [ - "*/*" + "application/json" ], "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 LimitRange", + "nickname": "replaceLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the LimitRange", "required": true, "allowMultiple": false }, @@ -2168,59 +2051,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.LimitRange", "paramType": "body", "name": "body", "description": "", @@ -2238,19 +2071,27 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified Node", - "nickname": "patchNode", + "summary": "partially update the specified LimitRange", + "nickname": "patchLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "description": "name of the LimitRange", "required": true, "allowMultiple": false }, { - "type": "v1beta2.Minion", + "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": "", @@ -2268,16 +2109,24 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Node", - "nickname": "deleteNode", + "summary": "delete a LimitRange", + "nickname": "deleteLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ @@ -2290,26 +2139,34 @@ ] }, { - "path": "/api/v1beta2/proxy/nodes/{name}/{path:*}", + "path": "/api/v1beta2/pods/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.Pod", "method": "GET", - "summary": "proxy GET requests to Node", - "nickname": "proxyGETNode", + "summary": "read the specified Pod", + "nickname": "readPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -2318,20 +2175,36 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", + "summary": "replace the specified Pod", + "nickname": "replacePod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -2339,21 +2212,37 @@ }, { "type": "void", - "method": "POST", - "summary": "proxy POST requests to Node", - "nickname": "proxyPOSTNode", + "method": "PATCH", + "summary": "partially update the specified Pod", + "nickname": "patchPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -2362,20 +2251,28 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", + "summary": "delete a Pod", + "nickname": "deletePod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -2384,20 +2281,28 @@ ] }, { - "path": "/api/v1beta2/minions/{name}", + "path": "/api/v1beta2/bindings", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Minion", - "method": "GET", - "summary": "read the specified Node", - "nickname": "readNode", + "type": "void", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", "parameters": [ { "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Node", + "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 } @@ -2408,23 +2313,29 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta2/resourceQuotaUsages", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { "type": "void", - "method": "PUT", - "summary": "replace the specified Node", - "nickname": "replaceNode", + "method": "POST", + "summary": "create a ResourceQuotaUsage", + "nickname": "createResourceQuotaUsage", "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 }, { - "type": "v1beta2.Minion", + "type": "v1beta2.ResourceQuotaUsage", "paramType": "body", "name": "body", "description": "", @@ -2438,12 +2349,37 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta2/watch/minions", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Node", - "nickname": "patchNode", + "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": [ + { + "type": "v1beta2.Minion", + "method": "GET", + "summary": "watch a particular Node", + "nickname": "watchNode", "parameters": [ { "type": "string", @@ -2452,14 +2388,6 @@ "description": "name of the Node", "required": true, "allowMultiple": false - }, - { - "type": "v1beta2.Minion", - "paramType": "body", - "name": "body", - "description": "", - "required": true, - "allowMultiple": false } ], "produces": [ @@ -2468,19 +2396,25 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta2/watch/events", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { - "type": "void", - "method": "DELETE", - "summary": "delete a Node", - "nickname": "deleteNode", + "type": "v1beta2.EventList", + "method": "GET", + "summary": "watch a list of Event", + "nickname": "watchEventlist", "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 } ], @@ -2494,15 +2428,23 @@ ] }, { - "path": "/api/v1beta2/watch/resourceQuotas", + "path": "/api/v1beta2/watch/events/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.ResourceQuotaList", + "type": "v1beta2.Event", "method": "GET", - "summary": "watch a list of ResourceQuota", - "nickname": "watchResourceQuotalist", + "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", @@ -2522,20 +2464,20 @@ ] }, { - "path": "/api/v1beta2/secrets/{name}", + "path": "/api/v1beta2/proxy/pods/{name}/{path:*}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Secret", + "type": "void", "method": "GET", - "summary": "read the specified Secret", - "nickname": "readSecret", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -2549,7 +2491,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -2558,14 +2500,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Secret", - "nickname": "replaceSecret", + "summary": "proxy PUT requests to Pod", + "nickname": "proxyPUTPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -2576,18 +2518,10 @@ "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": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -2595,15 +2529,15 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Secret", - "nickname": "patchSecret", + "method": "POST", + "summary": "proxy POST requests to Pod", + "nickname": "proxyPOSTPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -2614,18 +2548,10 @@ "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": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -2634,14 +2560,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Secret", - "nickname": "deleteSecret", + "summary": "proxy DELETE requests to Pod", + "nickname": "proxyDELETEPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -2655,7 +2581,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -2664,26 +2590,26 @@ ] }, { - "path": "/api/v1beta2/replicationControllers", + "path": "/api/v1beta2/proxy/minions/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.ReplicationControllerList", + "type": "void", "method": "GET", - "summary": "list objects of kind ReplicationController", - "nickname": "listReplicationController", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", "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": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -2691,65 +2617,65 @@ }, { "type": "void", - "method": "POST", - "summary": "create a ReplicationController", - "nickname": "createReplicationController", + "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, - "allowMultiple": false - }, - { - "type": "v1beta2.ReplicationController", - "paramType": "body", - "name": "body", - "description": "", + "paramType": "path", + "name": "name", + "description": "name of the Node", "required": true, "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", + "type": "void", + "method": "POST", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the LimitRange", + "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": "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": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -2758,21 +2684,21 @@ ] }, { - "path": "/api/v1beta2/watch/nodes/{name}", + "path": "/api/v1beta2/endpoints", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.Minion", + "type": "v1beta2.EndpointsList", "method": "GET", - "summary": "watch a particular Node", - "nickname": "watchNode", + "summary": "list objects of kind Endpoints", + "nickname": "listEndpoints", "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 } ], @@ -2782,19 +2708,30 @@ "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": [], + "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" ], @@ -2833,24 +2770,15 @@ ] }, { - "path": "/api/v1beta2/watch/limitRanges", + "path": "/api/v1beta2/watch/namespaces", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.LimitRangeList", + "type": "v1beta2.NamespaceList", "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 - } - ], + "summary": "watch a list of Namespace", + "nickname": "watchNamespacelist", + "parameters": [], "produces": [ "application/json" ], @@ -2861,26 +2789,26 @@ ] }, { - "path": "/api/v1beta2/watch/endpoints", + "path": "/api/v1beta2/redirect/nodes/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.EndpointsList", + "type": "void", "method": "GET", - "summary": "watch a list of Endpoints", - "nickname": "watchEndpointslist", + "summary": "redirect GET request to Node", + "nickname": "redirectNode", "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": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -2889,7 +2817,7 @@ ] }, { - "path": "/api/v1beta2/proxy/nodes/{name}", + "path": "/api/v1beta2/proxy/nodes/{name}/{path:*}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { @@ -2983,15 +2911,23 @@ ] }, { - "path": "/api/v1beta2/secrets", + "path": "/api/v1beta2/redirect/pods/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.SecretList", + "type": "void", "method": "GET", - "summary": "list objects of kind Secret", - "nickname": "listSecret", + "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", @@ -3002,17 +2938,23 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta2/watch/replicationControllers", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { - "type": "void", - "method": "POST", - "summary": "create a Secret", - "nickname": "createSecret", + "type": "v1beta2.ReplicationControllerList", + "method": "GET", + "summary": "watch a list of ReplicationController", + "nickname": "watchReplicationControllerlist", "parameters": [ { "type": "string", @@ -3021,14 +2963,153 @@ "description": "object name and auth scope, such as for teams and projects", "required": false, "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": "v1beta2.Secret", - "paramType": "body", - "name": "body", - "description": "", + "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": [ @@ -3041,26 +3122,26 @@ ] }, { - "path": "/api/v1beta2/watch/replicationControllers", + "path": "/api/v1beta2/redirect/minions/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.ReplicationControllerList", + "type": "void", "method": "GET", - "summary": "watch a list of ReplicationController", - "nickname": "watchReplicationControllerlist", + "summary": "redirect GET request to Node", + "nickname": "redirectNode", "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": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -3069,14 +3150,14 @@ ] }, { - "path": "/api/v1beta2/proxy/services/{name}", + "path": "/api/v1beta2/services/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.Service", "method": "GET", - "summary": "proxy GET requests to Service", - "nickname": "proxyGETService", + "summary": "read the specified Service", + "nickname": "readService", "parameters": [ { "type": "string", @@ -3096,7 +3177,7 @@ } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -3105,8 +3186,8 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Service", - "nickname": "proxyPUTService", + "summary": "replace the specified Service", + "nickname": "replaceService", "parameters": [ { "type": "string", @@ -3123,10 +3204,18 @@ "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": [ "*/*" @@ -3134,9 +3223,9 @@ }, { "type": "void", - "method": "POST", - "summary": "proxy POST requests to Service", - "nickname": "proxyPOSTService", + "method": "PATCH", + "summary": "partially update the specified Service", + "nickname": "patchService", "parameters": [ { "type": "string", @@ -3153,10 +3242,18 @@ "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": [ "*/*" @@ -3165,8 +3262,8 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Service", - "nickname": "proxyDELETEService", + "summary": "delete a Service", + "nickname": "deleteService", "parameters": [ { "type": "string", @@ -3186,7 +3283,7 @@ } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -3195,65 +3292,29 @@ ] }, { - "path": "/api/v1beta2/proxy/minions/{name}/{path:*}", + "path": "/api/v1beta2/proxy/pods/{name}", "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", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "description": "name of the Pod", "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, + "paramType": "query", + "name": "namespace", + "description": "object name and auth scope, such as for teams and projects", + "required": false, "allowMultiple": false } ], @@ -3266,38 +3327,18 @@ }, { "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", + "method": "PUT", + "summary": "proxy PUT requests to Pod", + "nickname": "proxyPUTPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "description": "name of the Pod", "required": true, "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", @@ -3308,7 +3349,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -3317,50 +3358,14 @@ { "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/endpoints/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ - { - "type": "v1beta2.Endpoints", - "method": "GET", - "summary": "read the specified Endpoints", - "nickname": "readEndpoints", + "summary": "proxy POST requests to Pod", + "nickname": "proxyPOSTPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -3374,7 +3379,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -3382,15 +3387,15 @@ }, { "type": "void", - "method": "PUT", - "summary": "replace the specified Endpoints", - "nickname": "replaceEndpoints", + "method": "DELETE", + "summary": "proxy DELETE requests to Pod", + "nickname": "proxyDELETEPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -3401,34 +3406,32 @@ "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/proxy/services/{name}/{path:*}", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Endpoints", - "nickname": "patchEndpoints", + "method": "GET", + "summary": "proxy GET requests to Service", + "nickname": "proxyGETService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -3439,42 +3442,36 @@ "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/redirect/nodes/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ + }, { "type": "void", - "method": "GET", - "summary": "redirect GET request to Node", - "nickname": "redirectNode", + "method": "PUT", + "summary": "proxy PUT requests to Service", + "nickname": "proxyPUTService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ @@ -3483,65 +3480,48 @@ "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", + "summary": "proxy POST requests to Service", + "nickname": "proxyPOSTService", "parameters": [ { - "type": "v1beta2.Minion", - "paramType": "body", - "name": "body", - "description": "", + "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/resourceQuotas/{name}", - "description": "API at /api/v1beta2 version v1beta2", - "operations": [ + }, { - "type": "v1beta2.ResourceQuota", - "method": "GET", - "summary": "watch a particular ResourceQuota", - "nickname": "watchResourceQuota", + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Service", + "nickname": "proxyDELETEService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -3555,7 +3535,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -3564,14 +3544,14 @@ ] }, { - "path": "/api/v1beta2/bindings", + "path": "/api/v1beta2/watch/endpoints", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", - "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", + "type": "v1beta2.EndpointsList", + "method": "GET", + "summary": "watch a list of Endpoints", + "nickname": "watchEndpointslist", "parameters": [ { "type": "string", @@ -3580,14 +3560,6 @@ "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": [ @@ -3600,14 +3572,14 @@ ] }, { - "path": "/api/v1beta2/services", + "path": "/api/v1beta2/watch/pods", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.ServiceList", + "type": "v1beta2.PodList", "method": "GET", - "summary": "list objects of kind Service", - "nickname": "listService", + "summary": "watch a list of Pod", + "nickname": "watchPodlist", "parameters": [ { "type": "string", @@ -3624,23 +3596,34 @@ "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 Service", - "nickname": "createService", + "summary": "create a Namespace", + "nickname": "createNamespace", "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", + "type": "v1beta2.Namespace", "paramType": "body", "name": "body", "description": "", @@ -3658,15 +3641,24 @@ ] }, { - "path": "/api/v1beta2/nodes", + "path": "/api/v1beta2/replicationControllers", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.MinionList", + "type": "v1beta2.ReplicationControllerList", "method": "GET", - "summary": "list objects of kind Node", - "nickname": "listNode", - "parameters": [], + "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" ], @@ -3677,11 +3669,19 @@ { "type": "void", "method": "POST", - "summary": "create a Node", - "nickname": "createNode", + "summary": "create a ReplicationController", + "nickname": "createReplicationController", "parameters": [ { - "type": "v1beta2.Minion", + "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": "", @@ -3699,20 +3699,20 @@ ] }, { - "path": "/api/v1beta2/resourceQuotas/{name}", + "path": "/api/v1beta2/replicationControllers/{name}", "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "v1beta2.ResourceQuota", + "type": "v1beta2.ReplicationController", "method": "GET", - "summary": "read the specified ResourceQuota", - "nickname": "readResourceQuota", + "summary": "read the specified ReplicationController", + "nickname": "readReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -3735,14 +3735,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified ResourceQuota", - "nickname": "replaceResourceQuota", + "summary": "replace the specified ReplicationController", + "nickname": "replaceReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -3755,7 +3755,7 @@ "allowMultiple": false }, { - "type": "v1beta2.ResourceQuota", + "type": "v1beta2.ReplicationController", "paramType": "body", "name": "body", "description": "", @@ -3773,14 +3773,14 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified ResourceQuota", - "nickname": "patchResourceQuota", + "summary": "partially update the specified ReplicationController", + "nickname": "patchReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -3793,7 +3793,7 @@ "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 262fd115b0154..d5385213ba3e1 100644 --- a/api/swagger-spec/v1beta3.json +++ b/api/swagger-spec/v1beta3.json @@ -1,19 +1,46 @@ { "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", + "path": "/api/v1beta3/watch/replicationcontrollers", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.PodList", + "type": "v1beta3.ReplicationControllerList", "method": "GET", - "summary": "list objects of kind Pod", - "nickname": "listPod", + "summary": "watch a list of ReplicationController", + "nickname": "watchReplicationControllerlist", + "parameters": [], + "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", @@ -24,7 +51,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -32,112 +59,89 @@ }, { "type": "void", - "method": "POST", - "summary": "create a Pod", - "nickname": "createPod", + "method": "PUT", + "summary": "proxy PUT requests to Service", + "nickname": "proxyPUTService", "parameters": [ { "type": "string", "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", + "name": "name", + "description": "name of the Service", "required": true, "allowMultiple": false }, { - "type": "v1beta3.Pod", - "paramType": "body", - "name": "body", - "description": "", + "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}/bindings", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ + }, { "type": "void", "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", + "summary": "proxy POST requests to Service", + "nickname": "proxyPOSTService", "parameters": [ { "type": "string", "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", + "name": "name", + "description": "name of the Service", "required": true, "allowMultiple": false }, { - "type": "v1beta3.Binding", - "paramType": "body", - "name": "body", - "description": "", + "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/nodes/{name}", - "description": "API at /api/v1beta3 version v1beta3", - "operations": [ + }, { - "type": "v1beta3.Node", - "method": "GET", - "summary": "watch a particular Node", - "nickname": "watchNode", + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Service", + "nickname": "proxyDELETEService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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", - "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": [ "*/*" @@ -146,20 +150,20 @@ ] }, { - "path": "/api/v1beta3/redirect/namespaces/{namespaces}/services/{name}", + "path": "/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { "type": "void", "method": "GET", - "summary": "redirect GET request to Service", - "nickname": "redirectService", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -178,19 +182,21 @@ "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", + "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", @@ -201,7 +207,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -210,50 +216,44 @@ { "type": "void", "method": "POST", - "summary": "create a ReplicationController", - "nickname": "createReplicationController", + "summary": "proxy POST requests to Pod", + "nickname": "proxyPOSTPod", "parameters": [ { "type": "string", "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", + "name": "name", + "description": "name of the Pod", "required": true, "allowMultiple": false }, { - "type": "v1beta3.ReplicationController", - "paramType": "body", - "name": "body", - "description": "", + "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", + "type": "void", + "method": "DELETE", + "summary": "proxy DELETE requests to Pod", + "nickname": "proxyDELETEPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -267,7 +267,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -276,30 +276,25 @@ ] }, { - "path": "/api/v1beta3/nodes", + "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/binding", "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", + "summary": "create a Binding", + "nickname": "createBinding", "parameters": [ { - "type": "v1beta3.Node", + "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": "", @@ -317,42 +312,73 @@ ] }, { - "path": "/api/v1beta3/watch/nodes", + "path": "/api/v1beta3/namespaces/{namespaces}/endpoints", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.NodeList", + "type": "v1beta3.EndpointsList", "method": "GET", - "summary": "watch a list of Node", - "nickname": "watchNodelist", - "parameters": [], + "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": [ "*/*" ] - } - ] - }, - { - "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", + "method": "POST", + "summary": "create a Endpoints", + "nickname": "createEndpoints", "parameters": [ { "type": "string", "paramType": "path", - "name": "name", - "description": "name of the Service", + "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/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", @@ -363,7 +389,35 @@ } ], "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": [ "*/*" @@ -372,28 +426,28 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Service", - "nickname": "proxyPUTService", + "summary": "replace the specified Namespace", + "nickname": "replaceNamespace", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Namespace", "required": true, "allowMultiple": false }, { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", + "type": "v1beta3.Namespace", + "paramType": "body", + "name": "body", + "description": "", "required": true, "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -401,29 +455,29 @@ }, { "type": "void", - "method": "POST", - "summary": "proxy POST requests to Service", - "nickname": "proxyPOSTService", + "method": "PATCH", + "summary": "partially update the specified Namespace", + "nickname": "patchNamespace", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Namespace", "required": true, "allowMultiple": false }, { - "type": "string", - "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", + "type": "v1beta3.Namespace", + "paramType": "body", + "name": "body", + "description": "", "required": true, "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -432,28 +486,20 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Service", - "nickname": "proxyDELETEService", + "summary": "delete a Namespace", + "nickname": "deleteNamespace", "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", + "description": "name of the Namespace", "required": true, "allowMultiple": false } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -462,36 +508,33 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/limitranges", + "path": "/api/v1beta3/watch/resourcequotas", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.LimitRangeList", + "type": "v1beta3.ResourceQuotaList", "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 - } - ], + "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 LimitRange", - "nickname": "createLimitRange", + "summary": "create a ResourceQuotaUsage", + "nickname": "createResourceQuotaUsage", "parameters": [ { "type": "string", @@ -502,7 +545,7 @@ "allowMultiple": false }, { - "type": "v1beta3.LimitRange", + "type": "v1beta3.ResourceQuotaUsage", "paramType": "body", "name": "body", "description": "", @@ -520,20 +563,20 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/events/{name}", + "path": "/api/v1beta3/namespaces/{namespaces}/services/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Event", + "type": "v1beta3.Service", "method": "GET", - "summary": "read the specified Event", - "nickname": "readEvent", + "summary": "read the specified Service", + "nickname": "readService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -556,14 +599,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Event", - "nickname": "replaceEvent", + "summary": "replace the specified Service", + "nickname": "replaceService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -576,7 +619,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Event", + "type": "v1beta3.Service", "paramType": "body", "name": "body", "description": "", @@ -594,14 +637,14 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified Event", - "nickname": "patchEvent", + "summary": "partially update the specified Service", + "nickname": "patchService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -614,7 +657,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Event", + "type": "v1beta3.Service", "paramType": "body", "name": "body", "description": "", @@ -632,14 +675,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Event", - "nickname": "deleteEvent", + "summary": "delete a Service", + "nickname": "deleteService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Event", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -662,28 +705,28 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/binding", + "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", - "method": "POST", - "summary": "create a Binding", - "nickname": "createBinding", + "type": "v1beta3.Pod", + "method": "GET", + "summary": "read the specified Pod", + "nickname": "readPod", "parameters": [ { "type": "string", "paramType": "path", - "name": "namespaces", - "description": "object name and auth scope, such as for teams and projects", + "name": "name", + "description": "name of the Pod", "required": true, "allowMultiple": false }, { - "type": "v1beta3.Binding", - "paramType": "body", - "name": "body", - "description": "", + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", "required": true, "allowMultiple": false } @@ -694,19 +737,21 @@ "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", + "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", @@ -714,6 +759,14 @@ "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": [ @@ -725,10 +778,18 @@ }, { "type": "void", - "method": "POST", - "summary": "create a ResourceQuota", - "nickname": "createResourceQuota", + "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", @@ -738,7 +799,7 @@ "allowMultiple": false }, { - "type": "v1beta3.ResourceQuota", + "type": "v1beta3.Pod", "paramType": "body", "name": "body", "description": "", @@ -752,38 +813,21 @@ "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", + "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", @@ -803,26 +847,17 @@ ] }, { - "path": "/api/v1beta3/redirect/nodes/{name}", + "path": "/api/v1beta3/watch/pods", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.PodList", "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 - } - ], + "summary": "watch a list of Pod", + "nickname": "watchPodlist", + "parameters": [], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -831,32 +866,15 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/resourcequotausages", + "path": "/api/v1beta3/secrets", "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 - } - ], + "type": "v1beta3.SecretList", + "method": "GET", + "summary": "list objects of kind Secret", + "nickname": "listSecret", + "parameters": [], "produces": [ "application/json" ], @@ -867,14 +885,14 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/secrets", + "path": "/api/v1beta3/namespaces/{namespaces}/events", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.SecretList", + "type": "v1beta3.EventList", "method": "GET", - "summary": "list objects of kind Secret", - "nickname": "listSecret", + "summary": "list objects of kind Event", + "nickname": "listEvent", "parameters": [ { "type": "string", @@ -895,8 +913,8 @@ { "type": "void", "method": "POST", - "summary": "create a Secret", - "nickname": "createSecret", + "summary": "create a Event", + "nickname": "createEvent", "parameters": [ { "type": "string", @@ -907,7 +925,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Secret", + "type": "v1beta3.Event", "paramType": "body", "name": "body", "description": "", @@ -925,20 +943,20 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/endpoints/{name}", + "path": "/api/v1beta3/namespaces/{namespaces}/events/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Endpoints", + "type": "v1beta3.Event", "method": "GET", - "summary": "read the specified Endpoints", - "nickname": "readEndpoints", + "summary": "read the specified Event", + "nickname": "readEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -961,14 +979,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Endpoints", - "nickname": "replaceEndpoints", + "summary": "replace the specified Event", + "nickname": "replaceEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -981,7 +999,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Endpoints", + "type": "v1beta3.Event", "paramType": "body", "name": "body", "description": "", @@ -999,14 +1017,14 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified Endpoints", - "nickname": "patchEndpoints", + "summary": "partially update the specified Event", + "nickname": "patchEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Endpoints", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -1019,7 +1037,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Endpoints", + "type": "v1beta3.Event", "paramType": "body", "name": "body", "description": "", @@ -1033,24 +1051,18 @@ "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", + "type": "void", + "method": "DELETE", + "summary": "delete a Event", + "nickname": "deleteEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the Event", "required": true, "allowMultiple": false }, @@ -1069,21 +1081,19 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/endpoints", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ { - "type": "void", - "method": "PUT", - "summary": "replace the specified Pod", - "nickname": "replacePod", + "type": "v1beta3.EndpointsList", + "method": "GET", + "summary": "watch a list of Endpoints", + "nickname": "watchEndpointslist", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "path", @@ -1091,12 +1101,32 @@ "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": "v1beta3.Pod", - "paramType": "body", - "name": "body", - "description": "", + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the Namespace", "required": true, "allowMultiple": false } @@ -1107,21 +1137,41 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/limitranges", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ { - "type": "void", - "method": "PATCH", - "summary": "partially update the specified Pod", - "nickname": "patchPod", + "type": "v1beta3.LimitRangeList", + "method": "GET", + "summary": "list objects of kind LimitRange", + "nickname": "listLimitRange", "parameters": [ { "type": "string", "paramType": "path", - "name": "name", - "description": "name of the Pod", + "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", @@ -1131,7 +1181,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Pod", + "type": "v1beta3.LimitRange", "paramType": "body", "name": "body", "description": "", @@ -1145,18 +1195,130 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/limitranges/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ { - "type": "void", - "method": "DELETE", - "summary": "delete a Pod", - "nickname": "deletePod", + "type": "v1beta3.LimitRange", + "method": "GET", + "summary": "read the specified LimitRange", + "nickname": "readLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "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 }, @@ -1179,14 +1341,14 @@ ] }, { - "path": "/api/v1beta3/watch/replicationcontrollers", + "path": "/api/v1beta3/watch/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": "watch a list of Event", + "nickname": "watchEventlist", "parameters": [], "produces": [ "application/json" @@ -1198,14 +1360,14 @@ ] }, { - "path": "/api/v1beta3/watch/events", + "path": "/api/v1beta3/resourcequotas", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.EventList", + "type": "v1beta3.ResourceQuotaList", "method": "GET", - "summary": "watch a list of Event", - "nickname": "watchEventlist", + "summary": "list objects of kind ResourceQuota", + "nickname": "listResourceQuota", "parameters": [], "produces": [ "application/json" @@ -1217,17 +1379,34 @@ ] }, { - "path": "/api/v1beta3/services", + "path": "/api/v1beta3/redirect/namespaces/{namespaces}/services/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.ServiceList", + "type": "void", "method": "GET", - "summary": "list objects of kind Service", - "nickname": "listService", - "parameters": [], + "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": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -1236,14 +1415,14 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/secrets", + "path": "/api/v1beta3/namespaces/{namespaces}/bindings", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.SecretList", - "method": "GET", - "summary": "watch a list of Secret", - "nickname": "watchSecretlist", + "type": "void", + "method": "POST", + "summary": "create a Binding", + "nickname": "createBinding", "parameters": [ { "type": "string", @@ -1252,6 +1431,14 @@ "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": [ @@ -1264,20 +1451,20 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/replicationcontrollers/{name}", + "path": "/api/v1beta3/namespaces/{namespaces}/endpoints/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.ReplicationController", + "type": "v1beta3.Endpoints", "method": "GET", - "summary": "read the specified ReplicationController", - "nickname": "readReplicationController", + "summary": "read the specified Endpoints", + "nickname": "readEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Endpoints", "required": true, "allowMultiple": false }, @@ -1300,14 +1487,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified ReplicationController", - "nickname": "replaceReplicationController", + "summary": "replace the specified Endpoints", + "nickname": "replaceEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Endpoints", "required": true, "allowMultiple": false }, @@ -1320,7 +1507,7 @@ "allowMultiple": false }, { - "type": "v1beta3.ReplicationController", + "type": "v1beta3.Endpoints", "paramType": "body", "name": "body", "description": "", @@ -1338,14 +1525,14 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified ReplicationController", - "nickname": "patchReplicationController", + "summary": "partially update the specified Endpoints", + "nickname": "patchEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Endpoints", "required": true, "allowMultiple": false }, @@ -1358,7 +1545,7 @@ "allowMultiple": false }, { - "type": "v1beta3.ReplicationController", + "type": "v1beta3.Endpoints", "paramType": "body", "name": "body", "description": "", @@ -1372,18 +1559,24 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/services/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ { - "type": "void", - "method": "DELETE", - "summary": "delete a ReplicationController", - "nickname": "deleteReplicationController", + "type": "v1beta3.Service", + "method": "GET", + "summary": "watch a particular Service", + "nickname": "watchService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ReplicationController", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -1406,7 +1599,7 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/services", + "path": "/api/v1beta3/watch/services", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { @@ -1414,16 +1607,7 @@ "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 - } - ], + "parameters": [], "produces": [ "application/json" ], @@ -1434,14 +1618,14 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/endpoints", + "path": "/api/v1beta3/namespaces/{namespaces}/resourcequotas", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.EndpointsList", + "type": "v1beta3.ResourceQuotaList", "method": "GET", - "summary": "watch a list of Endpoints", - "nickname": "watchEndpointslist", + "summary": "list objects of kind ResourceQuota", + "nickname": "listResourceQuota", "parameters": [ { "type": "string", @@ -1458,43 +1642,54 @@ "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": [ - "*/*" - ] - } - ] - }, + "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/redirect/namespaces/{namespaces}/pods/{name}", + "path": "/api/v1beta3/namespaces/{namespaces}/resourcequotas/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.ResourceQuota", "method": "GET", - "summary": "redirect GET request to Pod", - "nickname": "redirectPod", + "summary": "read the specified ResourceQuota", + "nickname": "readResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -1508,29 +1703,61 @@ } ], "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": [ "*/*" ] - } - ] - }, - { - "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", + "type": "void", + "method": "PATCH", + "summary": "partially update the specified ResourceQuota", + "nickname": "patchResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -1541,6 +1768,14 @@ "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": [ @@ -1549,19 +1784,21 @@ "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", + "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", @@ -1581,14 +1818,14 @@ ] }, { - "path": "/api/v1beta3/resourcequotas", + "path": "/api/v1beta3/watch/limitranges", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.ResourceQuotaList", + "type": "v1beta3.LimitRangeList", "method": "GET", - "summary": "list objects of kind ResourceQuota", - "nickname": "listResourceQuota", + "summary": "watch a list of LimitRange", + "nickname": "watchLimitRangelist", "parameters": [], "produces": [ "application/json" @@ -1600,14 +1837,14 @@ ] }, { - "path": "/api/v1beta3/secrets", + "path": "/api/v1beta3/watch/secrets", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { "type": "v1beta3.SecretList", "method": "GET", - "summary": "list objects of kind Secret", - "nickname": "listSecret", + "summary": "watch a list of Secret", + "nickname": "watchSecretlist", "parameters": [], "produces": [ "application/json" @@ -1619,36 +1856,33 @@ ] }, { - "path": "/api/v1beta3/proxy/nodes/{name}", + "path": "/api/v1beta3/watch/nodes", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.NodeList", "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 - } - ], + "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": "void", - "method": "PUT", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", + "type": "v1beta3.Node", + "method": "GET", + "summary": "watch a particular Node", + "nickname": "watchNode", "parameters": [ { "type": "string", @@ -1660,51 +1894,71 @@ } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/events", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Node", - "nickname": "proxyPOSTNode", + "type": "v1beta3.EventList", + "method": "GET", + "summary": "watch a list of Event", + "nickname": "watchEventlist", "parameters": [ { "type": "string", "paramType": "path", - "name": "name", - "description": "name of the Node", + "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": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", + "type": "v1beta3.Event", + "method": "GET", + "summary": "watch a particular Event", + "nickname": "watchEvent", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -1713,15 +1967,23 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/services", + "path": "/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}/{path:*}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.ServiceList", + "type": "void", "method": "GET", - "summary": "list objects of kind Service", - "nickname": "listService", + "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", @@ -1732,7 +1994,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -1740,89 +2002,15 @@ }, { "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/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", + "method": "PUT", + "summary": "proxy PUT requests to Service", + "nickname": "proxyPUTService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -1836,45 +2024,7 @@ } ], "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": [ "*/*" @@ -1882,15 +2032,15 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified ResourceQuota", - "nickname": "patchResourceQuota", + "method": "POST", + "summary": "proxy POST requests to Service", + "nickname": "proxyPOSTService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -1901,18 +2051,10 @@ "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": [ "*/*" @@ -1921,14 +2063,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a ResourceQuota", - "nickname": "deleteResourceQuota", + "summary": "proxy DELETE requests to Service", + "nickname": "proxyDELETEService", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the Service", "required": true, "allowMultiple": false }, @@ -1942,7 +2084,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -1951,20 +2093,20 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/secrets/{name}", + "path": "/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}/{path:*}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Secret", + "type": "void", "method": "GET", - "summary": "read the specified Secret", - "nickname": "readSecret", + "summary": "proxy GET requests to Pod", + "nickname": "proxyGETPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -1978,7 +2120,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -1987,14 +2129,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Secret", - "nickname": "replaceSecret", + "summary": "proxy PUT requests to Pod", + "nickname": "proxyPUTPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -2005,18 +2147,10 @@ "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": [ "*/*" @@ -2024,15 +2158,15 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Secret", - "nickname": "patchSecret", + "method": "POST", + "summary": "proxy POST requests to Pod", + "nickname": "proxyPOSTPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -2043,18 +2177,10 @@ "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": [ "*/*" @@ -2063,14 +2189,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Secret", - "nickname": "deleteSecret", + "summary": "proxy DELETE requests to Pod", + "nickname": "proxyDELETEPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Secret", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -2084,7 +2210,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -2093,28 +2219,20 @@ ] }, { - "path": "/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}", + "path": "/api/v1beta3/proxy/nodes/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { "type": "void", "method": "GET", - "summary": "proxy GET requests to Pod", - "nickname": "proxyGETPod", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", "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 } @@ -2129,22 +2247,14 @@ { "type": "void", "method": "PUT", - "summary": "proxy PUT requests to Pod", - "nickname": "proxyPUTPod", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", "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 } @@ -2159,22 +2269,14 @@ { "type": "void", "method": "POST", - "summary": "proxy POST requests to Pod", - "nickname": "proxyPOSTPod", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", "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 } @@ -2189,22 +2291,14 @@ { "type": "void", "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", "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 } @@ -2219,92 +2313,181 @@ ] }, { - "path": "/api/v1beta3/proxy/nodes/{name}/{path:*}", + "path": "/api/v1beta3/watch/namespaces/{namespaces}/pods", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.PodList", "method": "GET", - "summary": "proxy GET requests to Node", - "nickname": "proxyGETNode", + "summary": "watch a list of Pod", + "nickname": "watchPodlist", "parameters": [ { "type": "string", "paramType": "path", - "name": "name", - "description": "name of the Node", + "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", - "summary": "proxy PUT requests to Node", - "nickname": "proxyPUTNode", + "summary": "replace the specified Pod", + "nickname": "replacePod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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/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/watch/namespaces/{namespaces}/replicationcontrollers", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ { - "type": "void", - "method": "POST", - "summary": "proxy POST requests to Node", - "nickname": "proxyPOSTNode", + "type": "v1beta3.ReplicationControllerList", + "method": "GET", + "summary": "watch a list of ReplicationController", + "nickname": "watchReplicationControllerlist", "parameters": [ { "type": "string", "paramType": "path", - "name": "name", - "description": "name of the Node", + "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": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Node", - "nickname": "proxyDELETENode", + "type": "v1beta3.ReplicationController", + "method": "GET", + "summary": "watch a particular ReplicationController", + "nickname": "watchReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Node", + "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": [ "*/*" @@ -2313,20 +2496,20 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/services/{name}", + "path": "/api/v1beta3/watch/namespaces/{namespaces}/limitranges/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Service", + "type": "v1beta3.LimitRange", "method": "GET", - "summary": "read the specified Service", - "nickname": "readService", + "summary": "watch a particular LimitRange", + "nickname": "watchLimitRange", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the LimitRange", "required": true, "allowMultiple": false }, @@ -2345,34 +2528,60 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta3/watch/namespaces/{namespaces}/secrets", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ { - "type": "void", - "method": "PUT", - "summary": "replace the specified Service", - "nickname": "replaceService", + "type": "v1beta3.SecretList", + "method": "GET", + "summary": "watch a list of Secret", + "nickname": "watchSecretlist", "parameters": [ { "type": "string", "paramType": "path", - "name": "name", - "description": "name of the Service", + "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": "namespaces", - "description": "object name and auth scope, such as for teams and projects", + "name": "name", + "description": "name of the Secret", "required": true, "allowMultiple": false }, { - "type": "v1beta3.Service", - "paramType": "body", - "name": "body", - "description": "", + "type": "string", + "paramType": "path", + "name": "namespaces", + "description": "object name and auth scope, such as for teams and projects", "required": true, "allowMultiple": false } @@ -2383,18 +2592,24 @@ "consumes": [ "*/*" ] - }, + } + ] + }, + { + "path": "/api/v1beta3/redirect/namespaces/{namespaces}/pods/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Service", - "nickname": "patchService", + "method": "GET", + "summary": "redirect GET request to Pod", + "nickname": "redirectPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -2405,34 +2620,32 @@ "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/watch/namespaces/{namespaces}/endpoints/{name}", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ { - "type": "void", - "method": "DELETE", - "summary": "delete a Service", - "nickname": "deleteService", + "type": "v1beta3.Endpoints", + "method": "GET", + "summary": "watch a particular Endpoints", + "nickname": "watchEndpoints", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Service", + "description": "name of the Endpoints", "required": true, "allowMultiple": false }, @@ -2455,24 +2668,113 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/replicationcontrollers", + "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/services", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.ServiceList", + "method": "GET", + "summary": "list objects of kind Service", + "nickname": "listService", + "parameters": [], + "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/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 - } + "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" ], @@ -2483,14 +2785,14 @@ ] }, { - "path": "/api/v1beta3/replicationcontrollers", + "path": "/api/v1beta3/nodes", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.ReplicationControllerList", + "type": "v1beta3.NodeList", "method": "GET", - "summary": "list objects of kind ReplicationController", - "nickname": "listReplicationController", + "summary": "list objects of kind Node", + "nickname": "listNode", "parameters": [], "produces": [ "application/json" @@ -2498,24 +2800,46 @@ "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/namespaces/{name}", + "path": "/api/v1beta3/nodes/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Namespace", + "type": "v1beta3.Node", "method": "GET", - "summary": "read the specified Namespace", - "nickname": "readNamespace", + "summary": "read the specified Node", + "nickname": "readNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "description": "name of the Node", "required": true, "allowMultiple": false } @@ -2530,19 +2854,19 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Namespace", - "nickname": "replaceNamespace", + "summary": "replace the specified Node", + "nickname": "replaceNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "description": "name of the Node", "required": true, "allowMultiple": false }, { - "type": "v1beta3.Namespace", + "type": "v1beta3.Node", "paramType": "body", "name": "body", "description": "", @@ -2560,19 +2884,19 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified Namespace", - "nickname": "patchNamespace", + "summary": "partially update the specified Node", + "nickname": "patchNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "description": "name of the Node", "required": true, "allowMultiple": false }, { - "type": "v1beta3.Namespace", + "type": "v1beta3.Node", "paramType": "body", "name": "body", "description": "", @@ -2590,14 +2914,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Namespace", - "nickname": "deleteNamespace", + "summary": "delete a Node", + "nickname": "deleteNode", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Namespace", + "description": "name of the Node", "required": true, "allowMultiple": false } @@ -2612,23 +2936,15 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/pods/{name}", + "path": "/api/v1beta3/watch/namespaces/{namespaces}/resourcequotas", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Pod", + "type": "v1beta3.ResourceQuotaList", "method": "GET", - "summary": "watch a particular Pod", - "nickname": "watchPod", + "summary": "watch a list of ResourceQuota", + "nickname": "watchResourceQuotalist", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Pod", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "path", @@ -2648,20 +2964,20 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/pods/{name}/status", + "path": "/api/v1beta3/watch/namespaces/{namespaces}/resourcequotas/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", - "method": "PUT", - "summary": "replace the specified Pod", - "nickname": "replacePod", + "type": "v1beta3.ResourceQuota", + "method": "GET", + "summary": "watch a particular ResourceQuota", + "nickname": "watchResourceQuota", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the ResourceQuota", "required": true, "allowMultiple": false }, @@ -2672,14 +2988,6 @@ "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": [ @@ -2692,53 +3000,15 @@ ] }, { - "path": "/api/v1beta3/proxy/namespaces/{namespaces}/services/{name}", + "path": "/api/v1beta3/namespaces/{namespaces}/services", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.ServiceList", "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", + "summary": "list objects of kind Service", + "nickname": "listService", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "path", @@ -2749,7 +3019,7 @@ } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -2758,47 +3028,9 @@ { "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", + "summary": "create a Service", + "nickname": "createService", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the Service", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "path", @@ -2806,40 +3038,12 @@ "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", + "type": "v1beta3.Service", + "paramType": "body", + "name": "body", + "description": "", "required": true, "allowMultiple": false } @@ -2854,14 +3058,14 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/endpoints", + "path": "/api/v1beta3/namespaces/{namespaces}/pods", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.EndpointsList", + "type": "v1beta3.PodList", "method": "GET", - "summary": "list objects of kind Endpoints", - "nickname": "listEndpoints", + "summary": "list objects of kind Pod", + "nickname": "listPod", "parameters": [ { "type": "string", @@ -2882,8 +3086,8 @@ { "type": "void", "method": "POST", - "summary": "create a Endpoints", - "nickname": "createEndpoints", + "summary": "create a Pod", + "nickname": "createPod", "parameters": [ { "type": "string", @@ -2894,7 +3098,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Endpoints", + "type": "v1beta3.Pod", "paramType": "body", "name": "body", "description": "", @@ -2912,33 +3116,14 @@ ] }, { - "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", + "path": "/api/v1beta3/namespaces/{namespaces}/replicationcontrollers", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.ResourceQuotaList", + "type": "v1beta3.ReplicationControllerList", "method": "GET", - "summary": "watch a list of ResourceQuota", - "nickname": "watchResourceQuotalist", + "summary": "list objects of kind ReplicationController", + "nickname": "listReplicationController", "parameters": [ { "type": "string", @@ -2955,38 +3140,30 @@ "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" + "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 + } ], - "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" ], @@ -2997,20 +3174,20 @@ ] }, { - "path": "/api/v1beta3/namespaces/{namespaces}/limitranges/{name}", + "path": "/api/v1beta3/namespaces/{namespaces}/replicationcontrollers/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.LimitRange", + "type": "v1beta3.ReplicationController", "method": "GET", - "summary": "read the specified LimitRange", - "nickname": "readLimitRange", + "summary": "read the specified ReplicationController", + "nickname": "readReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the LimitRange", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -3033,14 +3210,14 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified LimitRange", - "nickname": "replaceLimitRange", + "summary": "replace the specified ReplicationController", + "nickname": "replaceReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the LimitRange", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -3053,7 +3230,7 @@ "allowMultiple": false }, { - "type": "v1beta3.LimitRange", + "type": "v1beta3.ReplicationController", "paramType": "body", "name": "body", "description": "", @@ -3071,14 +3248,14 @@ { "type": "void", "method": "PATCH", - "summary": "partially update the specified LimitRange", - "nickname": "patchLimitRange", + "summary": "partially update the specified ReplicationController", + "nickname": "patchReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the LimitRange", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -3091,7 +3268,7 @@ "allowMultiple": false }, { - "type": "v1beta3.LimitRange", + "type": "v1beta3.ReplicationController", "paramType": "body", "name": "body", "description": "", @@ -3109,14 +3286,14 @@ { "type": "void", "method": "DELETE", - "summary": "delete a LimitRange", - "nickname": "deleteLimitRange", + "summary": "delete a ReplicationController", + "nickname": "deleteReplicationController", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the LimitRange", + "description": "name of the ReplicationController", "required": true, "allowMultiple": false }, @@ -3139,23 +3316,15 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/limitranges/{name}", + "path": "/api/v1beta3/namespaces/{namespaces}/secrets", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.LimitRange", + "type": "v1beta3.SecretList", "method": "GET", - "summary": "watch a particular LimitRange", - "nickname": "watchLimitRange", + "summary": "list objects of kind Secret", + "nickname": "listSecret", "parameters": [ - { - "type": "string", - "paramType": "path", - "name": "name", - "description": "name of the LimitRange", - "required": true, - "allowMultiple": false - }, { "type": "string", "paramType": "path", @@ -3171,37 +3340,12 @@ "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", + "type": "void", + "method": "POST", + "summary": "create a Secret", + "nickname": "createSecret", "parameters": [ { "type": "string", @@ -3210,6 +3354,14 @@ "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": [ @@ -3222,80 +3374,20 @@ ] }, { - "path": "/api/v1beta3/proxy/namespaces/{namespaces}/pods/{name}/{path:*}", + "path": "/api/v1beta3/namespaces/{namespaces}/secrets/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.Secret", "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", + "summary": "read the specified Secret", + "nickname": "readSecret", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the Secret", "required": true, "allowMultiple": false }, @@ -3309,7 +3401,7 @@ } ], "produces": [ - "*/*" + "application/json" ], "consumes": [ "*/*" @@ -3317,15 +3409,15 @@ }, { "type": "void", - "method": "DELETE", - "summary": "proxy DELETE requests to Pod", - "nickname": "proxyDELETEPod", + "method": "PUT", + "summary": "replace the specified Secret", + "nickname": "replaceSecret", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the Pod", + "description": "name of the Secret", "required": true, "allowMultiple": false }, @@ -3336,32 +3428,12 @@ "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", + "type": "v1beta3.Secret", + "paramType": "body", + "name": "body", + "description": "", "required": true, "allowMultiple": false } @@ -3375,10 +3447,18 @@ }, { "type": "void", - "method": "POST", - "summary": "create a Event", - "nickname": "createEvent", + "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": "path", @@ -3388,7 +3468,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Event", + "type": "v1beta3.Secret", "paramType": "body", "name": "body", "description": "", @@ -3402,37 +3482,26 @@ "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", + "method": "DELETE", + "summary": "delete a Secret", + "nickname": "deleteSecret", "parameters": [ { - "type": "v1beta3.Namespace", - "paramType": "body", - "name": "body", - "description": "", + "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 } @@ -3447,34 +3516,26 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/endpoints/{name}", + "path": "/api/v1beta3/redirect/nodes/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Endpoints", + "type": "void", "method": "GET", - "summary": "watch a particular Endpoints", - "nickname": "watchEndpoints", + "summary": "redirect GET request to Node", + "nickname": "redirectNode", "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", + "description": "name of the Node", "required": true, "allowMultiple": false } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -3483,14 +3544,14 @@ ] }, { - "path": "/api/v1beta3/nodes/{name}", + "path": "/api/v1beta3/proxy/nodes/{name}/{path:*}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Node", + "type": "void", "method": "GET", - "summary": "read the specified Node", - "nickname": "readNode", + "summary": "proxy GET requests to Node", + "nickname": "proxyGETNode", "parameters": [ { "type": "string", @@ -3502,7 +3563,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -3511,8 +3572,8 @@ { "type": "void", "method": "PUT", - "summary": "replace the specified Node", - "nickname": "replaceNode", + "summary": "proxy PUT requests to Node", + "nickname": "proxyPUTNode", "parameters": [ { "type": "string", @@ -3521,18 +3582,10 @@ "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": [ "*/*" @@ -3540,9 +3593,9 @@ }, { "type": "void", - "method": "PATCH", - "summary": "partially update the specified Node", - "nickname": "patchNode", + "method": "POST", + "summary": "proxy POST requests to Node", + "nickname": "proxyPOSTNode", "parameters": [ { "type": "string", @@ -3551,18 +3604,10 @@ "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": [ "*/*" @@ -3571,8 +3616,8 @@ { "type": "void", "method": "DELETE", - "summary": "delete a Node", - "nickname": "deleteNode", + "summary": "proxy DELETE requests to Node", + "nickname": "proxyDELETENode", "parameters": [ { "type": "string", @@ -3584,7 +3629,7 @@ } ], "produces": [ - "application/json" + "*/*" ], "consumes": [ "*/*" @@ -3593,24 +3638,15 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{name}", + "path": "/api/v1beta3/endpoints", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.Namespace", + "type": "v1beta3.EndpointsList", "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 - } - ], + "summary": "list objects of kind Endpoints", + "nickname": "listEndpoints", + "parameters": [], "produces": [ "application/json" ], @@ -3621,14 +3657,14 @@ ] }, { - "path": "/api/v1beta3/watch/services", + "path": "/api/v1beta3/watch/namespaces", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.ServiceList", + "type": "v1beta3.NamespaceList", "method": "GET", - "summary": "watch a list of Service", - "nickname": "watchServicelist", + "summary": "watch a list of Namespace", + "nickname": "watchNamespacelist", "parameters": [], "produces": [ "application/json" @@ -3640,20 +3676,20 @@ ] }, { - "path": "/api/v1beta3/watch/namespaces/{namespaces}/resourcequotas/{name}", + "path": "/api/v1beta3/watch/namespaces/{namespaces}/pods/{name}", "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "v1beta3.ResourceQuota", + "type": "v1beta3.Pod", "method": "GET", - "summary": "watch a particular ResourceQuota", - "nickname": "watchResourceQuota", + "summary": "watch a particular Pod", + "nickname": "watchPod", "parameters": [ { "type": "string", "paramType": "path", "name": "name", - "description": "name of the ResourceQuota", + "description": "name of the Pod", "required": true, "allowMultiple": false }, @@ -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 b7da015b840fb..7166d1849939c 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 cf99e305cd567..d6c260d42b346 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 e0bd74b28ac5c..8c965264fe90c 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 cc5cec460e858..7be2294c34db2 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 cd5afd77c4548..0fe8cd65b248f 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 40dde8c440701..588b4349b6951 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 3696f464cffc1..bee5487f30dfe 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 da8b8ea2ec34e..61b7a751857b5 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 8eca102533d80..26737b859baef 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 331446d9fa515..b611fe49c52ab 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 a349895e1c423..f2bbf6d01f820 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 f5d4fcf2acedc..b65e6b3b70ba5 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 0523653881062..847596fd00814 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 87407f0842fb2..db72ddda1679a 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 583524671907e..cee1ef07a1824 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 e93c5aed04c15..ddb60b79bd3f5 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 5731e1b7eab10..6117354b1fe31 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 70b50b44c567a..6a16db6e2cb7c 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{ {