diff --git a/api/swagger-spec/api.json b/api/swagger-spec/api.json index 08cfc5a5cac..f86dea5dea4 100644 --- a/api/swagger-spec/api.json +++ b/api/swagger-spec/api.json @@ -24,4 +24,4 @@ ] } ] - } + } \ No newline at end of file diff --git a/api/swagger-spec/resourceListing.json b/api/swagger-spec/resourceListing.json index 252566c2ba8..f387f1fc70a 100644 --- a/api/swagger-spec/resourceListing.json +++ b/api/swagger-spec/resourceListing.json @@ -27,4 +27,4 @@ "title": "", "description": "" } - } + } \ No newline at end of file diff --git a/api/swagger-spec/v1beta1.json b/api/swagger-spec/v1beta1.json index dc1a6fc7e3d..7acf3e81a08 100644 --- a/api/swagger-spec/v1beta1.json +++ b/api/swagger-spec/v1beta1.json @@ -9,7 +9,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.Binding", "method": "POST", "summary": "create a Binding", "nickname": "createBinding", @@ -31,6 +31,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Binding" + } + ], "produces": [ "application/json" ], @@ -91,6 +98,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.EndpointsList" + } + ], "produces": [ "application/json" ], @@ -99,7 +113,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Endpoints", "method": "POST", "summary": "create a Endpoints", "nickname": "createEndpoints", @@ -121,6 +135,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Endpoints" + } + ], "produces": [ "application/json" ], @@ -181,6 +202,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -217,6 +245,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Endpoints" + } + ], "produces": [ "application/json" ], @@ -225,7 +260,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Endpoints", "method": "PUT", "summary": "replace the specified Endpoints", "nickname": "replaceEndpoints", @@ -255,6 +290,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Endpoints" + } + ], "produces": [ "application/json" ], @@ -263,7 +305,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Endpoints", "method": "PATCH", "summary": "partially update the specified Endpoints", "nickname": "patchEndpoints", @@ -285,7 +327,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Endpoints", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -293,6 +335,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -303,7 +352,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a Endpoints", "nickname": "deleteEndpoints", @@ -325,7 +374,7 @@ "allowMultiple": false }, { - "type": "*v1beta1.DeleteOptions", + "type": "v1beta1.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -333,6 +382,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -401,6 +457,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -461,6 +524,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.EventList" + } + ], "produces": [ "application/json" ], @@ -469,7 +539,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Event", "method": "POST", "summary": "create a Event", "nickname": "createEvent", @@ -491,6 +561,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Event" + } + ], "produces": [ "application/json" ], @@ -551,6 +628,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -587,6 +671,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Event" + } + ], "produces": [ "application/json" ], @@ -595,7 +686,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Event", "method": "PUT", "summary": "replace the specified Event", "nickname": "replaceEvent", @@ -625,6 +716,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Event" + } + ], "produces": [ "application/json" ], @@ -633,7 +731,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Event", "method": "PATCH", "summary": "partially update the specified Event", "nickname": "patchEvent", @@ -655,7 +753,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Event", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -663,6 +761,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -673,7 +778,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a Event", "nickname": "deleteEvent", @@ -695,6 +800,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -763,6 +875,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -823,6 +942,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.LimitRangeList" + } + ], "produces": [ "application/json" ], @@ -831,7 +957,7 @@ ] }, { - "type": "void", + "type": "v1beta1.LimitRange", "method": "POST", "summary": "create a LimitRange", "nickname": "createLimitRange", @@ -853,6 +979,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.LimitRange" + } + ], "produces": [ "application/json" ], @@ -913,6 +1046,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -949,6 +1089,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.LimitRange" + } + ], "produces": [ "application/json" ], @@ -957,7 +1104,7 @@ ] }, { - "type": "void", + "type": "v1beta1.LimitRange", "method": "PUT", "summary": "replace the specified LimitRange", "nickname": "replaceLimitRange", @@ -987,6 +1134,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.LimitRange" + } + ], "produces": [ "application/json" ], @@ -995,7 +1149,7 @@ ] }, { - "type": "void", + "type": "v1beta1.LimitRange", "method": "PATCH", "summary": "partially update the specified LimitRange", "nickname": "patchLimitRange", @@ -1017,7 +1171,7 @@ "allowMultiple": false }, { - "type": "v1beta1.LimitRange", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -1025,6 +1179,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -1035,7 +1196,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a LimitRange", "nickname": "deleteLimitRange", @@ -1057,6 +1218,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -1125,6 +1293,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1177,6 +1352,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.MinionList" + } + ], "produces": [ "application/json" ], @@ -1185,7 +1367,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Minion", "method": "POST", "summary": "create a Node", "nickname": "createNode", @@ -1199,6 +1381,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Minion" + } + ], "produces": [ "application/json" ], @@ -1251,6 +1440,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1279,6 +1475,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Minion" + } + ], "produces": [ "application/json" ], @@ -1287,7 +1490,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Minion", "method": "PUT", "summary": "replace the specified Node", "nickname": "replaceNode", @@ -1309,6 +1512,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Minion" + } + ], "produces": [ "application/json" ], @@ -1317,7 +1527,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Minion", "method": "PATCH", "summary": "partially update the specified Node", "nickname": "patchNode", @@ -1331,7 +1541,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Minion", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -1339,6 +1549,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -1349,7 +1566,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a Node", "nickname": "deleteNode", @@ -1363,7 +1580,7 @@ "allowMultiple": false }, { - "type": "*v1beta1.DeleteOptions", + "type": "v1beta1.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -1371,6 +1588,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -1431,6 +1655,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1445,7 +1676,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Node", "nickname": "redirectNode", @@ -1473,7 +1704,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Node", "nickname": "proxyGETNode", @@ -1503,7 +1734,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Node", "nickname": "proxyPUTNode", @@ -1533,7 +1764,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Node", "nickname": "proxyPOSTNode", @@ -1563,7 +1794,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Node", "nickname": "proxyDELETENode", @@ -1599,7 +1830,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Node", "nickname": "proxyGETNode", @@ -1621,7 +1852,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Node", "nickname": "proxyPUTNode", @@ -1643,7 +1874,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Node", "nickname": "proxyPOSTNode", @@ -1665,7 +1896,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Node", "nickname": "proxyDELETENode", @@ -1731,6 +1962,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.NamespaceList" + } + ], "produces": [ "application/json" ], @@ -1739,7 +1977,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Namespace", "method": "POST", "summary": "create a Namespace", "nickname": "createNamespace", @@ -1753,6 +1991,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Namespace" + } + ], "produces": [ "application/json" ], @@ -1805,6 +2050,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1833,6 +2085,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Namespace" + } + ], "produces": [ "application/json" ], @@ -1841,7 +2100,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Namespace", "method": "PUT", "summary": "replace the specified Namespace", "nickname": "replaceNamespace", @@ -1863,6 +2122,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Namespace" + } + ], "produces": [ "application/json" ], @@ -1871,7 +2137,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Namespace", "method": "PATCH", "summary": "partially update the specified Namespace", "nickname": "patchNamespace", @@ -1885,7 +2151,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Namespace", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -1893,6 +2159,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -1903,7 +2176,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a Namespace", "nickname": "deleteNamespace", @@ -1917,7 +2190,7 @@ "allowMultiple": false }, { - "type": "*v1beta1.DeleteOptions", + "type": "v1beta1.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -1925,6 +2198,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -1985,6 +2265,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1999,7 +2286,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.Namespace", "method": "PUT", "summary": "replace the specified Namespace", "nickname": "replaceNamespace", @@ -2021,6 +2308,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Namespace" + } + ], "produces": [ "application/json" ], @@ -2035,7 +2329,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.Namespace", "method": "PUT", "summary": "replace the specified Namespace", "nickname": "replaceNamespace", @@ -2057,6 +2351,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Namespace" + } + ], "produces": [ "application/json" ], @@ -2109,6 +2410,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.MinionList" + } + ], "produces": [ "application/json" ], @@ -2117,7 +2425,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Minion", "method": "POST", "summary": "create a Node", "nickname": "createNode", @@ -2131,6 +2439,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Minion" + } + ], "produces": [ "application/json" ], @@ -2183,6 +2498,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -2211,6 +2533,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Minion" + } + ], "produces": [ "application/json" ], @@ -2219,7 +2548,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Minion", "method": "PUT", "summary": "replace the specified Node", "nickname": "replaceNode", @@ -2241,6 +2570,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Minion" + } + ], "produces": [ "application/json" ], @@ -2249,7 +2585,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Minion", "method": "PATCH", "summary": "partially update the specified Node", "nickname": "patchNode", @@ -2263,7 +2599,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Minion", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -2271,6 +2607,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -2281,7 +2624,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a Node", "nickname": "deleteNode", @@ -2295,7 +2638,7 @@ "allowMultiple": false }, { - "type": "*v1beta1.DeleteOptions", + "type": "v1beta1.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -2303,6 +2646,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -2363,6 +2713,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -2377,7 +2734,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Node", "nickname": "redirectNode", @@ -2405,7 +2762,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Node", "nickname": "proxyGETNode", @@ -2435,7 +2792,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Node", "nickname": "proxyPUTNode", @@ -2465,7 +2822,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Node", "nickname": "proxyPOSTNode", @@ -2495,7 +2852,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Node", "nickname": "proxyDELETENode", @@ -2531,7 +2888,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Node", "nickname": "proxyGETNode", @@ -2553,7 +2910,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Node", "nickname": "proxyPUTNode", @@ -2575,7 +2932,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Node", "nickname": "proxyPOSTNode", @@ -2597,7 +2954,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Node", "nickname": "proxyDELETENode", @@ -2671,6 +3028,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PersistentVolumeClaimList" + } + ], "produces": [ "application/json" ], @@ -2679,7 +3043,7 @@ ] }, { - "type": "void", + "type": "v1beta1.PersistentVolumeClaim", "method": "POST", "summary": "create a PersistentVolumeClaim", "nickname": "createPersistentVolumeClaim", @@ -2701,6 +3065,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -2761,6 +3132,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -2797,6 +3175,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -2805,7 +3190,7 @@ ] }, { - "type": "void", + "type": "v1beta1.PersistentVolumeClaim", "method": "PUT", "summary": "replace the specified PersistentVolumeClaim", "nickname": "replacePersistentVolumeClaim", @@ -2835,6 +3220,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -2843,7 +3235,7 @@ ] }, { - "type": "void", + "type": "v1beta1.PersistentVolumeClaim", "method": "PATCH", "summary": "partially update the specified PersistentVolumeClaim", "nickname": "patchPersistentVolumeClaim", @@ -2865,7 +3257,7 @@ "allowMultiple": false }, { - "type": "v1beta1.PersistentVolumeClaim", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -2873,6 +3265,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -2883,7 +3282,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a PersistentVolumeClaim", "nickname": "deletePersistentVolumeClaim", @@ -2905,7 +3304,7 @@ "allowMultiple": false }, { - "type": "*v1beta1.DeleteOptions", + "type": "v1beta1.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -2913,6 +3312,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -2981,6 +3387,64 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta1/persistentVolumeClaims/{name}/status", + "description": "API at /api/v1beta1 version v1beta1", + "operations": [ + { + "type": "v1beta1.PersistentVolumeClaim", + "method": "PUT", + "summary": "replace the specified PersistentVolumeClaim", + "nickname": "replacePersistentVolumeClaim", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the PersistentVolumeClaim", + "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.PersistentVolumeClaim", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -3033,6 +3497,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PersistentVolumeList" + } + ], "produces": [ "application/json" ], @@ -3041,7 +3512,7 @@ ] }, { - "type": "void", + "type": "v1beta1.PersistentVolume", "method": "POST", "summary": "create a PersistentVolume", "nickname": "createPersistentVolume", @@ -3055,6 +3526,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3107,6 +3585,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3135,6 +3620,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3143,7 +3635,7 @@ ] }, { - "type": "void", + "type": "v1beta1.PersistentVolume", "method": "PUT", "summary": "replace the specified PersistentVolume", "nickname": "replacePersistentVolume", @@ -3165,6 +3657,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3173,7 +3672,7 @@ ] }, { - "type": "void", + "type": "v1beta1.PersistentVolume", "method": "PATCH", "summary": "partially update the specified PersistentVolume", "nickname": "patchPersistentVolume", @@ -3187,7 +3686,7 @@ "allowMultiple": false }, { - "type": "v1beta1.PersistentVolume", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -3195,6 +3694,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -3205,7 +3711,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a PersistentVolume", "nickname": "deletePersistentVolume", @@ -3219,7 +3725,7 @@ "allowMultiple": false }, { - "type": "*v1beta1.DeleteOptions", + "type": "v1beta1.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -3227,6 +3733,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -3287,6 +3800,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3301,7 +3821,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.PersistentVolume", "method": "PUT", "summary": "replace the specified PersistentVolume", "nickname": "replacePersistentVolume", @@ -3323,6 +3843,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3383,6 +3910,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PodList" + } + ], "produces": [ "application/json" ], @@ -3391,7 +3925,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Pod", "method": "POST", "summary": "create a Pod", "nickname": "createPod", @@ -3413,6 +3947,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Pod" + } + ], "produces": [ "application/json" ], @@ -3473,6 +4014,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3509,6 +4057,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Pod" + } + ], "produces": [ "application/json" ], @@ -3517,7 +4072,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Pod", "method": "PUT", "summary": "replace the specified Pod", "nickname": "replacePod", @@ -3547,6 +4102,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Pod" + } + ], "produces": [ "application/json" ], @@ -3555,7 +4117,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Pod", "method": "PATCH", "summary": "partially update the specified Pod", "nickname": "patchPod", @@ -3577,7 +4139,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Pod", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -3585,6 +4147,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -3595,7 +4164,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a Pod", "nickname": "deletePod", @@ -3617,7 +4186,7 @@ "allowMultiple": false }, { - "type": "*v1beta1.DeleteOptions", + "type": "v1beta1.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -3625,6 +4194,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -3693,6 +4269,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3707,7 +4290,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Pod", "nickname": "redirectPod", @@ -3743,7 +4326,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Pod", "nickname": "proxyGETPod", @@ -3781,7 +4364,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Pod", "nickname": "proxyPUTPod", @@ -3819,7 +4402,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Pod", "nickname": "proxyPOSTPod", @@ -3857,7 +4440,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Pod", "nickname": "proxyDELETEPod", @@ -3901,7 +4484,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Pod", "nickname": "proxyGETPod", @@ -3931,7 +4514,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Pod", "nickname": "proxyPUTPod", @@ -3961,7 +4544,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Pod", "nickname": "proxyPOSTPod", @@ -3991,7 +4574,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Pod", "nickname": "proxyDELETEPod", @@ -4027,7 +4610,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.Binding", "method": "POST", "summary": "create a Binding", "nickname": "createBinding", @@ -4049,6 +4632,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Binding" + } + ], "produces": [ "application/json" ], @@ -4085,6 +4675,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.PodLogOptions" + } + ], "produces": [ "application/json" ], @@ -4099,7 +4696,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.Pod", "method": "PUT", "summary": "replace the specified Pod", "nickname": "replacePod", @@ -4129,6 +4726,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Pod" + } + ], "produces": [ "application/json" ], @@ -4189,6 +4793,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.ReplicationControllerList" + } + ], "produces": [ "application/json" ], @@ -4197,7 +4808,7 @@ ] }, { - "type": "void", + "type": "v1beta1.ReplicationController", "method": "POST", "summary": "create a ReplicationController", "nickname": "createReplicationController", @@ -4219,6 +4830,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.ReplicationController" + } + ], "produces": [ "application/json" ], @@ -4279,6 +4897,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4315,6 +4940,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.ReplicationController" + } + ], "produces": [ "application/json" ], @@ -4323,7 +4955,7 @@ ] }, { - "type": "void", + "type": "v1beta1.ReplicationController", "method": "PUT", "summary": "replace the specified ReplicationController", "nickname": "replaceReplicationController", @@ -4353,6 +4985,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.ReplicationController" + } + ], "produces": [ "application/json" ], @@ -4361,7 +5000,7 @@ ] }, { - "type": "void", + "type": "v1beta1.ReplicationController", "method": "PATCH", "summary": "partially update the specified ReplicationController", "nickname": "patchReplicationController", @@ -4383,7 +5022,7 @@ "allowMultiple": false }, { - "type": "v1beta1.ReplicationController", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -4391,6 +5030,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -4401,7 +5047,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a ReplicationController", "nickname": "deleteReplicationController", @@ -4423,7 +5069,7 @@ "allowMultiple": false }, { - "type": "*v1beta1.DeleteOptions", + "type": "v1beta1.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -4431,6 +5077,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -4499,6 +5152,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4559,6 +5219,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.ResourceQuotaList" + } + ], "produces": [ "application/json" ], @@ -4567,7 +5234,7 @@ ] }, { - "type": "void", + "type": "v1beta1.ResourceQuota", "method": "POST", "summary": "create a ResourceQuota", "nickname": "createResourceQuota", @@ -4589,6 +5256,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4649,6 +5323,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4685,6 +5366,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4693,7 +5381,7 @@ ] }, { - "type": "void", + "type": "v1beta1.ResourceQuota", "method": "PUT", "summary": "replace the specified ResourceQuota", "nickname": "replaceResourceQuota", @@ -4723,6 +5411,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4731,7 +5426,7 @@ ] }, { - "type": "void", + "type": "v1beta1.ResourceQuota", "method": "PATCH", "summary": "partially update the specified ResourceQuota", "nickname": "patchResourceQuota", @@ -4753,7 +5448,7 @@ "allowMultiple": false }, { - "type": "v1beta1.ResourceQuota", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -4761,6 +5456,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -4771,7 +5473,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a ResourceQuota", "nickname": "deleteResourceQuota", @@ -4793,7 +5495,7 @@ "allowMultiple": false }, { - "type": "*v1beta1.DeleteOptions", + "type": "v1beta1.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -4801,6 +5503,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -4869,6 +5578,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4883,7 +5599,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "v1beta1.ResourceQuota", "method": "PUT", "summary": "replace the specified ResourceQuota", "nickname": "replaceResourceQuota", @@ -4913,6 +5629,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4973,6 +5696,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.SecretList" + } + ], "produces": [ "application/json" ], @@ -4981,7 +5711,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Secret", "method": "POST", "summary": "create a Secret", "nickname": "createSecret", @@ -5003,6 +5733,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Secret" + } + ], "produces": [ "application/json" ], @@ -5063,6 +5800,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5099,6 +5843,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Secret" + } + ], "produces": [ "application/json" ], @@ -5107,7 +5858,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Secret", "method": "PUT", "summary": "replace the specified Secret", "nickname": "replaceSecret", @@ -5137,6 +5888,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Secret" + } + ], "produces": [ "application/json" ], @@ -5145,7 +5903,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Secret", "method": "PATCH", "summary": "partially update the specified Secret", "nickname": "patchSecret", @@ -5167,7 +5925,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Secret", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -5175,6 +5933,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -5185,7 +5950,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a Secret", "nickname": "deleteSecret", @@ -5207,6 +5972,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -5275,6 +6047,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5335,6 +6114,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.ServiceList" + } + ], "produces": [ "application/json" ], @@ -5343,7 +6129,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Service", "method": "POST", "summary": "create a Service", "nickname": "createService", @@ -5365,6 +6151,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Service" + } + ], "produces": [ "application/json" ], @@ -5425,6 +6218,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5461,6 +6261,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Service" + } + ], "produces": [ "application/json" ], @@ -5469,7 +6276,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Service", "method": "PUT", "summary": "replace the specified Service", "nickname": "replaceService", @@ -5499,6 +6306,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Service" + } + ], "produces": [ "application/json" ], @@ -5507,7 +6321,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Service", "method": "PATCH", "summary": "partially update the specified Service", "nickname": "patchService", @@ -5529,7 +6343,7 @@ "allowMultiple": false }, { - "type": "v1beta1.Service", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -5537,6 +6351,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -5547,7 +6368,7 @@ ] }, { - "type": "void", + "type": "v1beta1.Status", "method": "DELETE", "summary": "delete a Service", "nickname": "deleteService", @@ -5569,6 +6390,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta1.Status" + } + ], "produces": [ "application/json" ], @@ -5637,6 +6465,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5651,7 +6486,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Service", "nickname": "redirectService", @@ -5687,7 +6522,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Service", "nickname": "proxyGETService", @@ -5725,7 +6560,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Service", "nickname": "proxyPUTService", @@ -5763,7 +6598,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Service", "nickname": "proxyPOSTService", @@ -5801,7 +6636,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Service", "nickname": "proxyDELETEService", @@ -5845,7 +6680,7 @@ "description": "API at /api/v1beta1 version v1beta1", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Service", "nickname": "proxyGETService", @@ -5875,7 +6710,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Service", "nickname": "proxyPUTService", @@ -5905,7 +6740,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Service", "nickname": "proxyPOSTService", @@ -5935,7 +6770,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Service", "nickname": "proxyDELETEService", @@ -5968,10 +6803,6 @@ } ], "models": { - "*v1beta1.DeleteOptions": { - "id": "*v1beta1.DeleteOptions", - "properties": {} - }, "json.WatchEvent": { "id": "json.WatchEvent", "properties": { @@ -6256,6 +7087,62 @@ } } }, + "v1beta1.DeleteOptions": { + "id": "v1beta1.DeleteOptions", + "required": [ + "gracePeriodSeconds" + ], + "properties": { + "annotations": { + "type": "any", + "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" + }, + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "creationTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" + }, + "deletionTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested" + }, + "generateName": { + "type": "string", + "description": "an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified" + }, + "gracePeriodSeconds": { + "$ref": "int64", + "description": "the duration in seconds to wait before deleting this object; defaults to a per object value if not specified; zero means delete immediately" + }, + "id": { + "type": "string", + "description": "name of the object; must be a DNS_SUBDOMAIN and unique among all objects of the same kind within the same namespace; used in resource URLs; cannot be updated" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + }, + "namespace": { + "type": "string", + "description": "namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default; cannot be updated" + }, + "resourceVersion": { + "$ref": "uint64", + "description": "string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": "string", + "description": "URL for the object; populated by the system, read-only" + }, + "uid": { + "type": "string", + "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" + } + } + }, "v1beta1.EmptyDirVolumeSource": { "id": "v1beta1.EmptyDirVolumeSource", "required": [ @@ -6728,6 +7615,27 @@ } } }, + "v1beta1.GlusterfsVolumeSource": { + "id": "v1beta1.GlusterfsVolumeSource", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string", + "description": "gluster hosts endpoints name" + }, + "path": { + "type": "string", + "description": "path to gluster volume" + }, + "readOnly": { + "type": "boolean", + "description": "Glusterfs volume to be mounted with read-only permissions" + } + } + }, "v1beta1.HTTPGetAction": { "id": "v1beta1.HTTPGetAction", "properties": { @@ -7726,8 +8634,9 @@ "v1beta1.PersistentVolumeSpec": { "id": "v1beta1.PersistentVolumeSpec", "required": [ - "persistentDisk", - "hostPath" + "hostPath", + "glusterfs", + "persistentDisk" ], "properties": { "accessModes": { @@ -7745,6 +8654,10 @@ "$ref": "v1beta1.ObjectReference", "description": "the binding reference to a persistent volume claim" }, + "glusterfs": { + "$ref": "v1beta1.GlusterfsVolumeSource", + "description": "Glusterfs volume resource provisioned by an admin" + }, "hostPath": { "$ref": "v1beta1.HostPathVolumeSource", "description": "a HostPath provisioned by a developer or tester; for develment use only" @@ -8673,6 +9586,118 @@ } } }, + "v1beta1.Status": { + "id": "v1beta1.Status", + "properties": { + "annotations": { + "type": "any", + "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" + }, + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "code": { + "type": "integer", + "format": "int32", + "description": "suggested HTTP return code for this status; 0 if not set" + }, + "creationTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" + }, + "deletionTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested" + }, + "details": { + "$ref": "v1beta1.StatusDetails", + "description": "extended data associated with the reason; each reason may define its own extended details; this field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type" + }, + "generateName": { + "type": "string", + "description": "an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified" + }, + "id": { + "type": "string", + "description": "name of the object; must be a DNS_SUBDOMAIN and unique among all objects of the same kind within the same namespace; used in resource URLs; cannot be updated" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + }, + "message": { + "type": "string", + "description": "human-readable description of the status of this operation" + }, + "namespace": { + "type": "string", + "description": "namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default; cannot be updated" + }, + "reason": { + "type": "string", + "description": "machine-readable description of why this operation is in the 'Failure' status; if this value is empty there is no information available; a reason clarifies an HTTP status code but does not override it" + }, + "resourceVersion": { + "$ref": "uint64", + "description": "string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": "string", + "description": "URL for the object; populated by the system, read-only" + }, + "status": { + "type": "string", + "description": "status of the operation; either Success, or Failure" + }, + "uid": { + "type": "string", + "description": "unique UUID across space and time; populated by the system, read-only; cannot be updated" + } + } + }, + "v1beta1.StatusCause": { + "id": "v1beta1.StatusCause", + "properties": { + "field": { + "type": "string", + "description": "field of the resource that has caused this error, as named by its JSON serialization; may include dot and postfix notation for nested attributes; arrays are zero-indexed; fields may appear more than once in an array of causes due to fields having multiple errors" + }, + "message": { + "type": "string", + "description": "human-readable description of the cause of the error; this field may be presented as-is to a reader" + }, + "reason": { + "type": "string", + "description": "machine-readable description of the cause of the error; if this value is empty there is no information available" + } + } + }, + "v1beta1.StatusDetails": { + "id": "v1beta1.StatusDetails", + "properties": { + "causes": { + "type": "array", + "items": { + "$ref": "v1beta1.StatusCause" + }, + "description": "the Causes array includes more details associated with the StatusReason failure; not all StatusReasons may provide detailed causes" + }, + "id": { + "type": "string", + "description": "the ID attribute of the resource associated with the status StatusReason (when there is a single ID which can be described)" + }, + "kind": { + "type": "string", + "description": "the kind attribute of the resource associated with the status StatusReason; on some operations may differ from the requested resource Kind" + }, + "retryAfterSeconds": { + "type": "integer", + "format": "int32", + "description": "the number of seconds before the client should attempt to retry this operation" + } + } + }, "v1beta1.TCPSocketAction": { "id": "v1beta1.TCPSocketAction", "properties": { @@ -8736,7 +9761,8 @@ "gitRepo", "secret", "nfs", - "iscsi" + "iscsi", + "glusterfs" ], "properties": { "emptyDir": { @@ -8747,6 +9773,10 @@ "$ref": "v1beta1.GitRepoVolumeSource", "description": "git repository at a particular revision" }, + "glusterfs": { + "$ref": "v1beta1.GlusterfsVolumeSource", + "description": "Glusterfs volume that will be mounted on the host machine " + }, "hostDir": { "$ref": "v1beta1.HostPathVolumeSource", "description": "pre-existing host file or directory; generally for privileged system daemons or other agents tied to the host" @@ -8770,4 +9800,4 @@ } } } - } + } \ No newline at end of file diff --git a/api/swagger-spec/v1beta2.json b/api/swagger-spec/v1beta2.json index 41b19776cd3..b0e89dcda6c 100644 --- a/api/swagger-spec/v1beta2.json +++ b/api/swagger-spec/v1beta2.json @@ -9,7 +9,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.Binding", "method": "POST", "summary": "create a Binding", "nickname": "createBinding", @@ -31,6 +31,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Binding" + } + ], "produces": [ "application/json" ], @@ -91,6 +98,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.EndpointsList" + } + ], "produces": [ "application/json" ], @@ -99,7 +113,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Endpoints", "method": "POST", "summary": "create a Endpoints", "nickname": "createEndpoints", @@ -121,6 +135,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Endpoints" + } + ], "produces": [ "application/json" ], @@ -181,6 +202,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -217,6 +245,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Endpoints" + } + ], "produces": [ "application/json" ], @@ -225,7 +260,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Endpoints", "method": "PUT", "summary": "replace the specified Endpoints", "nickname": "replaceEndpoints", @@ -255,6 +290,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Endpoints" + } + ], "produces": [ "application/json" ], @@ -263,7 +305,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Endpoints", "method": "PATCH", "summary": "partially update the specified Endpoints", "nickname": "patchEndpoints", @@ -285,7 +327,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Endpoints", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -293,6 +335,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -303,7 +352,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a Endpoints", "nickname": "deleteEndpoints", @@ -325,7 +374,7 @@ "allowMultiple": false }, { - "type": "*v1beta2.DeleteOptions", + "type": "v1beta2.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -333,6 +382,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -401,6 +457,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -461,6 +524,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.EventList" + } + ], "produces": [ "application/json" ], @@ -469,7 +539,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Event", "method": "POST", "summary": "create a Event", "nickname": "createEvent", @@ -491,6 +561,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Event" + } + ], "produces": [ "application/json" ], @@ -551,6 +628,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -587,6 +671,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Event" + } + ], "produces": [ "application/json" ], @@ -595,7 +686,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Event", "method": "PUT", "summary": "replace the specified Event", "nickname": "replaceEvent", @@ -625,6 +716,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Event" + } + ], "produces": [ "application/json" ], @@ -633,7 +731,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Event", "method": "PATCH", "summary": "partially update the specified Event", "nickname": "patchEvent", @@ -655,7 +753,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Event", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -663,6 +761,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -673,7 +778,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a Event", "nickname": "deleteEvent", @@ -695,6 +800,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -763,6 +875,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -823,6 +942,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.LimitRangeList" + } + ], "produces": [ "application/json" ], @@ -831,7 +957,7 @@ ] }, { - "type": "void", + "type": "v1beta2.LimitRange", "method": "POST", "summary": "create a LimitRange", "nickname": "createLimitRange", @@ -853,6 +979,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.LimitRange" + } + ], "produces": [ "application/json" ], @@ -913,6 +1046,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -949,6 +1089,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.LimitRange" + } + ], "produces": [ "application/json" ], @@ -957,7 +1104,7 @@ ] }, { - "type": "void", + "type": "v1beta2.LimitRange", "method": "PUT", "summary": "replace the specified LimitRange", "nickname": "replaceLimitRange", @@ -987,6 +1134,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.LimitRange" + } + ], "produces": [ "application/json" ], @@ -995,7 +1149,7 @@ ] }, { - "type": "void", + "type": "v1beta2.LimitRange", "method": "PATCH", "summary": "partially update the specified LimitRange", "nickname": "patchLimitRange", @@ -1017,7 +1171,7 @@ "allowMultiple": false }, { - "type": "v1beta2.LimitRange", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -1025,6 +1179,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -1035,7 +1196,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a LimitRange", "nickname": "deleteLimitRange", @@ -1057,6 +1218,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -1125,6 +1293,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1177,6 +1352,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.MinionList" + } + ], "produces": [ "application/json" ], @@ -1185,7 +1367,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Minion", "method": "POST", "summary": "create a Node", "nickname": "createNode", @@ -1199,6 +1381,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Minion" + } + ], "produces": [ "application/json" ], @@ -1251,6 +1440,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1279,6 +1475,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Minion" + } + ], "produces": [ "application/json" ], @@ -1287,7 +1490,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Minion", "method": "PUT", "summary": "replace the specified Node", "nickname": "replaceNode", @@ -1309,6 +1512,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Minion" + } + ], "produces": [ "application/json" ], @@ -1317,7 +1527,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Minion", "method": "PATCH", "summary": "partially update the specified Node", "nickname": "patchNode", @@ -1331,7 +1541,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Minion", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -1339,6 +1549,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -1349,7 +1566,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a Node", "nickname": "deleteNode", @@ -1363,7 +1580,7 @@ "allowMultiple": false }, { - "type": "*v1beta2.DeleteOptions", + "type": "v1beta2.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -1371,6 +1588,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -1431,6 +1655,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1445,7 +1676,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Node", "nickname": "redirectNode", @@ -1473,7 +1704,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Node", "nickname": "proxyGETNode", @@ -1503,7 +1734,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Node", "nickname": "proxyPUTNode", @@ -1533,7 +1764,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Node", "nickname": "proxyPOSTNode", @@ -1563,7 +1794,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Node", "nickname": "proxyDELETENode", @@ -1599,7 +1830,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Node", "nickname": "proxyGETNode", @@ -1621,7 +1852,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Node", "nickname": "proxyPUTNode", @@ -1643,7 +1874,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Node", "nickname": "proxyPOSTNode", @@ -1665,7 +1896,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Node", "nickname": "proxyDELETENode", @@ -1731,6 +1962,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.NamespaceList" + } + ], "produces": [ "application/json" ], @@ -1739,7 +1977,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Namespace", "method": "POST", "summary": "create a Namespace", "nickname": "createNamespace", @@ -1753,6 +1991,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Namespace" + } + ], "produces": [ "application/json" ], @@ -1805,6 +2050,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1833,6 +2085,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Namespace" + } + ], "produces": [ "application/json" ], @@ -1841,7 +2100,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Namespace", "method": "PUT", "summary": "replace the specified Namespace", "nickname": "replaceNamespace", @@ -1863,6 +2122,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Namespace" + } + ], "produces": [ "application/json" ], @@ -1871,7 +2137,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Namespace", "method": "PATCH", "summary": "partially update the specified Namespace", "nickname": "patchNamespace", @@ -1885,7 +2151,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Namespace", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -1893,6 +2159,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -1903,7 +2176,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a Namespace", "nickname": "deleteNamespace", @@ -1917,7 +2190,7 @@ "allowMultiple": false }, { - "type": "*v1beta2.DeleteOptions", + "type": "v1beta2.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -1925,6 +2198,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -1985,6 +2265,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1999,7 +2286,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.Namespace", "method": "PUT", "summary": "replace the specified Namespace", "nickname": "replaceNamespace", @@ -2021,6 +2308,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Namespace" + } + ], "produces": [ "application/json" ], @@ -2035,7 +2329,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.Namespace", "method": "PUT", "summary": "replace the specified Namespace", "nickname": "replaceNamespace", @@ -2057,6 +2351,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Namespace" + } + ], "produces": [ "application/json" ], @@ -2109,6 +2410,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.MinionList" + } + ], "produces": [ "application/json" ], @@ -2117,7 +2425,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Minion", "method": "POST", "summary": "create a Node", "nickname": "createNode", @@ -2131,6 +2439,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Minion" + } + ], "produces": [ "application/json" ], @@ -2183,6 +2498,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -2211,6 +2533,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Minion" + } + ], "produces": [ "application/json" ], @@ -2219,7 +2548,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Minion", "method": "PUT", "summary": "replace the specified Node", "nickname": "replaceNode", @@ -2241,6 +2570,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Minion" + } + ], "produces": [ "application/json" ], @@ -2249,7 +2585,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Minion", "method": "PATCH", "summary": "partially update the specified Node", "nickname": "patchNode", @@ -2263,7 +2599,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Minion", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -2271,6 +2607,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -2281,7 +2624,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a Node", "nickname": "deleteNode", @@ -2295,7 +2638,7 @@ "allowMultiple": false }, { - "type": "*v1beta2.DeleteOptions", + "type": "v1beta2.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -2303,6 +2646,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -2363,6 +2713,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -2377,7 +2734,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Node", "nickname": "redirectNode", @@ -2405,7 +2762,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Node", "nickname": "proxyGETNode", @@ -2435,7 +2792,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Node", "nickname": "proxyPUTNode", @@ -2465,7 +2822,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Node", "nickname": "proxyPOSTNode", @@ -2495,7 +2852,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Node", "nickname": "proxyDELETENode", @@ -2531,7 +2888,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Node", "nickname": "proxyGETNode", @@ -2553,7 +2910,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Node", "nickname": "proxyPUTNode", @@ -2575,7 +2932,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Node", "nickname": "proxyPOSTNode", @@ -2597,7 +2954,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Node", "nickname": "proxyDELETENode", @@ -2671,6 +3028,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PersistentVolumeClaimList" + } + ], "produces": [ "application/json" ], @@ -2679,7 +3043,7 @@ ] }, { - "type": "void", + "type": "v1beta2.PersistentVolumeClaim", "method": "POST", "summary": "create a PersistentVolumeClaim", "nickname": "createPersistentVolumeClaim", @@ -2701,6 +3065,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -2761,6 +3132,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -2797,6 +3175,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -2805,7 +3190,7 @@ ] }, { - "type": "void", + "type": "v1beta2.PersistentVolumeClaim", "method": "PUT", "summary": "replace the specified PersistentVolumeClaim", "nickname": "replacePersistentVolumeClaim", @@ -2835,6 +3220,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -2843,7 +3235,7 @@ ] }, { - "type": "void", + "type": "v1beta2.PersistentVolumeClaim", "method": "PATCH", "summary": "partially update the specified PersistentVolumeClaim", "nickname": "patchPersistentVolumeClaim", @@ -2865,7 +3257,7 @@ "allowMultiple": false }, { - "type": "v1beta2.PersistentVolumeClaim", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -2873,6 +3265,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -2883,7 +3282,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a PersistentVolumeClaim", "nickname": "deletePersistentVolumeClaim", @@ -2905,7 +3304,7 @@ "allowMultiple": false }, { - "type": "*v1beta2.DeleteOptions", + "type": "v1beta2.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -2913,6 +3312,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -2981,6 +3387,64 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta2/persistentVolumeClaims/{name}/status", + "description": "API at /api/v1beta2 version v1beta2", + "operations": [ + { + "type": "v1beta2.PersistentVolumeClaim", + "method": "PUT", + "summary": "replace the specified PersistentVolumeClaim", + "nickname": "replacePersistentVolumeClaim", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the PersistentVolumeClaim", + "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.PersistentVolumeClaim", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -3033,6 +3497,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PersistentVolumeList" + } + ], "produces": [ "application/json" ], @@ -3041,7 +3512,7 @@ ] }, { - "type": "void", + "type": "v1beta2.PersistentVolume", "method": "POST", "summary": "create a PersistentVolume", "nickname": "createPersistentVolume", @@ -3055,6 +3526,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3107,6 +3585,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3135,6 +3620,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3143,7 +3635,7 @@ ] }, { - "type": "void", + "type": "v1beta2.PersistentVolume", "method": "PUT", "summary": "replace the specified PersistentVolume", "nickname": "replacePersistentVolume", @@ -3165,6 +3657,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3173,7 +3672,7 @@ ] }, { - "type": "void", + "type": "v1beta2.PersistentVolume", "method": "PATCH", "summary": "partially update the specified PersistentVolume", "nickname": "patchPersistentVolume", @@ -3187,7 +3686,7 @@ "allowMultiple": false }, { - "type": "v1beta2.PersistentVolume", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -3195,6 +3694,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -3205,7 +3711,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a PersistentVolume", "nickname": "deletePersistentVolume", @@ -3219,7 +3725,7 @@ "allowMultiple": false }, { - "type": "*v1beta2.DeleteOptions", + "type": "v1beta2.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -3227,6 +3733,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -3287,6 +3800,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3301,7 +3821,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.PersistentVolume", "method": "PUT", "summary": "replace the specified PersistentVolume", "nickname": "replacePersistentVolume", @@ -3323,6 +3843,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3383,6 +3910,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PodList" + } + ], "produces": [ "application/json" ], @@ -3391,7 +3925,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Pod", "method": "POST", "summary": "create a Pod", "nickname": "createPod", @@ -3413,6 +3947,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Pod" + } + ], "produces": [ "application/json" ], @@ -3473,6 +4014,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3509,6 +4057,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Pod" + } + ], "produces": [ "application/json" ], @@ -3517,7 +4072,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Pod", "method": "PUT", "summary": "replace the specified Pod", "nickname": "replacePod", @@ -3547,6 +4102,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Pod" + } + ], "produces": [ "application/json" ], @@ -3555,7 +4117,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Pod", "method": "PATCH", "summary": "partially update the specified Pod", "nickname": "patchPod", @@ -3577,7 +4139,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Pod", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -3585,6 +4147,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -3595,7 +4164,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a Pod", "nickname": "deletePod", @@ -3617,7 +4186,7 @@ "allowMultiple": false }, { - "type": "*v1beta2.DeleteOptions", + "type": "v1beta2.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -3625,6 +4194,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -3693,6 +4269,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3707,7 +4290,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Pod", "nickname": "redirectPod", @@ -3743,7 +4326,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Pod", "nickname": "proxyGETPod", @@ -3781,7 +4364,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Pod", "nickname": "proxyPUTPod", @@ -3819,7 +4402,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Pod", "nickname": "proxyPOSTPod", @@ -3857,7 +4440,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Pod", "nickname": "proxyDELETEPod", @@ -3901,7 +4484,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Pod", "nickname": "proxyGETPod", @@ -3931,7 +4514,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Pod", "nickname": "proxyPUTPod", @@ -3961,7 +4544,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Pod", "nickname": "proxyPOSTPod", @@ -3991,7 +4574,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Pod", "nickname": "proxyDELETEPod", @@ -4027,7 +4610,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.Binding", "method": "POST", "summary": "create a Binding", "nickname": "createBinding", @@ -4049,6 +4632,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Binding" + } + ], "produces": [ "application/json" ], @@ -4085,6 +4675,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.PodLogOptions" + } + ], "produces": [ "application/json" ], @@ -4099,7 +4696,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.Pod", "method": "PUT", "summary": "replace the specified Pod", "nickname": "replacePod", @@ -4129,6 +4726,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Pod" + } + ], "produces": [ "application/json" ], @@ -4189,6 +4793,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.ReplicationControllerList" + } + ], "produces": [ "application/json" ], @@ -4197,7 +4808,7 @@ ] }, { - "type": "void", + "type": "v1beta2.ReplicationController", "method": "POST", "summary": "create a ReplicationController", "nickname": "createReplicationController", @@ -4219,6 +4830,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.ReplicationController" + } + ], "produces": [ "application/json" ], @@ -4279,6 +4897,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4315,6 +4940,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.ReplicationController" + } + ], "produces": [ "application/json" ], @@ -4323,7 +4955,7 @@ ] }, { - "type": "void", + "type": "v1beta2.ReplicationController", "method": "PUT", "summary": "replace the specified ReplicationController", "nickname": "replaceReplicationController", @@ -4353,6 +4985,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.ReplicationController" + } + ], "produces": [ "application/json" ], @@ -4361,7 +5000,7 @@ ] }, { - "type": "void", + "type": "v1beta2.ReplicationController", "method": "PATCH", "summary": "partially update the specified ReplicationController", "nickname": "patchReplicationController", @@ -4383,7 +5022,7 @@ "allowMultiple": false }, { - "type": "v1beta2.ReplicationController", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -4391,6 +5030,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -4401,7 +5047,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a ReplicationController", "nickname": "deleteReplicationController", @@ -4423,7 +5069,7 @@ "allowMultiple": false }, { - "type": "*v1beta2.DeleteOptions", + "type": "v1beta2.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -4431,6 +5077,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -4499,6 +5152,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4559,6 +5219,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.ResourceQuotaList" + } + ], "produces": [ "application/json" ], @@ -4567,7 +5234,7 @@ ] }, { - "type": "void", + "type": "v1beta2.ResourceQuota", "method": "POST", "summary": "create a ResourceQuota", "nickname": "createResourceQuota", @@ -4589,6 +5256,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4649,6 +5323,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4685,6 +5366,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4693,7 +5381,7 @@ ] }, { - "type": "void", + "type": "v1beta2.ResourceQuota", "method": "PUT", "summary": "replace the specified ResourceQuota", "nickname": "replaceResourceQuota", @@ -4723,6 +5411,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4731,7 +5426,7 @@ ] }, { - "type": "void", + "type": "v1beta2.ResourceQuota", "method": "PATCH", "summary": "partially update the specified ResourceQuota", "nickname": "patchResourceQuota", @@ -4753,7 +5448,7 @@ "allowMultiple": false }, { - "type": "v1beta2.ResourceQuota", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -4761,6 +5456,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -4771,7 +5473,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a ResourceQuota", "nickname": "deleteResourceQuota", @@ -4793,7 +5495,7 @@ "allowMultiple": false }, { - "type": "*v1beta2.DeleteOptions", + "type": "v1beta2.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -4801,6 +5503,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -4869,6 +5578,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4883,7 +5599,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "v1beta2.ResourceQuota", "method": "PUT", "summary": "replace the specified ResourceQuota", "nickname": "replaceResourceQuota", @@ -4913,6 +5629,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4973,6 +5696,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.SecretList" + } + ], "produces": [ "application/json" ], @@ -4981,7 +5711,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Secret", "method": "POST", "summary": "create a Secret", "nickname": "createSecret", @@ -5003,6 +5733,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Secret" + } + ], "produces": [ "application/json" ], @@ -5063,6 +5800,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5099,6 +5843,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Secret" + } + ], "produces": [ "application/json" ], @@ -5107,7 +5858,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Secret", "method": "PUT", "summary": "replace the specified Secret", "nickname": "replaceSecret", @@ -5137,6 +5888,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Secret" + } + ], "produces": [ "application/json" ], @@ -5145,7 +5903,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Secret", "method": "PATCH", "summary": "partially update the specified Secret", "nickname": "patchSecret", @@ -5167,7 +5925,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Secret", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -5175,6 +5933,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -5185,7 +5950,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a Secret", "nickname": "deleteSecret", @@ -5207,6 +5972,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -5275,6 +6047,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5335,6 +6114,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.ServiceList" + } + ], "produces": [ "application/json" ], @@ -5343,7 +6129,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Service", "method": "POST", "summary": "create a Service", "nickname": "createService", @@ -5365,6 +6151,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Service" + } + ], "produces": [ "application/json" ], @@ -5425,6 +6218,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5461,6 +6261,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Service" + } + ], "produces": [ "application/json" ], @@ -5469,7 +6276,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Service", "method": "PUT", "summary": "replace the specified Service", "nickname": "replaceService", @@ -5499,6 +6306,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Service" + } + ], "produces": [ "application/json" ], @@ -5507,7 +6321,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Service", "method": "PATCH", "summary": "partially update the specified Service", "nickname": "patchService", @@ -5529,7 +6343,7 @@ "allowMultiple": false }, { - "type": "v1beta2.Service", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -5537,6 +6351,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -5547,7 +6368,7 @@ ] }, { - "type": "void", + "type": "v1beta2.Status", "method": "DELETE", "summary": "delete a Service", "nickname": "deleteService", @@ -5569,6 +6390,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta2.Status" + } + ], "produces": [ "application/json" ], @@ -5637,6 +6465,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5651,7 +6486,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Service", "nickname": "redirectService", @@ -5687,7 +6522,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Service", "nickname": "proxyGETService", @@ -5725,7 +6560,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Service", "nickname": "proxyPUTService", @@ -5763,7 +6598,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Service", "nickname": "proxyPOSTService", @@ -5801,7 +6636,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Service", "nickname": "proxyDELETEService", @@ -5845,7 +6680,7 @@ "description": "API at /api/v1beta2 version v1beta2", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Service", "nickname": "proxyGETService", @@ -5875,7 +6710,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Service", "nickname": "proxyPUTService", @@ -5905,7 +6740,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Service", "nickname": "proxyPOSTService", @@ -5935,7 +6770,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Service", "nickname": "proxyDELETEService", @@ -5968,10 +6803,6 @@ } ], "models": { - "*v1beta2.DeleteOptions": { - "id": "*v1beta2.DeleteOptions", - "properties": {} - }, "json.WatchEvent": { "id": "json.WatchEvent", "properties": { @@ -6256,6 +7087,62 @@ } } }, + "v1beta2.DeleteOptions": { + "id": "v1beta2.DeleteOptions", + "required": [ + "gracePeriodSeconds" + ], + "properties": { + "annotations": { + "type": "any", + "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" + }, + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "creationTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" + }, + "deletionTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested" + }, + "generateName": { + "type": "string", + "description": "an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified" + }, + "gracePeriodSeconds": { + "$ref": "int64", + "description": "the duration in seconds to wait before deleting this object; defaults to a per object value if not specified; zero means delete immediately" + }, + "id": { + "type": "string", + "description": "name of the object; must be a DNS_SUBDOMAIN and unique among all objects of the same kind within the same namespace; used in resource URLs; cannot be updated" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + }, + "namespace": { + "type": "string", + "description": "namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default; cannot be updated" + }, + "resourceVersion": { + "$ref": "uint64", + "description": "string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": "string", + "description": "URL for the object; populated by the system, read-only" + }, + "uid": { + "type": "string", + "description": "unique UUID across space and time; populated by the system, read-only" + } + } + }, "v1beta2.EmptyDirVolumeSource": { "id": "v1beta2.EmptyDirVolumeSource", "required": [ @@ -6724,6 +7611,27 @@ } } }, + "v1beta2.GlusterfsVolumeSource": { + "id": "v1beta2.GlusterfsVolumeSource", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string", + "description": "gluster hosts endpoints name" + }, + "path": { + "type": "string", + "description": "path to gluster volume" + }, + "readOnly": { + "type": "boolean", + "description": "glusterfs volume to be mounted with read-only permissions" + } + } + }, "v1beta2.HTTPGetAction": { "id": "v1beta2.HTTPGetAction", "properties": { @@ -7716,7 +8624,8 @@ "id": "v1beta2.PersistentVolumeSpec", "required": [ "persistentDisk", - "hostPath" + "hostPath", + "glusterfs" ], "properties": { "accessModes": { @@ -7734,6 +8643,10 @@ "$ref": "v1beta2.ObjectReference", "description": "the binding reference to a persistent volume claim" }, + "glusterfs": { + "$ref": "v1beta2.GlusterfsVolumeSource", + "description": "Glusterfs volume resource provisioned by an admin" + }, "hostPath": { "$ref": "v1beta2.HostPathVolumeSource", "description": "a HostPath provisioned by a developer or tester; for develment use only" @@ -8662,6 +9575,118 @@ } } }, + "v1beta2.Status": { + "id": "v1beta2.Status", + "properties": { + "annotations": { + "type": "any", + "description": "map of string keys and values that can be used by external tooling to store and retrieve arbitrary metadata about the object" + }, + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "code": { + "type": "integer", + "format": "int32", + "description": "suggested HTTP return code for this status; 0 if not set" + }, + "creationTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists" + }, + "deletionTimestamp": { + "type": "string", + "description": "RFC 3339 date and time at which the object will be deleted; populated by the system when a graceful deletion is requested, read-only; if not set, graceful deletion of the object has not been requested" + }, + "details": { + "$ref": "v1beta2.StatusDetails", + "description": "extended data associated with the reason; each reason may define its own extended details; this field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type" + }, + "generateName": { + "type": "string", + "description": "an optional prefix to use to generate a unique name; has the same validation rules as name; optional, and is applied only name if is not specified" + }, + "id": { + "type": "string", + "description": "name of the object; must be a DNS_SUBDOMAIN and unique among all objects of the same kind within the same namespace; used in resource URLs; cannot be updated" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + }, + "message": { + "type": "string", + "description": "human-readable description of the status of this operation" + }, + "namespace": { + "type": "string", + "description": "namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default; cannot be updated" + }, + "reason": { + "type": "string", + "description": "machine-readable description of why this operation is in the 'Failure' status; if this value is empty there is no information available; a reason clarifies an HTTP status code but does not override it" + }, + "resourceVersion": { + "$ref": "uint64", + "description": "string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": "string", + "description": "URL for the object; populated by the system, read-only" + }, + "status": { + "type": "string", + "description": "status of the operation; either Success or Failure" + }, + "uid": { + "type": "string", + "description": "unique UUID across space and time; populated by the system, read-only" + } + } + }, + "v1beta2.StatusCause": { + "id": "v1beta2.StatusCause", + "properties": { + "field": { + "type": "string", + "description": "field of the resource that has caused this error, as named by its JSON serialization; may include dot and postfix notation for nested attributes; arrays are zero-indexed; fields may appear more than once in an array of causes due to fields having multiple errors" + }, + "message": { + "type": "string", + "description": "human-readable description of the cause of the error; this field may be presented as-is to a reader" + }, + "reason": { + "type": "string", + "description": "machine-readable description of the cause of the error; if this value is empty there is no information available" + } + } + }, + "v1beta2.StatusDetails": { + "id": "v1beta2.StatusDetails", + "properties": { + "causes": { + "type": "array", + "items": { + "$ref": "v1beta2.StatusCause" + }, + "description": "the Causes array includes more details associated with the StatusReason failure; not all StatusReasons may provide detailed causes" + }, + "id": { + "type": "string", + "description": "the ID attribute of the resource associated with the status StatusReason (when there is a single ID which can be described)" + }, + "kind": { + "type": "string", + "description": "the kind attribute of the resource associated with the status StatusReason; on some operations may differ from the requested resource Kind" + }, + "retryAfterSeconds": { + "type": "integer", + "format": "int32", + "description": "the number of seconds before the client should attempt to retry this operation" + } + } + }, "v1beta2.TCPSocketAction": { "id": "v1beta2.TCPSocketAction", "properties": { @@ -8717,7 +9742,8 @@ "gitRepo", "secret", "nfs", - "iscsi" + "iscsi", + "glusterfs" ], "properties": { "emptyDir": { @@ -8728,6 +9754,10 @@ "$ref": "v1beta2.GitRepoVolumeSource", "description": "git repository at a particular revision" }, + "glusterfs": { + "$ref": "v1beta2.GlusterfsVolumeSource", + "description": "Glusterfs volume that will be mounted on the host machine " + }, "hostDir": { "$ref": "v1beta2.HostPathVolumeSource", "description": "pre-existing host file or directory; generally for privileged system daemons or other agents tied to the host" @@ -8751,4 +9781,4 @@ } } } - } + } \ No newline at end of file diff --git a/api/swagger-spec/v1beta3.json b/api/swagger-spec/v1beta3.json index aa32c73bb2b..d9a2bc45112 100644 --- a/api/swagger-spec/v1beta3.json +++ b/api/swagger-spec/v1beta3.json @@ -9,7 +9,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.Binding", "method": "POST", "summary": "create a Binding", "nickname": "createBinding", @@ -31,6 +31,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Binding" + } + ], "produces": [ "application/json" ], @@ -91,6 +98,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.EndpointsList" + } + ], "produces": [ "application/json" ], @@ -99,7 +113,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Endpoints", "method": "POST", "summary": "create a Endpoints", "nickname": "createEndpoints", @@ -121,6 +135,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Endpoints" + } + ], "produces": [ "application/json" ], @@ -181,6 +202,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -217,6 +245,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Endpoints" + } + ], "produces": [ "application/json" ], @@ -225,7 +260,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Endpoints", "method": "PUT", "summary": "replace the specified Endpoints", "nickname": "replaceEndpoints", @@ -255,6 +290,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Endpoints" + } + ], "produces": [ "application/json" ], @@ -263,7 +305,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Endpoints", "method": "PATCH", "summary": "partially update the specified Endpoints", "nickname": "patchEndpoints", @@ -285,7 +327,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Endpoints", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -293,6 +335,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -303,7 +352,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a Endpoints", "nickname": "deleteEndpoints", @@ -325,7 +374,7 @@ "allowMultiple": false }, { - "type": "*v1beta3.DeleteOptions", + "type": "v1beta3.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -333,6 +382,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -401,6 +457,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -453,6 +516,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.EndpointsList" + } + ], "produces": [ "application/json" ], @@ -505,6 +575,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -565,6 +642,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.EventList" + } + ], "produces": [ "application/json" ], @@ -573,7 +657,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Event", "method": "POST", "summary": "create a Event", "nickname": "createEvent", @@ -595,6 +679,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Event" + } + ], "produces": [ "application/json" ], @@ -655,6 +746,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -691,6 +789,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Event" + } + ], "produces": [ "application/json" ], @@ -699,7 +804,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Event", "method": "PUT", "summary": "replace the specified Event", "nickname": "replaceEvent", @@ -729,6 +834,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Event" + } + ], "produces": [ "application/json" ], @@ -737,7 +849,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Event", "method": "PATCH", "summary": "partially update the specified Event", "nickname": "patchEvent", @@ -759,7 +871,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Event", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -767,6 +879,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -777,7 +896,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a Event", "nickname": "deleteEvent", @@ -799,6 +918,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -867,6 +993,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -919,6 +1052,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.EventList" + } + ], "produces": [ "application/json" ], @@ -971,6 +1111,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1031,6 +1178,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.LimitRangeList" + } + ], "produces": [ "application/json" ], @@ -1039,7 +1193,7 @@ ] }, { - "type": "void", + "type": "v1beta3.LimitRange", "method": "POST", "summary": "create a LimitRange", "nickname": "createLimitRange", @@ -1061,6 +1215,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.LimitRange" + } + ], "produces": [ "application/json" ], @@ -1121,6 +1282,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1157,6 +1325,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.LimitRange" + } + ], "produces": [ "application/json" ], @@ -1165,7 +1340,7 @@ ] }, { - "type": "void", + "type": "v1beta3.LimitRange", "method": "PUT", "summary": "replace the specified LimitRange", "nickname": "replaceLimitRange", @@ -1195,6 +1370,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.LimitRange" + } + ], "produces": [ "application/json" ], @@ -1203,7 +1385,7 @@ ] }, { - "type": "void", + "type": "v1beta3.LimitRange", "method": "PATCH", "summary": "partially update the specified LimitRange", "nickname": "patchLimitRange", @@ -1225,7 +1407,7 @@ "allowMultiple": false }, { - "type": "v1beta3.LimitRange", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -1233,6 +1415,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -1243,7 +1432,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a LimitRange", "nickname": "deleteLimitRange", @@ -1265,6 +1454,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -1333,6 +1529,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1385,6 +1588,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.LimitRangeList" + } + ], "produces": [ "application/json" ], @@ -1437,6 +1647,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1489,6 +1706,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.NamespaceList" + } + ], "produces": [ "application/json" ], @@ -1497,7 +1721,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Namespace", "method": "POST", "summary": "create a Namespace", "nickname": "createNamespace", @@ -1511,6 +1735,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Namespace" + } + ], "produces": [ "application/json" ], @@ -1563,6 +1794,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1591,6 +1829,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Namespace" + } + ], "produces": [ "application/json" ], @@ -1599,7 +1844,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Namespace", "method": "PUT", "summary": "replace the specified Namespace", "nickname": "replaceNamespace", @@ -1621,6 +1866,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Namespace" + } + ], "produces": [ "application/json" ], @@ -1629,7 +1881,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Namespace", "method": "PATCH", "summary": "partially update the specified Namespace", "nickname": "patchNamespace", @@ -1643,7 +1895,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Namespace", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -1651,6 +1903,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -1661,7 +1920,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a Namespace", "nickname": "deleteNamespace", @@ -1675,7 +1934,7 @@ "allowMultiple": false }, { - "type": "*v1beta3.DeleteOptions", + "type": "v1beta3.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -1683,6 +1942,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -1743,6 +2009,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1757,7 +2030,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.Namespace", "method": "PUT", "summary": "replace the specified Namespace", "nickname": "replaceNamespace", @@ -1779,6 +2052,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Namespace" + } + ], "produces": [ "application/json" ], @@ -1793,7 +2073,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.Namespace", "method": "PUT", "summary": "replace the specified Namespace", "nickname": "replaceNamespace", @@ -1815,6 +2095,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Namespace" + } + ], "produces": [ "application/json" ], @@ -1867,6 +2154,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.NodeList" + } + ], "produces": [ "application/json" ], @@ -1875,7 +2169,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Node", "method": "POST", "summary": "create a Node", "nickname": "createNode", @@ -1889,6 +2183,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Node" + } + ], "produces": [ "application/json" ], @@ -1941,6 +2242,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -1969,6 +2277,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Node" + } + ], "produces": [ "application/json" ], @@ -1977,7 +2292,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Node", "method": "PUT", "summary": "replace the specified Node", "nickname": "replaceNode", @@ -1999,6 +2314,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Node" + } + ], "produces": [ "application/json" ], @@ -2007,7 +2329,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Node", "method": "PATCH", "summary": "partially update the specified Node", "nickname": "patchNode", @@ -2021,7 +2343,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Node", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -2029,6 +2351,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -2039,7 +2368,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a Node", "nickname": "deleteNode", @@ -2053,7 +2382,7 @@ "allowMultiple": false }, { - "type": "*v1beta3.DeleteOptions", + "type": "v1beta3.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -2061,6 +2390,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -2121,6 +2457,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -2135,7 +2478,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Node", "nickname": "redirectNode", @@ -2163,7 +2506,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Node", "nickname": "proxyGETNode", @@ -2193,7 +2536,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Node", "nickname": "proxyPUTNode", @@ -2223,7 +2566,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Node", "nickname": "proxyPOSTNode", @@ -2253,7 +2596,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Node", "nickname": "proxyDELETENode", @@ -2289,7 +2632,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Node", "nickname": "proxyGETNode", @@ -2311,7 +2654,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Node", "nickname": "proxyPUTNode", @@ -2333,7 +2676,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Node", "nickname": "proxyPOSTNode", @@ -2355,7 +2698,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Node", "nickname": "proxyDELETENode", @@ -2429,6 +2772,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolumeClaimList" + } + ], "produces": [ "application/json" ], @@ -2437,7 +2787,7 @@ ] }, { - "type": "void", + "type": "v1beta3.PersistentVolumeClaim", "method": "POST", "summary": "create a PersistentVolumeClaim", "nickname": "createPersistentVolumeClaim", @@ -2459,6 +2809,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -2519,6 +2876,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -2555,6 +2919,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -2563,7 +2934,7 @@ ] }, { - "type": "void", + "type": "v1beta3.PersistentVolumeClaim", "method": "PUT", "summary": "replace the specified PersistentVolumeClaim", "nickname": "replacePersistentVolumeClaim", @@ -2593,6 +2964,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -2601,7 +2979,7 @@ ] }, { - "type": "void", + "type": "v1beta3.PersistentVolumeClaim", "method": "PATCH", "summary": "partially update the specified PersistentVolumeClaim", "nickname": "patchPersistentVolumeClaim", @@ -2623,7 +3001,7 @@ "allowMultiple": false }, { - "type": "v1beta3.PersistentVolumeClaim", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -2631,6 +3009,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -2641,7 +3026,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a PersistentVolumeClaim", "nickname": "deletePersistentVolumeClaim", @@ -2663,7 +3048,7 @@ "allowMultiple": false }, { - "type": "*v1beta3.DeleteOptions", + "type": "v1beta3.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -2671,6 +3056,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -2739,6 +3131,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -2791,6 +3190,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolumeClaimList" + } + ], "produces": [ "application/json" ], @@ -2843,6 +3249,64 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], + "produces": [ + "application/json" + ], + "consumes": [ + "*/*" + ] + } + ] + }, + { + "path": "/api/v1beta3/namespaces/{namespaces}/persistentvolumeclaims/{name}/status", + "description": "API at /api/v1beta3 version v1beta3", + "operations": [ + { + "type": "v1beta3.PersistentVolumeClaim", + "method": "PUT", + "summary": "replace the specified PersistentVolumeClaim", + "nickname": "replacePersistentVolumeClaim", + "parameters": [ + { + "type": "string", + "paramType": "path", + "name": "name", + "description": "name of the PersistentVolumeClaim", + "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.PersistentVolumeClaim", + "paramType": "body", + "name": "body", + "description": "", + "required": true, + "allowMultiple": false + } + ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolumeClaim" + } + ], "produces": [ "application/json" ], @@ -2895,6 +3359,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolumeList" + } + ], "produces": [ "application/json" ], @@ -2903,7 +3374,7 @@ ] }, { - "type": "void", + "type": "v1beta3.PersistentVolume", "method": "POST", "summary": "create a PersistentVolume", "nickname": "createPersistentVolume", @@ -2917,6 +3388,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -2969,6 +3447,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -2997,6 +3482,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3005,7 +3497,7 @@ ] }, { - "type": "void", + "type": "v1beta3.PersistentVolume", "method": "PUT", "summary": "replace the specified PersistentVolume", "nickname": "replacePersistentVolume", @@ -3027,6 +3519,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3035,7 +3534,7 @@ ] }, { - "type": "void", + "type": "v1beta3.PersistentVolume", "method": "PATCH", "summary": "partially update the specified PersistentVolume", "nickname": "patchPersistentVolume", @@ -3049,7 +3548,7 @@ "allowMultiple": false }, { - "type": "v1beta3.PersistentVolume", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -3057,6 +3556,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -3067,7 +3573,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a PersistentVolume", "nickname": "deletePersistentVolume", @@ -3081,7 +3587,7 @@ "allowMultiple": false }, { - "type": "*v1beta3.DeleteOptions", + "type": "v1beta3.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -3089,6 +3595,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -3149,6 +3662,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3163,7 +3683,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.PersistentVolume", "method": "PUT", "summary": "replace the specified PersistentVolume", "nickname": "replacePersistentVolume", @@ -3185,6 +3705,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PersistentVolume" + } + ], "produces": [ "application/json" ], @@ -3245,6 +3772,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PodList" + } + ], "produces": [ "application/json" ], @@ -3253,7 +3787,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Pod", "method": "POST", "summary": "create a Pod", "nickname": "createPod", @@ -3275,6 +3809,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Pod" + } + ], "produces": [ "application/json" ], @@ -3335,6 +3876,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3371,6 +3919,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Pod" + } + ], "produces": [ "application/json" ], @@ -3379,7 +3934,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Pod", "method": "PUT", "summary": "replace the specified Pod", "nickname": "replacePod", @@ -3409,6 +3964,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Pod" + } + ], "produces": [ "application/json" ], @@ -3417,7 +3979,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Pod", "method": "PATCH", "summary": "partially update the specified Pod", "nickname": "patchPod", @@ -3439,7 +4001,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Pod", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -3447,6 +4009,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -3457,7 +4026,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a Pod", "nickname": "deletePod", @@ -3479,7 +4048,7 @@ "allowMultiple": false }, { - "type": "*v1beta3.DeleteOptions", + "type": "v1beta3.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -3487,6 +4056,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -3555,6 +4131,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3569,7 +4152,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Pod", "nickname": "redirectPod", @@ -3605,7 +4188,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Pod", "nickname": "proxyGETPod", @@ -3643,7 +4226,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Pod", "nickname": "proxyPUTPod", @@ -3681,7 +4264,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Pod", "nickname": "proxyPOSTPod", @@ -3719,7 +4302,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Pod", "nickname": "proxyDELETEPod", @@ -3763,7 +4346,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Pod", "nickname": "proxyGETPod", @@ -3793,7 +4376,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Pod", "nickname": "proxyPUTPod", @@ -3823,7 +4406,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Pod", "nickname": "proxyPOSTPod", @@ -3853,7 +4436,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Pod", "nickname": "proxyDELETEPod", @@ -3927,6 +4510,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PodList" + } + ], "produces": [ "application/json" ], @@ -3979,6 +4569,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -3993,7 +4590,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.Binding", "method": "POST", "summary": "create a Binding", "nickname": "createBinding", @@ -4023,6 +4620,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Binding" + } + ], "produces": [ "application/json" ], @@ -4059,6 +4663,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.PodLogOptions" + } + ], "produces": [ "application/json" ], @@ -4073,7 +4684,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.Pod", "method": "PUT", "summary": "replace the specified Pod", "nickname": "replacePod", @@ -4103,6 +4714,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Pod" + } + ], "produces": [ "application/json" ], @@ -4163,6 +4781,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ReplicationControllerList" + } + ], "produces": [ "application/json" ], @@ -4171,7 +4796,7 @@ ] }, { - "type": "void", + "type": "v1beta3.ReplicationController", "method": "POST", "summary": "create a ReplicationController", "nickname": "createReplicationController", @@ -4193,6 +4818,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ReplicationController" + } + ], "produces": [ "application/json" ], @@ -4253,6 +4885,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4289,6 +4928,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ReplicationController" + } + ], "produces": [ "application/json" ], @@ -4297,7 +4943,7 @@ ] }, { - "type": "void", + "type": "v1beta3.ReplicationController", "method": "PUT", "summary": "replace the specified ReplicationController", "nickname": "replaceReplicationController", @@ -4327,6 +4973,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ReplicationController" + } + ], "produces": [ "application/json" ], @@ -4335,7 +4988,7 @@ ] }, { - "type": "void", + "type": "v1beta3.ReplicationController", "method": "PATCH", "summary": "partially update the specified ReplicationController", "nickname": "patchReplicationController", @@ -4357,7 +5010,7 @@ "allowMultiple": false }, { - "type": "v1beta3.ReplicationController", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -4365,6 +5018,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -4375,7 +5035,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a ReplicationController", "nickname": "deleteReplicationController", @@ -4397,7 +5057,7 @@ "allowMultiple": false }, { - "type": "*v1beta3.DeleteOptions", + "type": "v1beta3.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -4405,6 +5065,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -4473,6 +5140,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4525,6 +5199,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ReplicationControllerList" + } + ], "produces": [ "application/json" ], @@ -4577,6 +5258,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4637,6 +5325,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ResourceQuotaList" + } + ], "produces": [ "application/json" ], @@ -4645,7 +5340,7 @@ ] }, { - "type": "void", + "type": "v1beta3.ResourceQuota", "method": "POST", "summary": "create a ResourceQuota", "nickname": "createResourceQuota", @@ -4667,6 +5362,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4727,6 +5429,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4763,6 +5472,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4771,7 +5487,7 @@ ] }, { - "type": "void", + "type": "v1beta3.ResourceQuota", "method": "PUT", "summary": "replace the specified ResourceQuota", "nickname": "replaceResourceQuota", @@ -4801,6 +5517,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -4809,7 +5532,7 @@ ] }, { - "type": "void", + "type": "v1beta3.ResourceQuota", "method": "PATCH", "summary": "partially update the specified ResourceQuota", "nickname": "patchResourceQuota", @@ -4831,7 +5554,7 @@ "allowMultiple": false }, { - "type": "v1beta3.ResourceQuota", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -4839,6 +5562,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -4849,7 +5579,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a ResourceQuota", "nickname": "deleteResourceQuota", @@ -4871,7 +5601,7 @@ "allowMultiple": false }, { - "type": "*v1beta3.DeleteOptions", + "type": "v1beta3.DeleteOptions", "paramType": "body", "name": "body", "description": "", @@ -4879,6 +5609,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -4947,6 +5684,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -4999,6 +5743,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ResourceQuotaList" + } + ], "produces": [ "application/json" ], @@ -5051,6 +5802,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5065,7 +5823,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "v1beta3.ResourceQuota", "method": "PUT", "summary": "replace the specified ResourceQuota", "nickname": "replaceResourceQuota", @@ -5095,6 +5853,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ResourceQuota" + } + ], "produces": [ "application/json" ], @@ -5155,6 +5920,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.SecretList" + } + ], "produces": [ "application/json" ], @@ -5163,7 +5935,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Secret", "method": "POST", "summary": "create a Secret", "nickname": "createSecret", @@ -5185,6 +5957,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Secret" + } + ], "produces": [ "application/json" ], @@ -5245,6 +6024,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5281,6 +6067,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Secret" + } + ], "produces": [ "application/json" ], @@ -5289,7 +6082,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Secret", "method": "PUT", "summary": "replace the specified Secret", "nickname": "replaceSecret", @@ -5319,6 +6112,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Secret" + } + ], "produces": [ "application/json" ], @@ -5327,7 +6127,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Secret", "method": "PATCH", "summary": "partially update the specified Secret", "nickname": "patchSecret", @@ -5349,7 +6149,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Secret", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -5357,6 +6157,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -5367,7 +6174,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a Secret", "nickname": "deleteSecret", @@ -5389,6 +6196,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -5457,6 +6271,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5509,6 +6330,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.SecretList" + } + ], "produces": [ "application/json" ], @@ -5561,6 +6389,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5621,6 +6456,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ServiceList" + } + ], "produces": [ "application/json" ], @@ -5629,7 +6471,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Service", "method": "POST", "summary": "create a Service", "nickname": "createService", @@ -5651,6 +6493,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Service" + } + ], "produces": [ "application/json" ], @@ -5711,6 +6560,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5747,6 +6603,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Service" + } + ], "produces": [ "application/json" ], @@ -5755,7 +6618,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Service", "method": "PUT", "summary": "replace the specified Service", "nickname": "replaceService", @@ -5785,6 +6648,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Service" + } + ], "produces": [ "application/json" ], @@ -5793,7 +6663,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Service", "method": "PATCH", "summary": "partially update the specified Service", "nickname": "patchService", @@ -5815,7 +6685,7 @@ "allowMultiple": false }, { - "type": "v1beta3.Service", + "type": "string", "paramType": "body", "name": "body", "description": "", @@ -5823,6 +6693,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "string" + } + ], "produces": [ "application/json" ], @@ -5833,7 +6710,7 @@ ] }, { - "type": "void", + "type": "v1beta3.Status", "method": "DELETE", "summary": "delete a Service", "nickname": "deleteService", @@ -5855,6 +6732,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.Status" + } + ], "produces": [ "application/json" ], @@ -5923,6 +6807,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -5937,7 +6828,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "redirect GET request to Service", "nickname": "redirectService", @@ -5973,7 +6864,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Service", "nickname": "proxyGETService", @@ -6011,7 +6902,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Service", "nickname": "proxyPUTService", @@ -6049,7 +6940,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Service", "nickname": "proxyPOSTService", @@ -6087,7 +6978,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Service", "nickname": "proxyDELETEService", @@ -6131,7 +7022,7 @@ "description": "API at /api/v1beta3 version v1beta3", "operations": [ { - "type": "void", + "type": "string", "method": "GET", "summary": "proxy GET requests to Service", "nickname": "proxyGETService", @@ -6161,7 +7052,7 @@ ] }, { - "type": "void", + "type": "string", "method": "PUT", "summary": "proxy PUT requests to Service", "nickname": "proxyPUTService", @@ -6191,7 +7082,7 @@ ] }, { - "type": "void", + "type": "string", "method": "POST", "summary": "proxy POST requests to Service", "nickname": "proxyPOSTService", @@ -6221,7 +7112,7 @@ ] }, { - "type": "void", + "type": "string", "method": "DELETE", "summary": "proxy DELETE requests to Service", "nickname": "proxyDELETEService", @@ -6295,6 +7186,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "v1beta3.ServiceList" + } + ], "produces": [ "application/json" ], @@ -6347,6 +7245,13 @@ "allowMultiple": false } ], + "responseMessages": [ + { + "code": 200, + "message": "OK", + "responseModel": "json.WatchEvent" + } + ], "produces": [ "application/json" ], @@ -6358,10 +7263,6 @@ } ], "models": { - "*v1beta3.DeleteOptions": { - "id": "*v1beta3.DeleteOptions", - "properties": {} - }, "json.WatchEvent": { "id": "json.WatchEvent", "properties": { @@ -6699,6 +7600,26 @@ } } }, + "v1beta3.DeleteOptions": { + "id": "v1beta3.DeleteOptions", + "required": [ + "gracePeriodSeconds" + ], + "properties": { + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "gracePeriodSeconds": { + "$ref": "int64", + "description": "the duration in seconds to wait before deleting this object; defaults to a per object value if not specified; zero means delete immediately" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + } + } + }, "v1beta3.EmptyDirVolumeSource": { "id": "v1beta3.EmptyDirVolumeSource", "required": [ @@ -7061,6 +7982,27 @@ } } }, + "v1beta3.GlusterfsVolumeSource": { + "id": "v1beta3.GlusterfsVolumeSource", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "type": "string", + "description": "gluster hosts endpoints name" + }, + "path": { + "type": "string", + "description": "path to gluster volume" + }, + "readOnly": { + "type": "boolean", + "description": "glusterfs volume to be mounted with read-only permissions" + } + } + }, "v1beta3.HTTPGetAction": { "id": "v1beta3.HTTPGetAction", "properties": { @@ -7487,9 +8429,9 @@ "status" ], "properties": { - "lastProbeTime": { + "lastHeartbeatTime": { "type": "string", - "description": "last time the condition was probed" + "description": "last time we got an update on a given condition" }, "lastTransitionTime": { "type": "string", @@ -7888,8 +8830,9 @@ "v1beta3.PersistentVolumeSpec": { "id": "v1beta3.PersistentVolumeSpec", "required": [ + "gcePersistentDisk", "hostPath", - "gcePersistentDisk" + "glusterfs" ], "properties": { "accessModes": { @@ -7911,6 +8854,10 @@ "$ref": "v1beta3.GCEPersistentDiskVolumeSource", "description": "GCE disk resource provisioned by an admin" }, + "glusterfs": { + "$ref": "v1beta3.GlusterfsVolumeSource", + "description": "Glusterfs volume resource provisioned by an admin" + }, "hostPath": { "$ref": "v1beta3.HostPathVolumeSource", "description": "a HostPath provisioned by a developer or tester; for develment use only" @@ -8734,6 +9681,90 @@ "id": "v1beta3.ServiceStatus", "properties": {} }, + "v1beta3.Status": { + "id": "v1beta3.Status", + "properties": { + "apiVersion": { + "type": "string", + "description": "version of the schema the object should have" + }, + "code": { + "type": "integer", + "format": "int32", + "description": "suggested HTTP return code for this status; 0 if not set" + }, + "details": { + "$ref": "v1beta3.StatusDetails", + "description": "extended data associated with the reason; each reason may define its own extended details; this field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type" + }, + "kind": { + "type": "string", + "description": "kind of object, in CamelCase; cannot be updated" + }, + "message": { + "type": "string", + "description": "human-readable description of the status of this operation" + }, + "reason": { + "type": "string", + "description": "machine-readable description of why this operation is in the 'Failure' status; if this value is empty there is no information available; a reason clarifies an HTTP status code but does not override it" + }, + "resourceVersion": { + "type": "string", + "description": "string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server: https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/api-conventions.md#concurrency-control-and-consistency" + }, + "selfLink": { + "type": "string", + "description": "URL for the object; populated by the system, read-only" + }, + "status": { + "type": "string", + "description": "status of the operation; either Success, or Failure" + } + } + }, + "v1beta3.StatusCause": { + "id": "v1beta3.StatusCause", + "properties": { + "field": { + "type": "string", + "description": "field of the resource that has caused this error, as named by its JSON serialization; may include dot and postfix notation for nested attributes; arrays are zero-indexed; fields may appear more than once in an array of causes due to fields having multiple errors" + }, + "message": { + "type": "string", + "description": "human-readable description of the cause of the error; this field may be presented as-is to a reader" + }, + "reason": { + "type": "string", + "description": "machine-readable description of the cause of the error; if this value is empty there is no information available" + } + } + }, + "v1beta3.StatusDetails": { + "id": "v1beta3.StatusDetails", + "properties": { + "causes": { + "type": "array", + "items": { + "$ref": "v1beta3.StatusCause" + }, + "description": "the Causes array includes more details associated with the StatusReason failure; not all StatusReasons may provide detailed causes" + }, + "id": { + "type": "string", + "description": "the ID attribute of the resource associated with the status StatusReason (when there is a single ID which can be described)" + }, + "kind": { + "type": "string", + "description": "the kind attribute of the resource associated with the status StatusReason; on some operations may differ from the requested resource Kind" + }, + "retryAfterSeconds": { + "type": "integer", + "format": "int32", + "description": "the number of seconds before the client should attempt to retry this operation" + } + } + }, "v1beta3.TCPSocketAction": { "id": "v1beta3.TCPSocketAction", "properties": { @@ -8747,13 +9778,14 @@ "id": "v1beta3.Volume", "required": [ "name", - "emptyDir", - "gcePersistentDisk", "gitRepo", "secret", "nfs", "iscsi", - "hostPath" + "glusterfs", + "hostPath", + "emptyDir", + "gcePersistentDisk" ], "properties": { "emptyDir": { @@ -8768,6 +9800,10 @@ "$ref": "v1beta3.GitRepoVolumeSource", "description": "git repository at a particular revision" }, + "glusterfs": { + "$ref": "v1beta3.GlusterfsVolumeSource", + "description": "Glusterfs volume that will be mounted on the host machine " + }, "hostPath": { "$ref": "v1beta3.HostPathVolumeSource", "description": "pre-existing host file or directory; generally for privileged system daemons or other agents tied to the host" @@ -8812,4 +9848,4 @@ } } } - } + } \ No newline at end of file diff --git a/api/swagger-spec/version.json b/api/swagger-spec/version.json index 99287ea15bf..b7da015b840 100644 --- a/api/swagger-spec/version.json +++ b/api/swagger-spec/version.json @@ -24,4 +24,4 @@ ] } ] - } + } \ No newline at end of file diff --git a/pkg/apiserver/api_installer.go b/pkg/apiserver/api_installer.go index 7552d8ef2dc..c9d88e399d5 100644 --- a/pkg/apiserver/api_installer.go +++ b/pkg/apiserver/api_installer.go @@ -87,6 +87,7 @@ func (a *APIInstaller) newWebService() *restful.WebService { ws.Consumes("*/*") ws.Produces(restful.MIME_JSON) ws.ApiVersion(a.group.Version) + return ws } @@ -158,19 +159,24 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag return err } - var versionedDeleterObject runtime.Object + var versionedDeleterObject interface{} switch { case isGracefulDeleter: - object, err := a.group.Creater.New(serverVersion, "DeleteOptions") + objectPtr, err := a.group.Creater.New(serverVersion, "DeleteOptions") if err != nil { return err } - versionedDeleterObject = object + versionedDeleterObject = indirectArbitraryPointer(objectPtr) isDeleter = true case isDeleter: gracefulDeleter = rest.GracefulDeleteAdapter{deleter} } + versionedStatusPtr, err := a.group.Creater.New(serverVersion, "Status") + if err != nil { + return err + } + versionedStatus := indirectArbitraryPointer(versionedStatusPtr) var getOptions runtime.Object var getOptionsKind string if isGetterWithOptions { @@ -336,9 +342,10 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag } route := ws.GET(action.Path).To(handler). Filter(m). - Doc("read the specified " + kind). - Operation("read" + kind). + Doc("read the specified "+kind). + Operation("read"+kind). Produces(append(storageMeta.ProducesMIMETypes(action.Verb), "application/json")...). + Returns(http.StatusOK, "OK", versionedObject). Writes(versionedObject) if isGetterWithOptions { if err := addObjectParams(ws, route, getOptions); err != nil { @@ -350,9 +357,10 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag case "LIST": // List all resources of a kind. route := ws.GET(action.Path).To(ListResource(lister, watcher, reqScope, false)). Filter(m). - Doc("list objects of kind " + kind). - Operation("list" + kind). + Doc("list objects of kind "+kind). + Operation("list"+kind). Produces("application/json"). + Returns(http.StatusOK, "OK", versionedList). Writes(versionedList) if err := addObjectParams(ws, route, versionedListOptions); err != nil { return err @@ -368,10 +376,12 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag case "PUT": // Update a resource. route := ws.PUT(action.Path).To(UpdateResource(updater, reqScope, a.group.Typer, admit)). Filter(m). - Doc("replace the specified " + kind). - Operation("replace" + kind). + Doc("replace the specified "+kind). + Operation("replace"+kind). Produces(append(storageMeta.ProducesMIMETypes(action.Verb), "application/json")...). - Reads(versionedObject) + Returns(http.StatusOK, "OK", versionedObject). + Reads(versionedObject). + Writes(versionedObject) addParams(route, action.Params) ws.Route(route) case "PATCH": // Partially update a resource @@ -379,26 +389,32 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag Filter(m). Doc("partially update the specified "+kind). Consumes(string(api.JSONPatchType), string(api.MergePatchType), string(api.StrategicMergePatchType)). - Operation("patch" + kind). + Operation("patch"+kind). Produces(append(storageMeta.ProducesMIMETypes(action.Verb), "application/json")...). - Reads(versionedObject) + Returns(http.StatusOK, "OK", "string"). + Reads("string"). + Writes(versionedObject) addParams(route, action.Params) ws.Route(route) case "POST": // Create a resource. route := ws.POST(action.Path).To(CreateResource(creater, reqScope, a.group.Typer, admit)). Filter(m). - Doc("create a " + kind). - Operation("create" + kind). + Doc("create a "+kind). + Operation("create"+kind). Produces(append(storageMeta.ProducesMIMETypes(action.Verb), "application/json")...). - Reads(versionedObject) + Returns(http.StatusOK, "OK", versionedObject). + Reads(versionedObject). + Writes(versionedObject) addParams(route, action.Params) ws.Route(route) case "DELETE": // Delete a resource. route := ws.DELETE(action.Path).To(DeleteResource(gracefulDeleter, isGracefulDeleter, reqScope, admit)). Filter(m). - Doc("delete a " + kind). - Operation("delete" + kind). - Produces(append(storageMeta.ProducesMIMETypes(action.Verb), "application/json")...) + Doc("delete a "+kind). + Operation("delete"+kind). + Produces(append(storageMeta.ProducesMIMETypes(action.Verb), "application/json")...). + Writes(versionedStatus). + Returns(http.StatusOK, "OK", versionedStatus) if isGracefulDeleter { route.Reads(versionedDeleterObject) } @@ -408,9 +424,10 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag case "WATCH": // Watch a resource. route := ws.GET(action.Path).To(ListResource(lister, watcher, reqScope, true)). Filter(m). - Doc("watch changes to an object of kind " + kind). - Operation("watch" + kind). + Doc("watch changes to an object of kind "+kind). + Operation("watch"+kind). Produces("application/json"). + Returns(http.StatusOK, "OK", watchjson.WatchEvent{}). Writes(watchjson.WatchEvent{}) if err := addObjectParams(ws, route, versionedListOptions); err != nil { return err @@ -421,9 +438,10 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag case "WATCHLIST": // Watch all resources of a kind. route := ws.GET(action.Path).To(ListResource(lister, watcher, reqScope, true)). Filter(m). - Doc("watch individual changes to a list of " + kind). - Operation("watch" + kind + "list"). + Doc("watch individual changes to a list of "+kind). + Operation("watch"+kind+"list"). Produces("application/json"). + Returns(http.StatusOK, "OK", watchjson.WatchEvent{}). Writes(watchjson.WatchEvent{}) if err := addObjectParams(ws, route, versionedListOptions); err != nil { return err @@ -436,7 +454,8 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag Doc("redirect GET request to " + kind). Operation("redirect" + kind). Produces("*/*"). - Consumes("*/*") + Consumes("*/*"). + Writes("string") addParams(route, action.Params) ws.Route(route) case "PROXY": // Proxy requests to a resource. @@ -694,7 +713,8 @@ func addProxyRoute(ws *restful.WebService, method string, prefix string, path st Doc("proxy " + method + " requests to " + kind). Operation("proxy" + method + kind). Produces("*/*"). - Consumes("*/*") + Consumes("*/*"). + Writes("string") addParams(proxyRoute, params) ws.Route(proxyRoute) } @@ -711,7 +731,7 @@ func addParams(route *restful.RouteBuilder, params []*restful.Parameter) { // Go JSON behavior for omitting a field) become query parameters. The name of the query parameter is // the JSON field name. If a description struct tag is set on the field, that description is used on the // query parameter. In essence, it converts a standard JSON top level object into a query param schema. -func addObjectParams(ws *restful.WebService, route *restful.RouteBuilder, obj runtime.Object) error { +func addObjectParams(ws *restful.WebService, route *restful.RouteBuilder, obj interface{}) error { sv, err := conversion.EnforcePtr(obj) if err != nil { return err