diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 3059c2e1960..2478b5983f0 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -29,7 +29,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIVersions" + "$ref": "#/definitions/v1.APIVersions" } }, "401": { @@ -62,7 +62,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -670,7 +670,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -910,7 +910,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -1066,7 +1066,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -1099,7 +1099,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -1307,7 +1307,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -1463,7 +1463,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -1496,7 +1496,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -1704,7 +1704,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -1860,7 +1860,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -1893,7 +1893,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -2101,7 +2101,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -2257,7 +2257,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -2290,7 +2290,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -2498,7 +2498,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -2654,7 +2654,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -2687,7 +2687,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -2823,7 +2823,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -3031,7 +3031,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -3187,7 +3187,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -3220,7 +3220,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -3705,13 +3705,6 @@ "name": "sinceSeconds", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", - "name": "sinceTime", - "in": "query" - }, { "uniqueItems": true, "type": "integer", @@ -4282,7 +4275,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -4490,7 +4483,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -4646,7 +4639,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -4679,7 +4672,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -4887,7 +4880,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -5043,7 +5036,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -5076,7 +5069,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -5212,7 +5205,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -5348,7 +5341,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -5556,7 +5549,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -5712,7 +5705,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -5745,7 +5738,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -5881,7 +5874,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -6089,7 +6082,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -6245,7 +6238,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -6278,7 +6271,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -6486,7 +6479,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -6642,7 +6635,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -6675,7 +6668,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -6949,7 +6942,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -6982,7 +6975,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -7504,7 +7497,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -7676,7 +7669,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -7709,7 +7702,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -7893,7 +7886,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -8093,7 +8086,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -8241,7 +8234,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -8274,7 +8267,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -8772,7 +8765,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -9049,7 +9042,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -9197,7 +9190,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -9230,7 +9223,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -9358,7 +9351,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -14601,7 +14594,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroupList" + "$ref": "#/definitions/v1.APIGroupList" } }, "401": { @@ -14634,7 +14627,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -14667,7 +14660,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -14842,7 +14835,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -14998,7 +14991,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -15031,7 +15024,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -15167,7 +15160,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -15565,7 +15558,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -15598,7 +15591,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -15679,7 +15672,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -15712,7 +15705,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -15897,7 +15890,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -15930,7 +15923,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -16182,7 +16175,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -16338,7 +16331,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -16371,7 +16364,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -16507,7 +16500,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -16828,7 +16821,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -16861,7 +16854,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -17113,7 +17106,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -17269,7 +17262,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -17302,7 +17295,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -17438,7 +17431,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -17759,7 +17752,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -18088,7 +18081,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -18244,7 +18237,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -18277,7 +18270,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -18413,7 +18406,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -18621,7 +18614,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -18777,7 +18770,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -18810,7 +18803,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -18946,7 +18939,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -19154,7 +19147,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -19310,7 +19303,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -19343,7 +19336,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -19479,7 +19472,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -20387,7 +20380,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -20420,7 +20413,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -20595,7 +20588,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -20743,7 +20736,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -20776,7 +20769,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -21108,7 +21101,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -21141,7 +21134,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -21701,7 +21694,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -21857,7 +21850,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -21890,7 +21883,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -22026,7 +22019,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -22234,7 +22227,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -22390,7 +22383,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -22423,7 +22416,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -22623,7 +22616,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -22759,7 +22752,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -22967,7 +22960,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -23123,7 +23116,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -23156,7 +23149,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -23292,7 +23285,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -23500,7 +23493,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -23656,7 +23649,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -23689,7 +23682,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -23825,7 +23818,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -24033,7 +24026,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -24189,7 +24182,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -24222,7 +24215,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -24358,7 +24351,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -24566,7 +24559,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -24722,7 +24715,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -24755,7 +24748,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -24963,7 +24956,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -25119,7 +25112,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -25152,7 +25145,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -25288,7 +25281,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -25424,7 +25417,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -25560,7 +25553,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -25922,7 +25915,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -26070,7 +26063,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -26103,7 +26096,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -28108,7 +28101,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -28141,7 +28134,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -28316,7 +28309,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -28472,7 +28465,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -28505,7 +28498,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -28641,7 +28634,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -29039,7 +29032,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -29072,7 +29065,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -29247,7 +29240,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -29379,7 +29372,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -29412,7 +29405,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -29612,7 +29605,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -29744,7 +29737,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -29777,7 +29770,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -29977,7 +29970,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -30117,7 +30110,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -30150,7 +30143,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -30358,7 +30351,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -30498,7 +30491,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -30531,7 +30524,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -31585,7 +31578,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { @@ -31618,7 +31611,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.APIResourceList" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { @@ -31793,7 +31786,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -31941,7 +31934,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/unversioned.Status" + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -31974,7 +31967,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/unversioned.Patch" + "$ref": "#/definitions/v1.Patch" } } ], @@ -32263,7 +32256,7 @@ } } }, - "unversioned.APIGroup": { + "v1.APIGroup": { "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -32277,25 +32270,25 @@ }, "preferredVersion": { "description": "preferredVersion is the version preferred by the API server, which probably is the storage version.", - "$ref": "#/definitions/unversioned.GroupVersionForDiscovery" + "$ref": "#/definitions/v1.GroupVersionForDiscovery" }, "serverAddressByClientCIDRs": { "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", "type": "array", "items": { - "$ref": "#/definitions/unversioned.ServerAddressByClientCIDR" + "$ref": "#/definitions/v1.ServerAddressByClientCIDR" } }, "versions": { "description": "versions are the versions supported in this group.", "type": "array", "items": { - "$ref": "#/definitions/unversioned.GroupVersionForDiscovery" + "$ref": "#/definitions/v1.GroupVersionForDiscovery" } } } }, - "unversioned.APIGroupList": { + "v1.APIGroupList": { "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", "required": [ "groups" @@ -32305,12 +32298,12 @@ "description": "groups is a list of APIGroup.", "type": "array", "items": { - "$ref": "#/definitions/unversioned.APIGroup" + "$ref": "#/definitions/v1.APIGroup" } } } }, - "unversioned.APIResource": { + "v1.APIResource": { "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", @@ -32332,7 +32325,7 @@ } } }, - "unversioned.APIResourceList": { + "v1.APIResourceList": { "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -32347,12 +32340,12 @@ "description": "resources contains the name of the resources and if they are namespaced.", "type": "array", "items": { - "$ref": "#/definitions/unversioned.APIResource" + "$ref": "#/definitions/v1.APIResource" } } } }, - "unversioned.APIVersions": { + "v1.APIVersions": { "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", "required": [ "versions", @@ -32363,7 +32356,7 @@ "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", "type": "array", "items": { - "$ref": "#/definitions/unversioned.ServerAddressByClientCIDR" + "$ref": "#/definitions/v1.ServerAddressByClientCIDR" } }, "versions": { @@ -32375,179 +32368,6 @@ } } }, - "unversioned.GroupVersionForDiscovery": { - "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", - "required": [ - "groupVersion", - "version" - ], - "properties": { - "groupVersion": { - "description": "groupVersion specifies the API group and version in the form \"group/version\"", - "type": "string" - }, - "version": { - "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", - "type": "string" - } - } - }, - "unversioned.LabelSelector": { - "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", - "properties": { - "matchExpressions": { - "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", - "type": "array", - "items": { - "$ref": "#/definitions/unversioned.LabelSelectorRequirement" - } - }, - "matchLabels": { - "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - }, - "unversioned.LabelSelectorRequirement": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "required": [ - "key", - "operator" - ], - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "unversioned.ListMeta": { - "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", - "properties": { - "resourceVersion": { - "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency", - "type": "string" - }, - "selfLink": { - "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.", - "type": "string" - } - } - }, - "unversioned.Patch": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body." - }, - "unversioned.ServerAddressByClientCIDR": { - "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", - "required": [ - "clientCIDR", - "serverAddress" - ], - "properties": { - "clientCIDR": { - "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.", - "type": "string" - }, - "serverAddress": { - "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", - "type": "string" - } - } - }, - "unversioned.Status": { - "description": "Status is a return value for calls that don't return other objects.", - "properties": { - "code": { - "description": "Suggested HTTP return code for this status, 0 if not set.", - "type": "integer", - "format": "int32" - }, - "details": { - "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.", - "$ref": "#/definitions/unversioned.StatusDetails" - }, - "message": { - "description": "A human-readable description of the status of this operation.", - "type": "string" - }, - "metadata": { - "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" - }, - "reason": { - "description": "A 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.", - "type": "string" - }, - "status": { - "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", - "type": "string" - } - } - }, - "unversioned.StatusCause": { - "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", - "properties": { - "field": { - "description": "The 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. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", - "type": "string" - }, - "message": { - "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", - "type": "string" - }, - "reason": { - "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", - "type": "string" - } - } - }, - "unversioned.StatusDetails": { - "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", - "properties": { - "causes": { - "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", - "type": "array", - "items": { - "$ref": "#/definitions/unversioned.StatusCause" - } - }, - "group": { - "description": "The group attribute of the resource associated with the status StatusReason.", - "type": "string" - }, - "kind": { - "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "name": { - "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", - "type": "string" - }, - "retryAfterSeconds": { - "description": "If specified, the time in seconds before the operation should be retried.", - "type": "integer", - "format": "int32" - } - } - }, - "unversioned.Time": { - "type": "string", - "format": "date-time" - }, "v1.AttachedVolume": { "description": "AttachedVolume describes a volume attached to a node", "required": [ @@ -32656,7 +32476,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -32703,7 +32523,7 @@ }, "metadata": { "description": "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -32874,7 +32694,7 @@ "properties": { "startedAt": { "description": "Time at which the container was last (re-)started", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" } } }, @@ -32895,7 +32715,7 @@ }, "finishedAt": { "description": "Time at which the container last terminated", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "Message regarding the last termination of the container", @@ -32912,7 +32732,7 @@ }, "startedAt": { "description": "Time at which previous execution of the container started", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" } } }, @@ -33131,7 +32951,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -33190,7 +33010,7 @@ }, "firstTimestamp": { "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "involvedObject": { "description": "The object that this event is about.", @@ -33198,7 +33018,7 @@ }, "lastTimestamp": { "description": "The time at which the most recent occurrence of this event was recorded.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "A human-readable description of the status of this operation.", @@ -33237,7 +33057,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -33266,6 +33086,23 @@ } } }, + "v1.GroupVersionForDiscovery": { + "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", + "required": [ + "groupVersion", + "version" + ], + "properties": { + "groupVersion": { + "description": "groupVersion specifies the API group and version in the form \"group/version\"", + "type": "string" + }, + "version": { + "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", + "type": "string" + } + } + }, "v1.HTTPGetAction": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "required": [ @@ -33363,7 +33200,7 @@ }, "metadata": { "description": "Standard list metadata.", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -33419,7 +33256,7 @@ }, "lastScaleTime": { "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", @@ -33454,11 +33291,11 @@ "properties": { "lastProbeTime": { "description": "Last time the condition was checked.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "lastTransitionTime": { "description": "Last time the condition transit from one status to another.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "Human readable message indicating details about last transition.", @@ -33493,7 +33330,7 @@ }, "metadata": { "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -33524,7 +33361,7 @@ }, "selector": { "description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" }, "template": { "description": "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", @@ -33542,7 +33379,7 @@ }, "completionTime": { "description": "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "conditions": { "description": "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs", @@ -33558,7 +33395,7 @@ }, "startTime": { "description": "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "succeeded": { "description": "Succeeded is the number of pods which reached Phase Succeeded.", @@ -33567,6 +33404,49 @@ } } }, + "v1.LabelSelector": { + "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", + "properties": { + "matchExpressions": { + "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LabelSelectorRequirement" + } + }, + "matchLabels": { + "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "v1.LabelSelectorRequirement": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1.Lifecycle": { "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", "properties": { @@ -33652,7 +33532,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -33671,6 +33551,19 @@ } } }, + "v1.ListMeta": { + "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", + "properties": { + "resourceVersion": { + "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "selfLink": { + "description": "SelfLink is a URL representing this object. Populated by the system. Read-only.", + "type": "string" + } + } + }, "v1.LoadBalancerIngress": { "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", "properties": { @@ -33737,7 +33630,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -33805,11 +33698,11 @@ "properties": { "lastHeartbeatTime": { "description": "Last time we got an update on a given condition.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "lastTransitionTime": { "description": "Last time the condition transit from one status to another.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "Human readable message indicating details about last transition.", @@ -33853,7 +33746,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -34033,7 +33926,7 @@ }, "creationTimestamp": { "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "deletionGracePeriodSeconds": { "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", @@ -34042,7 +33935,7 @@ }, "deletionTimestamp": { "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "finalizers": { "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed.", @@ -34160,6 +34053,9 @@ } } }, + "v1.Patch": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body." + }, "v1.PersistentVolume": { "description": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes", "properties": { @@ -34209,7 +34105,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -34229,7 +34125,7 @@ }, "selector": { "description": "A label query over volumes to consider for binding.", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" }, "volumeName": { "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.", @@ -34275,7 +34171,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -34349,11 +34245,11 @@ "properties": { "lastProbeTime": { "description": "Last time we probed the condition.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "lastTransitionTime": { "description": "Last time the condition transitioned from one status to another.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "Human-readable message indicating details about last transition.", @@ -34388,7 +34284,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -34552,7 +34448,7 @@ }, "startTime": { "description": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" } } }, @@ -34584,7 +34480,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -34666,7 +34562,7 @@ "properties": { "lastTransitionTime": { "description": "The last time the condition transitioned from one status to another.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "A human readable message indicating details about the transition.", @@ -34701,7 +34597,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -34823,7 +34719,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35004,7 +34900,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35038,6 +34934,23 @@ } } }, + "v1.ServerAddressByClientCIDR": { + "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", + "required": [ + "clientCIDR", + "serverAddress" + ], + "properties": { + "clientCIDR": { + "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.", + "type": "string" + }, + "serverAddress": { + "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", + "type": "string" + } + } + }, "v1.Service": { "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.", "properties": { @@ -35093,7 +35006,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35112,7 +35025,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35218,6 +35131,82 @@ } } }, + "v1.Status": { + "description": "Status is a return value for calls that don't return other objects.", + "properties": { + "code": { + "description": "Suggested HTTP return code for this status, 0 if not set.", + "type": "integer", + "format": "int32" + }, + "details": { + "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.", + "$ref": "#/definitions/v1.StatusDetails" + }, + "message": { + "description": "A human-readable description of the status of this operation.", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + }, + "reason": { + "description": "A 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.", + "type": "string" + }, + "status": { + "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", + "type": "string" + } + } + }, + "v1.StatusCause": { + "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", + "properties": { + "field": { + "description": "The 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. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"", + "type": "string" + }, + "message": { + "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.", + "type": "string" + }, + "reason": { + "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.", + "type": "string" + } + } + }, + "v1.StatusDetails": { + "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", + "properties": { + "causes": { + "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.StatusCause" + } + }, + "group": { + "description": "The group attribute of the resource associated with the status StatusReason.", + "type": "string" + }, + "kind": { + "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).", + "type": "string" + }, + "retryAfterSeconds": { + "description": "If specified, the time in seconds before the operation should be retried.", + "type": "integer", + "format": "int32" + } + } + }, "v1.TCPSocketAction": { "description": "TCPSocketAction describes an action based on opening a socket", "required": [ @@ -35230,6 +35219,10 @@ } } }, + "v1.Time": { + "type": "string", + "format": "date-time" + }, "v1.Volume": { "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", "required": [ @@ -35290,7 +35283,7 @@ "properties": { "lastUpdateTime": { "description": "timestamp for the last update to this condition", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "human readable message with details about the request state", @@ -35318,7 +35311,7 @@ } }, "metadata": { - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35422,7 +35415,7 @@ }, "metadata": { "description": "Standard object's metadata.", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35441,7 +35434,7 @@ }, "metadata": { "description": "Standard object's metadata.", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35550,7 +35543,7 @@ }, "metadata": { "description": "Standard object's metadata.", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35569,7 +35562,7 @@ }, "metadata": { "description": "Standard object's metadata.", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35673,7 +35666,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35685,7 +35678,7 @@ "properties": { "selector": { "description": "Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" }, "template": { "description": "Template is the object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", @@ -35750,11 +35743,11 @@ "properties": { "lastTransitionTime": { "description": "Last time the condition transitioned from one status to another.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "lastUpdateTime": { "description": "The last time this condition was updated.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "A human readable message indicating details about the transition.", @@ -35789,7 +35782,7 @@ }, "metadata": { "description": "Standard list metadata.", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -35853,7 +35846,7 @@ }, "selector": { "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" }, "strategy": { "description": "The deployment strategy to use to replace existing pods with new ones.", @@ -35960,7 +35953,7 @@ }, "metadata": { "description": "Standard list metadata.", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -36015,7 +36008,7 @@ }, "lastScaleTime": { "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "observedGeneration": { "description": "most recent generation observed by this autoscaler.", @@ -36073,7 +36066,7 @@ }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -36160,11 +36153,11 @@ "properties": { "lastProbeTime": { "description": "Last time the condition was checked.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "lastTransitionTime": { "description": "Last time the condition transit from one status to another.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "Human readable message indicating details about last transition.", @@ -36199,7 +36192,7 @@ }, "metadata": { "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -36230,7 +36223,7 @@ }, "selector": { "description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" }, "template": { "description": "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", @@ -36248,7 +36241,7 @@ }, "completionTime": { "description": "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "conditions": { "description": "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs", @@ -36264,7 +36257,7 @@ }, "startTime": { "description": "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "succeeded": { "description": "Succeeded is the number of pods which reached Phase Succeeded.", @@ -36338,7 +36331,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -36346,11 +36339,11 @@ "properties": { "namespaceSelector": { "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces.", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" }, "podSelector": { "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace.", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" } } }, @@ -36380,7 +36373,7 @@ }, "podSelector": { "description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" } } }, @@ -36426,7 +36419,7 @@ } }, "metadata": { - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -36439,7 +36432,7 @@ }, "selector": { "description": "Label query over pods whose evictions are managed by the disruption budget.", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" } } }, @@ -36467,7 +36460,7 @@ "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" } }, "disruptionsAllowed": { @@ -36513,7 +36506,7 @@ "properties": { "lastTransitionTime": { "description": "The last time the condition transitioned from one status to another.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "A human readable message indicating details about the transition.", @@ -36548,7 +36541,7 @@ }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -36567,7 +36560,7 @@ }, "selector": { "description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" }, "template": { "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", @@ -36782,7 +36775,7 @@ } }, "metadata": { - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -36800,7 +36793,7 @@ }, "selector": { "description": "Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" }, "serviceName": { "description": "ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", @@ -36875,7 +36868,7 @@ }, "metadata": { "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -37008,7 +37001,7 @@ }, "metadata": { "description": "Standard list metadata.", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -37119,7 +37112,7 @@ }, "metadata": { "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -37165,7 +37158,7 @@ }, "lastScheduleTime": { "description": "LastScheduleTime keeps information of when was the last time the job was successfully scheduled.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" } } }, @@ -37195,11 +37188,11 @@ "properties": { "lastProbeTime": { "description": "Last time the condition was checked.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "lastTransitionTime": { "description": "Last time the condition transit from one status to another.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "message": { "description": "Human readable message indicating details about last transition.", @@ -37234,7 +37227,7 @@ }, "metadata": { "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "$ref": "#/definitions/unversioned.ListMeta" + "$ref": "#/definitions/v1.ListMeta" } } }, @@ -37265,7 +37258,7 @@ }, "selector": { "description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", - "$ref": "#/definitions/unversioned.LabelSelector" + "$ref": "#/definitions/v1.LabelSelector" }, "template": { "description": "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", @@ -37283,7 +37276,7 @@ }, "completionTime": { "description": "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "conditions": { "description": "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs", @@ -37299,7 +37292,7 @@ }, "startTime": { "description": "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", - "$ref": "#/definitions/unversioned.Time" + "$ref": "#/definitions/v1.Time" }, "succeeded": { "description": "Succeeded is the number of pods which reached Phase Succeeded.", diff --git a/api/swagger-spec/api.json b/api/swagger-spec/api.json index 6ec7dba9c8e..1147033c40b 100644 --- a/api/swagger-spec/api.json +++ b/api/swagger-spec/api.json @@ -13,7 +13,7 @@ "description": "get available API versions", "operations": [ { - "type": "unversioned.APIVersions", + "type": "v1.APIVersions", "method": "GET", "summary": "get available API versions", "nickname": "getAPIVersions", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIVersions": { - "id": "unversioned.APIVersions", + "v1.APIVersions": { + "id": "v1.APIVersions", "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", "required": [ "versions", @@ -59,14 +59,14 @@ "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/apis.json b/api/swagger-spec/apis.json index dea7ec02cf7..df729ba5160 100644 --- a/api/swagger-spec/apis.json +++ b/api/swagger-spec/apis.json @@ -13,7 +13,7 @@ "description": "get available API versions", "operations": [ { - "type": "unversioned.APIGroupList", + "type": "v1.APIGroupList", "method": "GET", "summary": "get available API versions", "nickname": "getAPIVersions", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroupList": { - "id": "unversioned.APIGroupList", + "v1.APIGroupList": { + "id": "v1.APIGroupList", "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.", "required": [ "groups" @@ -51,14 +51,14 @@ "groups": { "type": "array", "items": { - "$ref": "unversioned.APIGroup" + "$ref": "v1.APIGroup" }, "description": "groups is a list of APIGroup." } } }, - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -81,25 +81,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -116,8 +116,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/apps.json b/api/swagger-spec/apps.json index 695f3160cef..5349f3ec8d1 100644 --- a/api/swagger-spec/apps.json +++ b/api/swagger-spec/apps.json @@ -13,7 +13,7 @@ "description": "get information of a group", "operations": [ { - "type": "unversioned.APIGroup", + "type": "v1.APIGroup", "method": "GET", "summary": "get information of a group", "nickname": "getAPIGroup", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -57,25 +57,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -92,8 +92,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/apps_v1beta1.json b/api/swagger-spec/apps_v1beta1.json index df7018463a6..c0c4a1715da 100644 --- a/api/swagger-spec/apps_v1beta1.json +++ b/api/swagger-spec/apps_v1beta1.json @@ -141,7 +141,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of StatefulSet", "nickname": "deletecollectionNamespacedStatefulSet", @@ -207,7 +207,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -445,7 +445,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -488,7 +488,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a StatefulSet", "nickname": "deleteNamespacedStatefulSet", @@ -546,7 +546,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -934,7 +934,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -983,7 +983,7 @@ "description": "API at /apis/apps/v1beta1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -1019,7 +1019,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta" + "$ref": "v1.ListMeta" }, "items": { "type": "array", @@ -1029,8 +1029,8 @@ } } }, - "unversioned.ListMeta": { - "id": "unversioned.ListMeta", + "v1.ListMeta": { + "id": "v1.ListMeta", "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "selfLink": { @@ -1103,12 +1103,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -1190,7 +1188,7 @@ "description": "Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1." }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "template": { @@ -1210,8 +1208,8 @@ } } }, - "unversioned.LabelSelector": { - "id": "unversioned.LabelSelector", + "v1.LabelSelector": { + "id": "v1.LabelSelector", "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { "matchLabels": { @@ -1221,14 +1219,14 @@ "matchExpressions": { "type": "array", "items": { - "$ref": "unversioned.LabelSelectorRequirement" + "$ref": "v1.LabelSelectorRequirement" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." } } }, - "unversioned.LabelSelectorRequirement": { - "id": "unversioned.LabelSelectorRequirement", + "v1.LabelSelectorRequirement": { + "id": "v1.LabelSelectorRequirement", "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "required": [ "key", @@ -2647,7 +2645,7 @@ "description": "AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1" }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "A label query over volumes to consider for binding." }, "resources": { @@ -2704,8 +2702,8 @@ } } }, - "unversioned.Status": { - "id": "unversioned.Status", + "v1.Status": { + "id": "v1.Status", "description": "Status is a return value for calls that don't return other objects.", "properties": { "kind": { @@ -2717,7 +2715,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "status": { @@ -2733,7 +2731,7 @@ "description": "A 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." }, "details": { - "$ref": "unversioned.StatusDetails", + "$ref": "v1.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." }, "code": { @@ -2743,8 +2741,8 @@ } } }, - "unversioned.StatusDetails": { - "id": "unversioned.StatusDetails", + "v1.StatusDetails": { + "id": "v1.StatusDetails", "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "name": { @@ -2762,7 +2760,7 @@ "causes": { "type": "array", "items": { - "$ref": "unversioned.StatusCause" + "$ref": "v1.StatusCause" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, @@ -2773,8 +2771,8 @@ } } }, - "unversioned.StatusCause": { - "id": "unversioned.StatusCause", + "v1.StatusCause": { + "id": "v1.StatusCause", "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "reason": { @@ -2806,8 +2804,8 @@ } } }, - "unversioned.Patch": { - "id": "unversioned.Patch", + "v1.Patch": { + "id": "v1.Patch", "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "properties": {} }, @@ -2852,8 +2850,8 @@ "id": "types.UID", "properties": {} }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -2875,14 +2873,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/authentication.k8s.io.json b/api/swagger-spec/authentication.k8s.io.json index 7135929d552..aa9df744333 100644 --- a/api/swagger-spec/authentication.k8s.io.json +++ b/api/swagger-spec/authentication.k8s.io.json @@ -13,7 +13,7 @@ "description": "get information of a group", "operations": [ { - "type": "unversioned.APIGroup", + "type": "v1.APIGroup", "method": "GET", "summary": "get information of a group", "nickname": "getAPIGroup", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -57,25 +57,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -92,8 +92,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/authentication.k8s.io_v1beta1.json b/api/swagger-spec/authentication.k8s.io_v1beta1.json index 33ce006615a..7279f5ee7b2 100644 --- a/api/swagger-spec/authentication.k8s.io_v1beta1.json +++ b/api/swagger-spec/authentication.k8s.io_v1beta1.json @@ -58,7 +58,7 @@ "description": "API at /apis/authentication.k8s.io/v1beta1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -141,12 +141,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -267,8 +265,8 @@ } } }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -290,14 +288,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/authorization.k8s.io.json b/api/swagger-spec/authorization.k8s.io.json index aedd67cd8ea..8a71a1a8951 100644 --- a/api/swagger-spec/authorization.k8s.io.json +++ b/api/swagger-spec/authorization.k8s.io.json @@ -13,7 +13,7 @@ "description": "get information of a group", "operations": [ { - "type": "unversioned.APIGroup", + "type": "v1.APIGroup", "method": "GET", "summary": "get information of a group", "nickname": "getAPIGroup", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -57,25 +57,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -92,8 +92,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/authorization.k8s.io_v1beta1.json b/api/swagger-spec/authorization.k8s.io_v1beta1.json index 9f9462b0d3a..0ebefafecae 100644 --- a/api/swagger-spec/authorization.k8s.io_v1beta1.json +++ b/api/swagger-spec/authorization.k8s.io_v1beta1.json @@ -156,7 +156,7 @@ "description": "API at /apis/authorization.k8s.io/v1beta1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -239,12 +239,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -480,8 +478,8 @@ } } }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -503,14 +501,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/autoscaling.json b/api/swagger-spec/autoscaling.json index 4de1765949b..3d227e0087c 100644 --- a/api/swagger-spec/autoscaling.json +++ b/api/swagger-spec/autoscaling.json @@ -13,7 +13,7 @@ "description": "get information of a group", "operations": [ { - "type": "unversioned.APIGroup", + "type": "v1.APIGroup", "method": "GET", "summary": "get information of a group", "nickname": "getAPIGroup", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -57,25 +57,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -92,8 +92,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/autoscaling_v1.json b/api/swagger-spec/autoscaling_v1.json index dadcb070ebe..2cfe8d78d0f 100644 --- a/api/swagger-spec/autoscaling_v1.json +++ b/api/swagger-spec/autoscaling_v1.json @@ -141,7 +141,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of HorizontalPodAutoscaler", "nickname": "deletecollectionNamespacedHorizontalPodAutoscaler", @@ -207,7 +207,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -445,7 +445,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -488,7 +488,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a HorizontalPodAutoscaler", "nickname": "deleteNamespacedHorizontalPodAutoscaler", @@ -546,7 +546,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -934,7 +934,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -983,7 +983,7 @@ "description": "API at /apis/autoscaling/v1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -1019,7 +1019,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata." }, "items": { @@ -1031,8 +1031,8 @@ } } }, - "unversioned.ListMeta": { - "id": "unversioned.ListMeta", + "v1.ListMeta": { + "id": "v1.ListMeta", "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "selfLink": { @@ -1106,12 +1106,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -1245,7 +1243,6 @@ }, "lastScaleTime": { "type": "string", - "format": "date-time", "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed." }, "currentReplicas": { @@ -1265,8 +1262,8 @@ } } }, - "unversioned.Status": { - "id": "unversioned.Status", + "v1.Status": { + "id": "v1.Status", "description": "Status is a return value for calls that don't return other objects.", "properties": { "kind": { @@ -1278,7 +1275,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "status": { @@ -1294,7 +1291,7 @@ "description": "A 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." }, "details": { - "$ref": "unversioned.StatusDetails", + "$ref": "v1.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." }, "code": { @@ -1304,8 +1301,8 @@ } } }, - "unversioned.StatusDetails": { - "id": "unversioned.StatusDetails", + "v1.StatusDetails": { + "id": "v1.StatusDetails", "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "name": { @@ -1323,7 +1320,7 @@ "causes": { "type": "array", "items": { - "$ref": "unversioned.StatusCause" + "$ref": "v1.StatusCause" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, @@ -1334,8 +1331,8 @@ } } }, - "unversioned.StatusCause": { - "id": "unversioned.StatusCause", + "v1.StatusCause": { + "id": "v1.StatusCause", "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "reason": { @@ -1367,8 +1364,8 @@ } } }, - "unversioned.Patch": { - "id": "unversioned.Patch", + "v1.Patch": { + "id": "v1.Patch", "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "properties": {} }, @@ -1413,8 +1410,8 @@ "id": "types.UID", "properties": {} }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -1436,14 +1433,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/batch.json b/api/swagger-spec/batch.json index 1fe54f7ca9a..fc83312861b 100644 --- a/api/swagger-spec/batch.json +++ b/api/swagger-spec/batch.json @@ -13,7 +13,7 @@ "description": "get information of a group", "operations": [ { - "type": "unversioned.APIGroup", + "type": "v1.APIGroup", "method": "GET", "summary": "get information of a group", "nickname": "getAPIGroup", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -57,25 +57,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -92,8 +92,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/batch_v1.json b/api/swagger-spec/batch_v1.json index 24505ec3d66..38e9743c5e7 100644 --- a/api/swagger-spec/batch_v1.json +++ b/api/swagger-spec/batch_v1.json @@ -141,7 +141,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Job", "nickname": "deletecollectionNamespacedJob", @@ -207,7 +207,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -445,7 +445,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -488,7 +488,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a Job", "nickname": "deleteNamespacedJob", @@ -546,7 +546,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -934,7 +934,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -983,7 +983,7 @@ "description": "API at /apis/batch/v1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -1019,7 +1019,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "items": { @@ -1031,8 +1031,8 @@ } } }, - "unversioned.ListMeta": { - "id": "unversioned.ListMeta", + "v1.ListMeta": { + "id": "v1.ListMeta", "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "selfLink": { @@ -1106,12 +1106,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -1202,7 +1200,7 @@ "description": "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer" }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "manualSelector": { @@ -1215,8 +1213,8 @@ } } }, - "unversioned.LabelSelector": { - "id": "unversioned.LabelSelector", + "v1.LabelSelector": { + "id": "v1.LabelSelector", "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { "matchLabels": { @@ -1226,14 +1224,14 @@ "matchExpressions": { "type": "array", "items": { - "$ref": "unversioned.LabelSelectorRequirement" + "$ref": "v1.LabelSelectorRequirement" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." } } }, - "unversioned.LabelSelectorRequirement": { - "id": "unversioned.LabelSelectorRequirement", + "v1.LabelSelectorRequirement": { + "id": "v1.LabelSelectorRequirement", "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "required": [ "key", @@ -2627,12 +2625,10 @@ }, "startTime": { "type": "string", - "format": "date-time", "description": "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC." }, "completionTime": { "type": "string", - "format": "date-time", "description": "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC." }, "active": { @@ -2670,12 +2666,10 @@ }, "lastProbeTime": { "type": "string", - "format": "date-time", "description": "Last time the condition was checked." }, "lastTransitionTime": { "type": "string", - "format": "date-time", "description": "Last time the condition transit from one status to another." }, "reason": { @@ -2688,8 +2682,8 @@ } } }, - "unversioned.Status": { - "id": "unversioned.Status", + "v1.Status": { + "id": "v1.Status", "description": "Status is a return value for calls that don't return other objects.", "properties": { "kind": { @@ -2701,7 +2695,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "status": { @@ -2717,7 +2711,7 @@ "description": "A 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." }, "details": { - "$ref": "unversioned.StatusDetails", + "$ref": "v1.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." }, "code": { @@ -2727,8 +2721,8 @@ } } }, - "unversioned.StatusDetails": { - "id": "unversioned.StatusDetails", + "v1.StatusDetails": { + "id": "v1.StatusDetails", "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "name": { @@ -2746,7 +2740,7 @@ "causes": { "type": "array", "items": { - "$ref": "unversioned.StatusCause" + "$ref": "v1.StatusCause" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, @@ -2757,8 +2751,8 @@ } } }, - "unversioned.StatusCause": { - "id": "unversioned.StatusCause", + "v1.StatusCause": { + "id": "v1.StatusCause", "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "reason": { @@ -2790,8 +2784,8 @@ } } }, - "unversioned.Patch": { - "id": "unversioned.Patch", + "v1.Patch": { + "id": "v1.Patch", "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "properties": {} }, @@ -2836,8 +2830,8 @@ "id": "types.UID", "properties": {} }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -2859,14 +2853,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/batch_v2alpha1.json b/api/swagger-spec/batch_v2alpha1.json index c805a3b4c26..dc54a48a072 100644 --- a/api/swagger-spec/batch_v2alpha1.json +++ b/api/swagger-spec/batch_v2alpha1.json @@ -13,7 +13,7 @@ "description": "API at /apis/batch/v2alpha1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -56,14 +56,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/certificates.k8s.io.json b/api/swagger-spec/certificates.k8s.io.json index 42855f420e3..55811b8adc7 100644 --- a/api/swagger-spec/certificates.k8s.io.json +++ b/api/swagger-spec/certificates.k8s.io.json @@ -13,7 +13,7 @@ "description": "get information of a group", "operations": [ { - "type": "unversioned.APIGroup", + "type": "v1.APIGroup", "method": "GET", "summary": "get information of a group", "nickname": "getAPIGroup", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -57,25 +57,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -92,8 +92,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/certificates.k8s.io_v1alpha1.json b/api/swagger-spec/certificates.k8s.io_v1alpha1.json index 60db9515378..bd511c13ed5 100644 --- a/api/swagger-spec/certificates.k8s.io_v1alpha1.json +++ b/api/swagger-spec/certificates.k8s.io_v1alpha1.json @@ -125,7 +125,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of CertificateSigningRequest", "nickname": "deletecollectionCertificateSigningRequest", @@ -183,7 +183,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -397,7 +397,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -432,7 +432,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a CertificateSigningRequest", "nickname": "deleteCertificateSigningRequest", @@ -482,7 +482,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -694,7 +694,7 @@ "description": "API at /apis/certificates.k8s.io/v1alpha1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -729,7 +729,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta" + "$ref": "v1.ListMeta" }, "items": { "type": "array", @@ -739,8 +739,8 @@ } } }, - "unversioned.ListMeta": { - "id": "unversioned.ListMeta", + "v1.ListMeta": { + "id": "v1.ListMeta", "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "selfLink": { @@ -813,12 +813,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -948,13 +946,12 @@ }, "lastUpdateTime": { "type": "string", - "format": "date-time", "description": "timestamp for the last update to this condition" } } }, - "unversioned.Status": { - "id": "unversioned.Status", + "v1.Status": { + "id": "v1.Status", "description": "Status is a return value for calls that don't return other objects.", "properties": { "kind": { @@ -966,7 +963,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "status": { @@ -982,7 +979,7 @@ "description": "A 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." }, "details": { - "$ref": "unversioned.StatusDetails", + "$ref": "v1.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." }, "code": { @@ -992,8 +989,8 @@ } } }, - "unversioned.StatusDetails": { - "id": "unversioned.StatusDetails", + "v1.StatusDetails": { + "id": "v1.StatusDetails", "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "name": { @@ -1011,7 +1008,7 @@ "causes": { "type": "array", "items": { - "$ref": "unversioned.StatusCause" + "$ref": "v1.StatusCause" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, @@ -1022,8 +1019,8 @@ } } }, - "unversioned.StatusCause": { - "id": "unversioned.StatusCause", + "v1.StatusCause": { + "id": "v1.StatusCause", "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "reason": { @@ -1055,8 +1052,8 @@ } } }, - "unversioned.Patch": { - "id": "unversioned.Patch", + "v1.Patch": { + "id": "v1.Patch", "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "properties": {} }, @@ -1101,8 +1098,8 @@ "id": "types.UID", "properties": {} }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -1124,14 +1121,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/extensions.json b/api/swagger-spec/extensions.json index 6d2375f1a61..9ee75d6eb7e 100644 --- a/api/swagger-spec/extensions.json +++ b/api/swagger-spec/extensions.json @@ -13,7 +13,7 @@ "description": "get information of a group", "operations": [ { - "type": "unversioned.APIGroup", + "type": "v1.APIGroup", "method": "GET", "summary": "get information of a group", "nickname": "getAPIGroup", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -57,25 +57,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -92,8 +92,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/extensions_v1beta1.json b/api/swagger-spec/extensions_v1beta1.json index f9ed720cdb0..11aebb3180e 100644 --- a/api/swagger-spec/extensions_v1beta1.json +++ b/api/swagger-spec/extensions_v1beta1.json @@ -141,7 +141,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of DaemonSet", "nickname": "deletecollectionNamespacedDaemonSet", @@ -207,7 +207,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -445,7 +445,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -488,7 +488,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a DaemonSet", "nickname": "deleteNamespacedDaemonSet", @@ -546,7 +546,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -934,7 +934,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -1111,7 +1111,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Deployment", "nickname": "deletecollectionNamespacedDeployment", @@ -1177,7 +1177,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -1415,7 +1415,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -1458,7 +1458,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a Deployment", "nickname": "deleteNamespacedDeployment", @@ -1516,7 +1516,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -1965,7 +1965,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -2130,7 +2130,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -2307,7 +2307,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of HorizontalPodAutoscaler", "nickname": "deletecollectionNamespacedHorizontalPodAutoscaler", @@ -2373,7 +2373,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -2611,7 +2611,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -2654,7 +2654,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a HorizontalPodAutoscaler", "nickname": "deleteNamespacedHorizontalPodAutoscaler", @@ -2712,7 +2712,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -3100,7 +3100,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -3277,7 +3277,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Ingress", "nickname": "deletecollectionNamespacedIngress", @@ -3343,7 +3343,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -3581,7 +3581,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -3624,7 +3624,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete an Ingress", "nickname": "deleteNamespacedIngress", @@ -3682,7 +3682,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -4070,7 +4070,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -4247,7 +4247,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Job", "nickname": "deletecollectionNamespacedJob", @@ -4313,7 +4313,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -4551,7 +4551,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -4594,7 +4594,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a Job", "nickname": "deleteNamespacedJob", @@ -4652,7 +4652,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -5040,7 +5040,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -5217,7 +5217,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of NetworkPolicy", "nickname": "deletecollectionNamespacedNetworkPolicy", @@ -5283,7 +5283,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -5521,7 +5521,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -5564,7 +5564,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a NetworkPolicy", "nickname": "deleteNamespacedNetworkPolicy", @@ -5622,7 +5622,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -6022,7 +6022,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of ReplicaSet", "nickname": "deletecollectionNamespacedReplicaSet", @@ -6088,7 +6088,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -6326,7 +6326,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -6369,7 +6369,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a ReplicaSet", "nickname": "deleteNamespacedReplicaSet", @@ -6427,7 +6427,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -6815,7 +6815,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -6980,7 +6980,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -7145,7 +7145,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -7306,7 +7306,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of ThirdPartyResource", "nickname": "deletecollectionThirdPartyResource", @@ -7364,7 +7364,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -7578,7 +7578,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -7613,7 +7613,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a ThirdPartyResource", "nickname": "deleteThirdPartyResource", @@ -7663,7 +7663,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -7769,7 +7769,7 @@ "description": "API at /apis/extensions/v1beta1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -7805,7 +7805,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "items": { @@ -7817,8 +7817,8 @@ } } }, - "unversioned.ListMeta": { - "id": "unversioned.ListMeta", + "v1.ListMeta": { + "id": "v1.ListMeta", "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "selfLink": { @@ -7892,12 +7892,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -7973,7 +7971,7 @@ ], "properties": { "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "template": { @@ -7982,8 +7980,8 @@ } } }, - "unversioned.LabelSelector": { - "id": "unversioned.LabelSelector", + "v1.LabelSelector": { + "id": "v1.LabelSelector", "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { "matchLabels": { @@ -7993,14 +7991,14 @@ "matchExpressions": { "type": "array", "items": { - "$ref": "unversioned.LabelSelectorRequirement" + "$ref": "v1.LabelSelectorRequirement" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." } } }, - "unversioned.LabelSelectorRequirement": { - "id": "unversioned.LabelSelectorRequirement", + "v1.LabelSelectorRequirement": { + "id": "v1.LabelSelectorRequirement", "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "required": [ "key", @@ -9413,8 +9411,8 @@ } } }, - "unversioned.Status": { - "id": "unversioned.Status", + "v1.Status": { + "id": "v1.Status", "description": "Status is a return value for calls that don't return other objects.", "properties": { "kind": { @@ -9426,7 +9424,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "status": { @@ -9442,7 +9440,7 @@ "description": "A 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." }, "details": { - "$ref": "unversioned.StatusDetails", + "$ref": "v1.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." }, "code": { @@ -9452,8 +9450,8 @@ } } }, - "unversioned.StatusDetails": { - "id": "unversioned.StatusDetails", + "v1.StatusDetails": { + "id": "v1.StatusDetails", "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "name": { @@ -9471,7 +9469,7 @@ "causes": { "type": "array", "items": { - "$ref": "unversioned.StatusCause" + "$ref": "v1.StatusCause" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, @@ -9482,8 +9480,8 @@ } } }, - "unversioned.StatusCause": { - "id": "unversioned.StatusCause", + "v1.StatusCause": { + "id": "v1.StatusCause", "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "reason": { @@ -9515,8 +9513,8 @@ } } }, - "unversioned.Patch": { - "id": "unversioned.Patch", + "v1.Patch": { + "id": "v1.Patch", "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "properties": {} }, @@ -9577,7 +9575,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata." }, "items": { @@ -9628,7 +9626,7 @@ "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1." }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment." }, "template": { @@ -9758,12 +9756,10 @@ }, "lastUpdateTime": { "type": "string", - "format": "date-time", "description": "The last time this condition was updated." }, "lastTransitionTime": { "type": "string", - "format": "date-time", "description": "Last time the condition transitioned from one status to another." }, "reason": { @@ -9881,7 +9877,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata." }, "items": { @@ -9997,7 +9993,6 @@ }, "lastScaleTime": { "type": "string", - "format": "date-time", "description": "last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed." }, "currentReplicas": { @@ -10033,7 +10028,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "items": { @@ -10229,7 +10224,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "items": { @@ -10290,7 +10285,7 @@ "description": "Optional duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer" }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "autoSelector": { @@ -10316,12 +10311,10 @@ }, "startTime": { "type": "string", - "format": "date-time", "description": "StartTime represents time when the job was acknowledged by the Job Manager. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC." }, "completionTime": { "type": "string", - "format": "date-time", "description": "CompletionTime represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC." }, "active": { @@ -10359,12 +10352,10 @@ }, "lastProbeTime": { "type": "string", - "format": "date-time", "description": "Last time the condition was checked." }, "lastTransitionTime": { "type": "string", - "format": "date-time", "description": "Last time the condition transit from one status to another." }, "reason": { @@ -10393,7 +10384,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "items": { @@ -10433,7 +10424,7 @@ ], "properties": { "podSelector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace." }, "ingress": { @@ -10486,11 +10477,11 @@ "id": "v1beta1.NetworkPolicyPeer", "properties": { "podSelector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If not provided, this selector selects no pods. If present but empty, this selector selects all pods in this namespace." }, "namespaceSelector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If omitted, this selector selects no namespaces. If present but empty, this selector selects all namespaces." } } @@ -10511,7 +10502,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -10564,7 +10555,7 @@ "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)" }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors" }, "template": { @@ -10632,7 +10623,6 @@ }, "lastTransitionTime": { "type": "string", - "format": "date-time", "description": "The last time the condition transitioned from one status to another." }, "reason": { @@ -10661,7 +10651,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata." }, "items": { @@ -10712,8 +10702,8 @@ } } }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -10735,14 +10725,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/policy.json b/api/swagger-spec/policy.json index 208c1079930..d3ccf618a5e 100644 --- a/api/swagger-spec/policy.json +++ b/api/swagger-spec/policy.json @@ -13,7 +13,7 @@ "description": "get information of a group", "operations": [ { - "type": "unversioned.APIGroup", + "type": "v1.APIGroup", "method": "GET", "summary": "get information of a group", "nickname": "getAPIGroup", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -57,25 +57,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -92,8 +92,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/policy_v1beta1.json b/api/swagger-spec/policy_v1beta1.json index b79449f2adb..7d5695ecc00 100644 --- a/api/swagger-spec/policy_v1beta1.json +++ b/api/swagger-spec/policy_v1beta1.json @@ -141,7 +141,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of PodDisruptionBudget", "nickname": "deletecollectionNamespacedPodDisruptionBudget", @@ -207,7 +207,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -445,7 +445,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -488,7 +488,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a PodDisruptionBudget", "nickname": "deleteNamespacedPodDisruptionBudget", @@ -546,7 +546,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -934,7 +934,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -983,7 +983,7 @@ "description": "API at /apis/policy/v1beta1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -1019,7 +1019,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta" + "$ref": "v1.ListMeta" }, "items": { "type": "array", @@ -1029,8 +1029,8 @@ } } }, - "unversioned.ListMeta": { - "id": "unversioned.ListMeta", + "v1.ListMeta": { + "id": "v1.ListMeta", "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "selfLink": { @@ -1103,12 +1103,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -1185,13 +1183,13 @@ "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\"." }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "Label query over pods whose evictions are managed by the disruption budget." } } }, - "unversioned.LabelSelector": { - "id": "unversioned.LabelSelector", + "v1.LabelSelector": { + "id": "v1.LabelSelector", "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { "matchLabels": { @@ -1201,14 +1199,14 @@ "matchExpressions": { "type": "array", "items": { - "$ref": "unversioned.LabelSelectorRequirement" + "$ref": "v1.LabelSelectorRequirement" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." } } }, - "unversioned.LabelSelectorRequirement": { - "id": "unversioned.LabelSelectorRequirement", + "v1.LabelSelectorRequirement": { + "id": "v1.LabelSelectorRequirement", "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "required": [ "key", @@ -1274,8 +1272,8 @@ } } }, - "unversioned.Status": { - "id": "unversioned.Status", + "v1.Status": { + "id": "v1.Status", "description": "Status is a return value for calls that don't return other objects.", "properties": { "kind": { @@ -1287,7 +1285,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "status": { @@ -1303,7 +1301,7 @@ "description": "A 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." }, "details": { - "$ref": "unversioned.StatusDetails", + "$ref": "v1.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." }, "code": { @@ -1313,8 +1311,8 @@ } } }, - "unversioned.StatusDetails": { - "id": "unversioned.StatusDetails", + "v1.StatusDetails": { + "id": "v1.StatusDetails", "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "name": { @@ -1332,7 +1330,7 @@ "causes": { "type": "array", "items": { - "$ref": "unversioned.StatusCause" + "$ref": "v1.StatusCause" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, @@ -1343,8 +1341,8 @@ } } }, - "unversioned.StatusCause": { - "id": "unversioned.StatusCause", + "v1.StatusCause": { + "id": "v1.StatusCause", "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "reason": { @@ -1376,8 +1374,8 @@ } } }, - "unversioned.Patch": { - "id": "unversioned.Patch", + "v1.Patch": { + "id": "v1.Patch", "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "properties": {} }, @@ -1422,8 +1420,8 @@ "id": "types.UID", "properties": {} }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -1445,14 +1443,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/rbac.authorization.k8s.io.json b/api/swagger-spec/rbac.authorization.k8s.io.json index 8df6f779780..be3255dbaa7 100644 --- a/api/swagger-spec/rbac.authorization.k8s.io.json +++ b/api/swagger-spec/rbac.authorization.k8s.io.json @@ -13,7 +13,7 @@ "description": "get information of a group", "operations": [ { - "type": "unversioned.APIGroup", + "type": "v1.APIGroup", "method": "GET", "summary": "get information of a group", "nickname": "getAPIGroup", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -57,25 +57,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -92,8 +92,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/rbac.authorization.k8s.io_v1alpha1.json b/api/swagger-spec/rbac.authorization.k8s.io_v1alpha1.json index 6380ec43d83..37f53bc409d 100644 --- a/api/swagger-spec/rbac.authorization.k8s.io_v1alpha1.json +++ b/api/swagger-spec/rbac.authorization.k8s.io_v1alpha1.json @@ -125,7 +125,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of ClusterRoleBinding", "nickname": "deletecollectionClusterRoleBinding", @@ -183,7 +183,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -381,7 +381,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -416,7 +416,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a ClusterRoleBinding", "nickname": "deleteClusterRoleBinding", @@ -466,7 +466,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -684,7 +684,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of ClusterRole", "nickname": "deletecollectionClusterRole", @@ -742,7 +742,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -940,7 +940,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -975,7 +975,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a ClusterRole", "nickname": "deleteClusterRole", @@ -1025,7 +1025,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -1259,7 +1259,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of RoleBinding", "nickname": "deletecollectionNamespacedRoleBinding", @@ -1325,7 +1325,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -1547,7 +1547,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -1590,7 +1590,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a RoleBinding", "nickname": "deleteNamespacedRoleBinding", @@ -1648,7 +1648,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -2048,7 +2048,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Role", "nickname": "deletecollectionNamespacedRole", @@ -2114,7 +2114,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -2336,7 +2336,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -2379,7 +2379,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a Role", "nickname": "deleteNamespacedRole", @@ -2437,7 +2437,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -2709,7 +2709,7 @@ "description": "API at /apis/rbac.authorization.k8s.io/v1alpha1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -2745,7 +2745,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard object's metadata." }, "items": { @@ -2757,8 +2757,8 @@ } } }, - "unversioned.ListMeta": { - "id": "unversioned.ListMeta", + "v1.ListMeta": { + "id": "v1.ListMeta", "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "selfLink": { @@ -2839,12 +2839,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -2961,8 +2959,8 @@ } } }, - "unversioned.Status": { - "id": "unversioned.Status", + "v1.Status": { + "id": "v1.Status", "description": "Status is a return value for calls that don't return other objects.", "properties": { "kind": { @@ -2974,7 +2972,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "status": { @@ -2990,7 +2988,7 @@ "description": "A 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." }, "details": { - "$ref": "unversioned.StatusDetails", + "$ref": "v1.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." }, "code": { @@ -3000,8 +2998,8 @@ } } }, - "unversioned.StatusDetails": { - "id": "unversioned.StatusDetails", + "v1.StatusDetails": { + "id": "v1.StatusDetails", "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "name": { @@ -3019,7 +3017,7 @@ "causes": { "type": "array", "items": { - "$ref": "unversioned.StatusCause" + "$ref": "v1.StatusCause" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, @@ -3030,8 +3028,8 @@ } } }, - "unversioned.StatusCause": { - "id": "unversioned.StatusCause", + "v1.StatusCause": { + "id": "v1.StatusCause", "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "reason": { @@ -3063,8 +3061,8 @@ } } }, - "unversioned.Patch": { - "id": "unversioned.Patch", + "v1.Patch": { + "id": "v1.Patch", "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "properties": {} }, @@ -3125,7 +3123,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard object's metadata." }, "items": { @@ -3229,7 +3227,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard object's metadata." }, "items": { @@ -3290,7 +3288,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard object's metadata." }, "items": { @@ -3330,8 +3328,8 @@ } } }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -3353,14 +3351,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/storage.k8s.io.json b/api/swagger-spec/storage.k8s.io.json index 526db1aecd3..b94c2feabf0 100644 --- a/api/swagger-spec/storage.k8s.io.json +++ b/api/swagger-spec/storage.k8s.io.json @@ -13,7 +13,7 @@ "description": "get information of a group", "operations": [ { - "type": "unversioned.APIGroup", + "type": "v1.APIGroup", "method": "GET", "summary": "get information of a group", "nickname": "getAPIGroup", @@ -33,8 +33,8 @@ } ], "models": { - "unversioned.APIGroup": { - "id": "unversioned.APIGroup", + "v1.APIGroup": { + "id": "v1.APIGroup", "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", @@ -57,25 +57,25 @@ "versions": { "type": "array", "items": { - "$ref": "unversioned.GroupVersionForDiscovery" + "$ref": "v1.GroupVersionForDiscovery" }, "description": "versions are the versions supported in this group." }, "preferredVersion": { - "$ref": "unversioned.GroupVersionForDiscovery", + "$ref": "v1.GroupVersionForDiscovery", "description": "preferredVersion is the version preferred by the API server, which probably is the storage version." }, "serverAddressByClientCIDRs": { "type": "array", "items": { - "$ref": "unversioned.ServerAddressByClientCIDR" + "$ref": "v1.ServerAddressByClientCIDR" }, "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP." } } }, - "unversioned.GroupVersionForDiscovery": { - "id": "unversioned.GroupVersionForDiscovery", + "v1.GroupVersionForDiscovery": { + "id": "v1.GroupVersionForDiscovery", "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", "required": [ "groupVersion", @@ -92,8 +92,8 @@ } } }, - "unversioned.ServerAddressByClientCIDR": { - "id": "unversioned.ServerAddressByClientCIDR", + "v1.ServerAddressByClientCIDR": { + "id": "v1.ServerAddressByClientCIDR", "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", "required": [ "clientCIDR", diff --git a/api/swagger-spec/storage.k8s.io_v1beta1.json b/api/swagger-spec/storage.k8s.io_v1beta1.json index 35b339ebd7e..6b2befbfad2 100644 --- a/api/swagger-spec/storage.k8s.io_v1beta1.json +++ b/api/swagger-spec/storage.k8s.io_v1beta1.json @@ -125,7 +125,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of StorageClass", "nickname": "deletecollectionStorageClass", @@ -183,7 +183,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -397,7 +397,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -432,7 +432,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a StorageClass", "nickname": "deleteStorageClass", @@ -482,7 +482,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -588,7 +588,7 @@ "description": "API at /apis/storage.k8s.io/v1beta1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -624,7 +624,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "items": { @@ -636,8 +636,8 @@ } } }, - "unversioned.ListMeta": { - "id": "unversioned.ListMeta", + "v1.ListMeta": { + "id": "v1.ListMeta", "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "selfLink": { @@ -714,12 +714,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -787,8 +785,8 @@ } } }, - "unversioned.Status": { - "id": "unversioned.Status", + "v1.Status": { + "id": "v1.Status", "description": "Status is a return value for calls that don't return other objects.", "properties": { "kind": { @@ -800,7 +798,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "status": { @@ -816,7 +814,7 @@ "description": "A 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." }, "details": { - "$ref": "unversioned.StatusDetails", + "$ref": "v1.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." }, "code": { @@ -826,8 +824,8 @@ } } }, - "unversioned.StatusDetails": { - "id": "unversioned.StatusDetails", + "v1.StatusDetails": { + "id": "v1.StatusDetails", "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "name": { @@ -845,7 +843,7 @@ "causes": { "type": "array", "items": { - "$ref": "unversioned.StatusCause" + "$ref": "v1.StatusCause" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, @@ -856,8 +854,8 @@ } } }, - "unversioned.StatusCause": { - "id": "unversioned.StatusCause", + "v1.StatusCause": { + "id": "v1.StatusCause", "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "reason": { @@ -889,8 +887,8 @@ } } }, - "unversioned.Patch": { - "id": "unversioned.Patch", + "v1.Patch": { + "id": "v1.Patch", "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "properties": {} }, @@ -935,8 +933,8 @@ "id": "types.UID", "properties": {} }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -958,14 +956,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/api/swagger-spec/v1.json b/api/swagger-spec/v1.json index 0328c31704d..dfd66f4aaf1 100644 --- a/api/swagger-spec/v1.json +++ b/api/swagger-spec/v1.json @@ -318,7 +318,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of ConfigMap", "nickname": "deletecollectionNamespacedConfigMap", @@ -384,7 +384,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -622,7 +622,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -665,7 +665,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a ConfigMap", "nickname": "deleteNamespacedConfigMap", @@ -723,7 +723,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -1123,7 +1123,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Endpoints", "nickname": "deletecollectionNamespacedEndpoints", @@ -1189,7 +1189,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -1427,7 +1427,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -1470,7 +1470,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete Endpoints", "nickname": "deleteNamespacedEndpoints", @@ -1528,7 +1528,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -1928,7 +1928,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Event", "nickname": "deletecollectionNamespacedEvent", @@ -1994,7 +1994,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -2232,7 +2232,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -2275,7 +2275,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete an Event", "nickname": "deleteNamespacedEvent", @@ -2333,7 +2333,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -2733,7 +2733,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of LimitRange", "nickname": "deletecollectionNamespacedLimitRange", @@ -2799,7 +2799,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -3037,7 +3037,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -3080,7 +3080,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a LimitRange", "nickname": "deleteNamespacedLimitRange", @@ -3138,7 +3138,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -3522,7 +3522,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Namespace", "nickname": "deletecollectionNamespace", @@ -3580,7 +3580,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -3794,7 +3794,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -3829,7 +3829,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a Namespace", "nickname": "deleteNamespace", @@ -3879,7 +3879,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -4138,7 +4138,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -4291,7 +4291,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Node", "nickname": "deletecollectionNode", @@ -4349,7 +4349,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -4563,7 +4563,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -4598,7 +4598,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a Node", "nickname": "deleteNode", @@ -4648,7 +4648,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -5598,7 +5598,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -5767,7 +5767,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of PersistentVolumeClaim", "nickname": "deletecollectionNamespacedPersistentVolumeClaim", @@ -5833,7 +5833,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -6071,7 +6071,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -6114,7 +6114,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a PersistentVolumeClaim", "nickname": "deleteNamespacedPersistentVolumeClaim", @@ -6172,7 +6172,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -6560,7 +6560,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -6721,7 +6721,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of PersistentVolume", "nickname": "deletecollectionPersistentVolume", @@ -6779,7 +6779,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -6993,7 +6993,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -7028,7 +7028,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a PersistentVolume", "nickname": "deletePersistentVolume", @@ -7078,7 +7078,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -7284,7 +7284,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -7453,7 +7453,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Pod", "nickname": "deletecollectionNamespacedPod", @@ -7519,7 +7519,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -7757,7 +7757,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -7800,7 +7800,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a Pod", "nickname": "deleteNamespacedPod", @@ -7858,7 +7858,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -9025,14 +9025,6 @@ "required": false, "allowMultiple": false }, - { - "type": "string", - "paramType": "query", - "name": "sinceTime", - "description": "An RFC3339 timestamp from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.", - "required": false, - "allowMultiple": false - }, { "type": "boolean", "paramType": "query", @@ -9796,7 +9788,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -9973,7 +9965,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of PodTemplate", "nickname": "deletecollectionNamespacedPodTemplate", @@ -10039,7 +10031,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -10277,7 +10269,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -10320,7 +10312,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a PodTemplate", "nickname": "deleteNamespacedPodTemplate", @@ -10378,7 +10370,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -10778,7 +10770,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of ReplicationController", "nickname": "deletecollectionNamespacedReplicationController", @@ -10844,7 +10836,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -11082,7 +11074,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -11125,7 +11117,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a ReplicationController", "nickname": "deleteNamespacedReplicationController", @@ -11183,7 +11175,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -11571,7 +11563,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -11736,7 +11728,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -11913,7 +11905,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of ResourceQuota", "nickname": "deletecollectionNamespacedResourceQuota", @@ -11979,7 +11971,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -12217,7 +12209,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -12260,7 +12252,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a ResourceQuota", "nickname": "deleteNamespacedResourceQuota", @@ -12318,7 +12310,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -12706,7 +12698,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -12883,7 +12875,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of Secret", "nickname": "deletecollectionNamespacedSecret", @@ -12949,7 +12941,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -13187,7 +13179,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -13230,7 +13222,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a Secret", "nickname": "deleteNamespacedSecret", @@ -13288,7 +13280,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -13688,7 +13680,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete collection of ServiceAccount", "nickname": "deletecollectionNamespacedServiceAccount", @@ -13754,7 +13746,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -13992,7 +13984,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -14035,7 +14027,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a ServiceAccount", "nickname": "deleteNamespacedServiceAccount", @@ -14093,7 +14085,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -14718,7 +14710,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -14761,7 +14753,7 @@ ] }, { - "type": "unversioned.Status", + "type": "v1.Status", "method": "DELETE", "summary": "delete a Service", "nickname": "deleteNamespacedService", @@ -14795,7 +14787,7 @@ { "code": 200, "message": "OK", - "responseModel": "unversioned.Status" + "responseModel": "v1.Status" } ], "produces": [ @@ -16119,7 +16111,7 @@ "allowMultiple": false }, { - "type": "unversioned.Patch", + "type": "v1.Patch", "paramType": "body", "name": "body", "description": "", @@ -16168,7 +16160,7 @@ "description": "API at /api/v1", "operations": [ { - "type": "unversioned.APIResourceList", + "type": "v1.APIResourceList", "method": "GET", "summary": "get available resources", "nickname": "getAPIResources", @@ -16248,12 +16240,10 @@ }, "creationTimestamp": { "type": "string", - "format": "date-time", "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionTimestamp": { "type": "string", - "format": "date-time", "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "deletionGracePeriodSeconds": { @@ -16371,7 +16361,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -16383,8 +16373,8 @@ } } }, - "unversioned.ListMeta": { - "id": "unversioned.ListMeta", + "v1.ListMeta": { + "id": "v1.ListMeta", "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "selfLink": { @@ -16464,7 +16454,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata" }, "items": { @@ -16498,8 +16488,8 @@ } } }, - "unversioned.Status": { - "id": "unversioned.Status", + "v1.Status": { + "id": "v1.Status", "description": "Status is a return value for calls that don't return other objects.", "properties": { "kind": { @@ -16511,7 +16501,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "status": { @@ -16527,7 +16517,7 @@ "description": "A 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." }, "details": { - "$ref": "unversioned.StatusDetails", + "$ref": "v1.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." }, "code": { @@ -16537,8 +16527,8 @@ } } }, - "unversioned.StatusDetails": { - "id": "unversioned.StatusDetails", + "v1.StatusDetails": { + "id": "v1.StatusDetails", "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.", "properties": { "name": { @@ -16556,7 +16546,7 @@ "causes": { "type": "array", "items": { - "$ref": "unversioned.StatusCause" + "$ref": "v1.StatusCause" }, "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes." }, @@ -16567,8 +16557,8 @@ } } }, - "unversioned.StatusCause": { - "id": "unversioned.StatusCause", + "v1.StatusCause": { + "id": "v1.StatusCause", "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.", "properties": { "reason": { @@ -16600,8 +16590,8 @@ } } }, - "unversioned.Patch": { - "id": "unversioned.Patch", + "v1.Patch": { + "id": "v1.Patch", "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "properties": {} }, @@ -16662,7 +16652,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -16792,7 +16782,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -16842,12 +16832,10 @@ }, "firstTimestamp": { "type": "string", - "format": "date-time", "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)" }, "lastTimestamp": { "type": "string", - "format": "date-time", "description": "The time at which the most recent occurrence of this event was recorded." }, "count": { @@ -16891,7 +16879,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -16987,7 +16975,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -17068,7 +17056,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -17207,12 +17195,10 @@ }, "lastHeartbeatTime": { "type": "string", - "format": "date-time", "description": "Last time we got an update on a given condition." }, "lastTransitionTime": { "type": "string", - "format": "date-time", "description": "Last time the condition transit from one status to another." }, "reason": { @@ -17384,7 +17370,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -17434,7 +17420,7 @@ "description": "AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1" }, "selector": { - "$ref": "unversioned.LabelSelector", + "$ref": "v1.LabelSelector", "description": "A label query over volumes to consider for binding." }, "resources": { @@ -17451,8 +17437,8 @@ "id": "v1.PersistentVolumeAccessMode", "properties": {} }, - "unversioned.LabelSelector": { - "id": "unversioned.LabelSelector", + "v1.LabelSelector": { + "id": "v1.LabelSelector", "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.", "properties": { "matchLabels": { @@ -17462,14 +17448,14 @@ "matchExpressions": { "type": "array", "items": { - "$ref": "unversioned.LabelSelectorRequirement" + "$ref": "v1.LabelSelectorRequirement" }, "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed." } } }, - "unversioned.LabelSelectorRequirement": { - "id": "unversioned.LabelSelectorRequirement", + "v1.LabelSelectorRequirement": { + "id": "v1.LabelSelectorRequirement", "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "required": [ "key", @@ -17544,7 +17530,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -18159,7 +18145,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -19109,7 +19095,6 @@ }, "startTime": { "type": "string", - "format": "date-time", "description": "RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod." }, "containerStatuses": { @@ -19139,12 +19124,10 @@ }, "lastProbeTime": { "type": "string", - "format": "date-time", "description": "Last time we probed the condition." }, "lastTransitionTime": { "type": "string", - "format": "date-time", "description": "Last time the condition transitioned from one status to another." }, "reason": { @@ -19241,7 +19224,6 @@ "properties": { "startedAt": { "type": "string", - "format": "date-time", "description": "Time at which the container was last (re-)started" } } @@ -19273,12 +19255,10 @@ }, "startedAt": { "type": "string", - "format": "date-time", "description": "Time at which previous execution of the container started" }, "finishedAt": { "type": "string", - "format": "date-time", "description": "Time at which the container last terminated" }, "containerID": { @@ -19325,7 +19305,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -19389,7 +19369,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -19510,7 +19490,6 @@ }, "lastTransitionTime": { "type": "string", - "format": "date-time", "description": "The last time the condition transitioned from one status to another." }, "reason": { @@ -19594,7 +19573,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -19683,7 +19662,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -19741,7 +19720,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -19801,7 +19780,7 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources" }, "metadata": { - "$ref": "unversioned.ListMeta", + "$ref": "v1.ListMeta", "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" }, "items": { @@ -19968,8 +19947,8 @@ } } }, - "unversioned.APIResourceList": { - "id": "unversioned.APIResourceList", + "v1.APIResourceList": { + "id": "v1.APIResourceList", "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ "groupVersion", @@ -19991,14 +19970,14 @@ "resources": { "type": "array", "items": { - "$ref": "unversioned.APIResource" + "$ref": "v1.APIResource" }, "description": "resources contains the name of the resources and if they are namespaced." } } }, - "unversioned.APIResource": { - "id": "unversioned.APIResource", + "v1.APIResource": { + "id": "v1.APIResource", "description": "APIResource specifies the name of a resource and whether it is namespaced.", "required": [ "name", diff --git a/cmd/kube-controller-manager/app/options/BUILD b/cmd/kube-controller-manager/app/options/BUILD index e26cb5664f4..769db121132 100644 --- a/cmd/kube-controller-manager/app/options/BUILD +++ b/cmd/kube-controller-manager/app/options/BUILD @@ -15,8 +15,8 @@ go_library( srcs = ["options.go"], tags = ["automanaged"], deps = [ - "//pkg/api/unversioned:go_default_library", "//pkg/apis/componentconfig:go_default_library", + "//pkg/apis/meta/v1:go_default_library", "//pkg/client/leaderelection:go_default_library", "//pkg/master/ports:go_default_library", "//pkg/util/config:go_default_library", diff --git a/cmd/kube-controller-manager/app/options/options.go b/cmd/kube-controller-manager/app/options/options.go index 477e7364eb1..3609c3abd31 100644 --- a/cmd/kube-controller-manager/app/options/options.go +++ b/cmd/kube-controller-manager/app/options/options.go @@ -21,8 +21,8 @@ package options import ( "time" - "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/apis/componentconfig" + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" "k8s.io/kubernetes/pkg/client/leaderelection" "k8s.io/kubernetes/pkg/master/ports" "k8s.io/kubernetes/pkg/util/config" @@ -57,19 +57,19 @@ func NewCMServer() *CMServer { LookupCacheSizeForRC: 4096, LookupCacheSizeForRS: 4096, LookupCacheSizeForDaemonSet: 1024, - ServiceSyncPeriod: unversioned.Duration{Duration: 5 * time.Minute}, - RouteReconciliationPeriod: unversioned.Duration{Duration: 10 * time.Second}, - ResourceQuotaSyncPeriod: unversioned.Duration{Duration: 5 * time.Minute}, - NamespaceSyncPeriod: unversioned.Duration{Duration: 5 * time.Minute}, - PVClaimBinderSyncPeriod: unversioned.Duration{Duration: 15 * time.Second}, - HorizontalPodAutoscalerSyncPeriod: unversioned.Duration{Duration: 30 * time.Second}, - DeploymentControllerSyncPeriod: unversioned.Duration{Duration: 30 * time.Second}, - MinResyncPeriod: unversioned.Duration{Duration: 12 * time.Hour}, + ServiceSyncPeriod: metav1.Duration{Duration: 5 * time.Minute}, + RouteReconciliationPeriod: metav1.Duration{Duration: 10 * time.Second}, + ResourceQuotaSyncPeriod: metav1.Duration{Duration: 5 * time.Minute}, + NamespaceSyncPeriod: metav1.Duration{Duration: 5 * time.Minute}, + PVClaimBinderSyncPeriod: metav1.Duration{Duration: 15 * time.Second}, + HorizontalPodAutoscalerSyncPeriod: metav1.Duration{Duration: 30 * time.Second}, + DeploymentControllerSyncPeriod: metav1.Duration{Duration: 30 * time.Second}, + MinResyncPeriod: metav1.Duration{Duration: 12 * time.Hour}, RegisterRetryCount: 10, - PodEvictionTimeout: unversioned.Duration{Duration: 5 * time.Minute}, - NodeMonitorGracePeriod: unversioned.Duration{Duration: 40 * time.Second}, - NodeStartupGracePeriod: unversioned.Duration{Duration: 60 * time.Second}, - NodeMonitorPeriod: unversioned.Duration{Duration: 5 * time.Second}, + PodEvictionTimeout: metav1.Duration{Duration: 5 * time.Minute}, + NodeMonitorGracePeriod: metav1.Duration{Duration: 40 * time.Second}, + NodeStartupGracePeriod: metav1.Duration{Duration: 60 * time.Second}, + NodeMonitorPeriod: metav1.Duration{Duration: 5 * time.Second}, ClusterName: "kubernetes", NodeCIDRMaskSize: 24, ConfigureCloudRoutes: true, @@ -90,7 +90,7 @@ func NewCMServer() *CMServer { KubeAPIQPS: 20.0, KubeAPIBurst: 30, LeaderElection: leaderelection.DefaultLeaderElectionConfiguration(), - ControllerStartInterval: unversioned.Duration{Duration: 0 * time.Second}, + ControllerStartInterval: metav1.Duration{Duration: 0 * time.Second}, EnableGarbageCollector: true, ConcurrentGCSyncs: 20, ClusterSigningCertFile: "/etc/kubernetes/ca/ca.pem", diff --git a/cmd/kubeadm/app/apis/kubeadm/BUILD b/cmd/kubeadm/app/apis/kubeadm/BUILD index 3eb1c182d66..bc0621efccb 100644 --- a/cmd/kubeadm/app/apis/kubeadm/BUILD +++ b/cmd/kubeadm/app/apis/kubeadm/BUILD @@ -21,7 +21,7 @@ go_library( tags = ["automanaged"], deps = [ "//pkg/api:go_default_library", - "//pkg/api/unversioned:go_default_library", + "//pkg/apis/meta/v1:go_default_library", "//pkg/runtime:go_default_library", "//pkg/runtime/schema:go_default_library", ], diff --git a/cmd/kubeadm/app/apis/kubeadm/register.go b/cmd/kubeadm/app/apis/kubeadm/register.go index 0dddf1cd6a8..453c79fc15d 100644 --- a/cmd/kubeadm/app/apis/kubeadm/register.go +++ b/cmd/kubeadm/app/apis/kubeadm/register.go @@ -18,7 +18,7 @@ package kubeadm import ( "k8s.io/kubernetes/pkg/api" - "k8s.io/kubernetes/pkg/api/unversioned" + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/runtime/schema" ) @@ -51,7 +51,7 @@ func addKnownTypes(scheme *runtime.Scheme) error { &ClusterInfo{}, &api.ListOptions{}, &api.DeleteOptions{}, - &unversioned.ExportOptions{}, + &metav1.ExportOptions{}, ) return nil } diff --git a/cmd/kubeadm/app/apis/kubeadm/types.go b/cmd/kubeadm/app/apis/kubeadm/types.go index 7d6ac94755b..eeef3a4e625 100644 --- a/cmd/kubeadm/app/apis/kubeadm/types.go +++ b/cmd/kubeadm/app/apis/kubeadm/types.go @@ -16,7 +16,9 @@ limitations under the License. package kubeadm -import "k8s.io/kubernetes/pkg/api/unversioned" +import ( + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" +) type EnvParams struct { KubernetesDir string @@ -30,7 +32,7 @@ type EnvParams struct { } type MasterConfiguration struct { - unversioned.TypeMeta + metav1.TypeMeta Secrets Secrets API API @@ -72,7 +74,7 @@ type Secrets struct { } type NodeConfiguration struct { - unversioned.TypeMeta + metav1.TypeMeta MasterAddresses []string Secrets Secrets @@ -82,7 +84,7 @@ type NodeConfiguration struct { // ClusterInfo TODO add description type ClusterInfo struct { - unversioned.TypeMeta + metav1.TypeMeta // TODO(phase1+) this may become simply `api.Config` CertificateAuthorities []string `json:"certificateAuthorities"` Endpoints []string `json:"endpoints"` diff --git a/cmd/kubeadm/app/apis/kubeadm/v1alpha1/BUILD b/cmd/kubeadm/app/apis/kubeadm/v1alpha1/BUILD index 84e2f414613..dcd828f053d 100644 --- a/cmd/kubeadm/app/apis/kubeadm/v1alpha1/BUILD +++ b/cmd/kubeadm/app/apis/kubeadm/v1alpha1/BUILD @@ -21,8 +21,8 @@ go_library( ], tags = ["automanaged"], deps = [ - "//pkg/api/unversioned:go_default_library", "//pkg/api/v1:go_default_library", + "//pkg/apis/meta/v1:go_default_library", "//pkg/runtime:go_default_library", "//pkg/runtime/schema:go_default_library", ], diff --git a/cmd/kubeadm/app/apis/kubeadm/v1alpha1/register.go b/cmd/kubeadm/app/apis/kubeadm/v1alpha1/register.go index d566621d906..a6f49f66551 100644 --- a/cmd/kubeadm/app/apis/kubeadm/v1alpha1/register.go +++ b/cmd/kubeadm/app/apis/kubeadm/v1alpha1/register.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/api/v1" + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/runtime/schema" ) @@ -51,7 +51,7 @@ func addKnownTypes(scheme *runtime.Scheme) error { &ClusterInfo{}, &v1.ListOptions{}, &v1.DeleteOptions{}, - &unversioned.ExportOptions{}, + &metav1.ExportOptions{}, ) return nil } diff --git a/cmd/kubeadm/app/apis/kubeadm/v1alpha1/types.go b/cmd/kubeadm/app/apis/kubeadm/v1alpha1/types.go index 59c53e4b458..08e1627f65b 100644 --- a/cmd/kubeadm/app/apis/kubeadm/v1alpha1/types.go +++ b/cmd/kubeadm/app/apis/kubeadm/v1alpha1/types.go @@ -16,10 +16,12 @@ limitations under the License. package v1alpha1 -import "k8s.io/kubernetes/pkg/api/unversioned" +import ( + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" +) type MasterConfiguration struct { - unversioned.TypeMeta `json:",inline"` + metav1.TypeMeta `json:",inline"` Secrets Secrets `json:"secrets"` API API `json:"api"` @@ -61,7 +63,7 @@ type Secrets struct { } type NodeConfiguration struct { - unversioned.TypeMeta `json:",inline"` + metav1.TypeMeta `json:",inline"` MasterAddresses []string `json:"masterAddresses"` Secrets Secrets `json:"secrets"` @@ -71,7 +73,7 @@ type NodeConfiguration struct { // ClusterInfo TODO add description type ClusterInfo struct { - unversioned.TypeMeta `json:",inline"` + metav1.TypeMeta `json:",inline"` // TODO(phase1+) this may become simply `api.Config` CertificateAuthorities []string `json:"certificateAuthorities"` Endpoints []string `json:"endpoints"` diff --git a/cmd/kubeadm/app/master/BUILD b/cmd/kubeadm/app/master/BUILD index 3bad43d249b..d5b3bb6f7d5 100644 --- a/cmd/kubeadm/app/master/BUILD +++ b/cmd/kubeadm/app/master/BUILD @@ -30,9 +30,9 @@ go_library( "//pkg/api:go_default_library", "//pkg/api/errors:go_default_library", "//pkg/api/resource:go_default_library", - "//pkg/api/unversioned:go_default_library", "//pkg/api/v1:go_default_library", "//pkg/apis/extensions/v1beta1:go_default_library", + "//pkg/apis/meta/v1:go_default_library", "//pkg/client/clientset_generated/release_1_5:go_default_library", "//pkg/client/unversioned/clientcmd:go_default_library", "//pkg/client/unversioned/clientcmd/api:go_default_library", diff --git a/cmd/kubeadm/app/master/apiclient.go b/cmd/kubeadm/app/master/apiclient.go index 8966f33c1dd..f6b5fbf466e 100644 --- a/cmd/kubeadm/app/master/apiclient.go +++ b/cmd/kubeadm/app/master/apiclient.go @@ -25,9 +25,9 @@ import ( "k8s.io/kubernetes/cmd/kubeadm/app/images" "k8s.io/kubernetes/pkg/api" apierrs "k8s.io/kubernetes/pkg/api/errors" - unversionedapi "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/api/v1" extensions "k8s.io/kubernetes/pkg/apis/extensions/v1beta1" + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" clientset "k8s.io/kubernetes/pkg/client/clientset_generated/release_1_5" "k8s.io/kubernetes/pkg/client/unversioned/clientcmd" clientcmdapi "k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api" @@ -116,7 +116,7 @@ func NewDaemonSet(daemonName string, podSpec v1.PodSpec) *extensions.DaemonSet { return &extensions.DaemonSet{ ObjectMeta: v1.ObjectMeta{Name: daemonName}, Spec: extensions.DaemonSetSpec{ - Selector: &unversionedapi.LabelSelector{MatchLabels: l}, + Selector: &metav1.LabelSelector{MatchLabels: l}, Template: v1.PodTemplateSpec{ ObjectMeta: v1.ObjectMeta{Labels: l}, Spec: podSpec, @@ -142,7 +142,7 @@ func NewDeployment(deploymentName string, replicas int32, podSpec v1.PodSpec) *e ObjectMeta: v1.ObjectMeta{Name: deploymentName}, Spec: extensions.DeploymentSpec{ Replicas: &replicas, - Selector: &unversionedapi.LabelSelector{MatchLabels: l}, + Selector: &metav1.LabelSelector{MatchLabels: l}, Template: v1.PodTemplateSpec{ ObjectMeta: v1.ObjectMeta{Labels: l}, Spec: podSpec, @@ -171,7 +171,7 @@ func attemptToUpdateMasterRoleLabelsAndTaints(client *clientset.Clientset, sched return err } - n.ObjectMeta.Labels[unversionedapi.NodeLabelKubeadmAlphaRole] = unversionedapi.NodeLabelRoleMaster + n.ObjectMeta.Labels[metav1.NodeLabelKubeadmAlphaRole] = metav1.NodeLabelRoleMaster if !schedulable { taintsAnnotation, _ := json.Marshal([]v1.Taint{{Key: "dedicated", Value: "master", Effect: "NoSchedule"}}) @@ -225,9 +225,9 @@ func SetNodeAffinity(meta *v1.ObjectMeta, expr ...v1.NodeSelectorRequirement) { // MasterNodeAffinity returns v1.NodeSelectorRequirement to be used with SetNodeAffinity to set affinity to master node func MasterNodeAffinity() v1.NodeSelectorRequirement { return v1.NodeSelectorRequirement{ - Key: unversionedapi.NodeLabelKubeadmAlphaRole, + Key: metav1.NodeLabelKubeadmAlphaRole, Operator: v1.NodeSelectorOpIn, - Values: []string{unversionedapi.NodeLabelRoleMaster}, + Values: []string{metav1.NodeLabelRoleMaster}, } } diff --git a/cmd/kubeadm/app/master/manifests.go b/cmd/kubeadm/app/master/manifests.go index 62aafd77088..71f96f4c176 100644 --- a/cmd/kubeadm/app/master/manifests.go +++ b/cmd/kubeadm/app/master/manifests.go @@ -27,8 +27,8 @@ import ( kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" "k8s.io/kubernetes/cmd/kubeadm/app/images" "k8s.io/kubernetes/pkg/api/resource" - "k8s.io/kubernetes/pkg/api/unversioned" api "k8s.io/kubernetes/pkg/api/v1" + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" cmdutil "k8s.io/kubernetes/pkg/kubectl/cmd/util" "k8s.io/kubernetes/pkg/util/intstr" ) @@ -201,7 +201,7 @@ func componentProbe(port int, path string) *api.Probe { func componentPod(container api.Container, volumes ...api.Volume) api.Pod { return api.Pod{ - TypeMeta: unversioned.TypeMeta{ + TypeMeta: metav1.TypeMeta{ APIVersion: "v1", Kind: "Pod", }, diff --git a/cmd/kubeadm/app/node/BUILD b/cmd/kubeadm/app/node/BUILD index 3b8d4cf0698..86970ec037b 100644 --- a/cmd/kubeadm/app/node/BUILD +++ b/cmd/kubeadm/app/node/BUILD @@ -45,7 +45,7 @@ go_test( tags = ["automanaged"], deps = [ "//cmd/kubeadm/app/apis/kubeadm:go_default_library", - "//pkg/api/unversioned:go_default_library", + "//pkg/apis/meta/v1:go_default_library", "//pkg/client/clientset_generated/release_1_5:go_default_library", "//pkg/client/clientset_generated/release_1_5/typed/certificates/v1alpha1:go_default_library", "//pkg/client/restclient:go_default_library", diff --git a/cmd/kubeadm/app/node/bootstrap_test.go b/cmd/kubeadm/app/node/bootstrap_test.go index b410b3a8125..0e943bb037d 100644 --- a/cmd/kubeadm/app/node/bootstrap_test.go +++ b/cmd/kubeadm/app/node/bootstrap_test.go @@ -23,7 +23,7 @@ import ( "testing" kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm" - "k8s.io/kubernetes/pkg/api/unversioned" + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" clientset "k8s.io/kubernetes/pkg/client/clientset_generated/release_1_5" "k8s.io/kubernetes/pkg/client/restclient" "k8s.io/kubernetes/pkg/client/typed/discovery" @@ -40,7 +40,7 @@ func TestEstablishMasterConnection(t *testing.T) { var obj interface{} switch req.URL.Path { case "/api": - obj = &unversioned.APIVersions{ + obj = &metav1.APIVersions{ Versions: []string{ "v1.4", }, @@ -54,11 +54,11 @@ func TestEstablishMasterConnection(t *testing.T) { w.WriteHeader(http.StatusOK) w.Write(output) case "/apis": - obj = &unversioned.APIGroupList{ - Groups: []unversioned.APIGroup{ + obj = &metav1.APIGroupList{ + Groups: []metav1.APIGroup{ { Name: "certificates.k8s.io", - Versions: []unversioned.GroupVersionForDiscovery{ + Versions: []metav1.GroupVersionForDiscovery{ {GroupVersion: "extensions/v1beta1"}, }, }, @@ -165,7 +165,7 @@ func TestCheckAPIEndpoint(t *testing.T) { var obj interface{} switch req.URL.Path { case "/api": - obj = &unversioned.APIVersions{ + obj = &metav1.APIVersions{ Versions: []string{ "v1.4", }, @@ -196,7 +196,7 @@ func TestCheckAPIEndpoint(t *testing.T) { var obj interface{} switch req.URL.Path { case "/api": - obj = &unversioned.APIVersions{ + obj = &metav1.APIVersions{ Versions: []string{ "v1.4", }, @@ -210,11 +210,11 @@ func TestCheckAPIEndpoint(t *testing.T) { w.WriteHeader(http.StatusOK) w.Write(output) case "/apis": - obj = &unversioned.APIGroupList{ - Groups: []unversioned.APIGroup{ + obj = &metav1.APIGroupList{ + Groups: []metav1.APIGroup{ { Name: "certificates.k8s.io", - Versions: []unversioned.GroupVersionForDiscovery{ + Versions: []metav1.GroupVersionForDiscovery{ {GroupVersion: "extensions/v1beta1"}, }, }, diff --git a/cmd/kubernetes-discovery/discoverysummarizer/BUILD b/cmd/kubernetes-discovery/discoverysummarizer/BUILD index ec6f5a91c5a..26855b0f28d 100644 --- a/cmd/kubernetes-discovery/discoverysummarizer/BUILD +++ b/cmd/kubernetes-discovery/discoverysummarizer/BUILD @@ -19,6 +19,6 @@ go_library( tags = ["automanaged"], deps = [ "//cmd/kubernetes-discovery/discoverysummarizer/apis/config/v1alpha1:go_default_library", - "//pkg/api/unversioned:go_default_library", + "//pkg/apis/meta/v1:go_default_library", ], ) diff --git a/cmd/kubernetes-discovery/discoverysummarizer/apis/config/v1alpha1/types.go b/cmd/kubernetes-discovery/discoverysummarizer/apis/config/v1alpha1/types.go index 5451369d6f7..3313e18fe9e 100644 --- a/cmd/kubernetes-discovery/discoverysummarizer/apis/config/v1alpha1/types.go +++ b/cmd/kubernetes-discovery/discoverysummarizer/apis/config/v1alpha1/types.go @@ -38,6 +38,6 @@ type GroupVersionDiscoveryPath struct { Path string `json:"path"` // True if the path is for legacy group version. - // (i.e the path returns unversioned.APIVersions instead of unversioned.APIGroupList) + // (i.e the path returns metav1.APIVersions instead of metav1.APIGroupList) IsLegacy bool `json:"isLegacy"` } diff --git a/cmd/kubernetes-discovery/discoverysummarizer/discoverysummarizer.go b/cmd/kubernetes-discovery/discoverysummarizer/discoverysummarizer.go index 2fe19f62ab8..a6fe19eadd1 100644 --- a/cmd/kubernetes-discovery/discoverysummarizer/discoverysummarizer.go +++ b/cmd/kubernetes-discovery/discoverysummarizer/discoverysummarizer.go @@ -23,7 +23,7 @@ import ( "net/http" config "k8s.io/kubernetes/cmd/kubernetes-discovery/discoverysummarizer/apis/config/v1alpha1" - "k8s.io/kubernetes/pkg/api/unversioned" + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" ) type DiscoverySummarizer interface { @@ -101,13 +101,13 @@ func (ds *discoverySummarizerServer) indexHandler(w http.ResponseWriter, r *http // Handler for group versions summarizer. func (ds *discoverySummarizerServer) summarizeGroupVersionsHandler(path string) func(http.ResponseWriter, *http.Request) { return func(w http.ResponseWriter, r *http.Request) { - var apiGroupList *unversioned.APIGroupList + var apiGroupList *metav1.APIGroupList // TODO: We can cache calls to all servers. - groups := make(chan *unversioned.APIGroupList) + groups := make(chan *metav1.APIGroupList) errorChannel := make(chan error) for _, serverAddress := range ds.groupVersionPaths[path] { addr := serverAddress - go func(groups chan *unversioned.APIGroupList, error_channel chan error) { + go func(groups chan *metav1.APIGroupList, error_channel chan error) { groupList, err := ds.getAPIGroupList(addr + path) if err != nil { errorChannel <- err @@ -118,13 +118,13 @@ func (ds *discoverySummarizerServer) summarizeGroupVersionsHandler(path string) }(groups, errorChannel) } - var groupList *unversioned.APIGroupList + var groupList *metav1.APIGroupList var err error for range ds.groupVersionPaths[path] { select { case groupList = <-groups: if apiGroupList == nil { - apiGroupList = &unversioned.APIGroupList{} + apiGroupList = &metav1.APIGroupList{} *apiGroupList = *groupList } else { apiGroupList.Groups = append(apiGroupList.Groups, groupList.Groups...) @@ -158,7 +158,7 @@ func (ds *discoverySummarizerServer) summarizeLegacyVersionsHandler(path string) } } -func (ds *discoverySummarizerServer) getAPIGroupList(serverAddress string) (*unversioned.APIGroupList, error) { +func (ds *discoverySummarizerServer) getAPIGroupList(serverAddress string) (*metav1.APIGroupList, error) { response, err := http.Get(serverAddress) if err != nil { return nil, fmt.Errorf("Error in fetching %s: %v", serverAddress, err) @@ -168,7 +168,7 @@ func (ds *discoverySummarizerServer) getAPIGroupList(serverAddress string) (*unv if err != nil { return nil, fmt.Errorf("Error reading response from %s: %v", serverAddress, err) } - var apiGroupList unversioned.APIGroupList + var apiGroupList metav1.APIGroupList err = json.Unmarshal(contents, &apiGroupList) if err != nil { return nil, fmt.Errorf("Error in unmarshalling response from server %s: %v", serverAddress, err) @@ -176,7 +176,7 @@ func (ds *discoverySummarizerServer) getAPIGroupList(serverAddress string) (*unv return &apiGroupList, nil } -func (ds *discoverySummarizerServer) getAPIVersions(serverAddress string) (*unversioned.APIVersions, error) { +func (ds *discoverySummarizerServer) getAPIVersions(serverAddress string) (*metav1.APIVersions, error) { response, err := http.Get(serverAddress) if err != nil { return nil, fmt.Errorf("Error in fetching %s: %v", serverAddress, err) @@ -186,7 +186,7 @@ func (ds *discoverySummarizerServer) getAPIVersions(serverAddress string) (*unve if err != nil { return nil, fmt.Errorf("Error reading response from %s: %v", serverAddress, err) } - var apiVersions unversioned.APIVersions + var apiVersions metav1.APIVersions err = json.Unmarshal(contents, &apiVersions) if err != nil { return nil, fmt.Errorf("Error in unmarshalling response from server %s: %v", serverAddress, err) diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup/BUILD b/cmd/libs/go2idl/client-gen/test_apis/testgroup/BUILD index 1d1d0e66d23..4c77fde7f1c 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup/BUILD +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup/BUILD @@ -21,7 +21,7 @@ go_library( tags = ["automanaged"], deps = [ "//pkg/api:go_default_library", - "//pkg/api/unversioned:go_default_library", + "//pkg/apis/meta/v1:go_default_library", "//pkg/runtime:go_default_library", "//pkg/runtime/schema:go_default_library", "//pkg/types:go_default_library", diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup/types.generated.go b/cmd/libs/go2idl/client-gen/test_apis/testgroup/types.generated.go index 5ed91f8e080..a282dc5704f 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup/types.generated.go +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup/types.generated.go @@ -26,7 +26,7 @@ import ( "fmt" codec1978 "github.com/ugorji/go/codec" pkg2_api "k8s.io/kubernetes/pkg/api" - pkg1_unversioned "k8s.io/kubernetes/pkg/api/unversioned" + pkg1_v1 "k8s.io/kubernetes/pkg/apis/meta/v1" pkg3_types "k8s.io/kubernetes/pkg/types" "reflect" "runtime" @@ -64,7 +64,7 @@ func init() { } if false { // reference the types, but skip this branch at build/run time var v0 pkg2_api.ObjectMeta - var v1 pkg1_unversioned.TypeMeta + var v1 pkg1_v1.TypeMeta var v2 pkg3_types.UID var v3 time.Time _, _, _, _ = v0, v1, v2, v3 @@ -586,7 +586,7 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } case "metadata": if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} + x.ListMeta = pkg1_v1.ListMeta{} } else { yyv48 := &x.ListMeta yym49 := z.DecBinary() @@ -667,7 +667,7 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} + x.ListMeta = pkg1_v1.ListMeta{} } else { yyv55 := &x.ListMeta yym56 := z.DecBinary() diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup/types.go b/cmd/libs/go2idl/client-gen/test_apis/testgroup/types.go index 899361d9a33..9b1fe41b7c6 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup/types.go +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup/types.go @@ -18,20 +18,20 @@ package testgroup import ( "k8s.io/kubernetes/pkg/api" - "k8s.io/kubernetes/pkg/api/unversioned" + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" ) // +genclient=true type TestType struct { - unversioned.TypeMeta `json:",inline"` - api.ObjectMeta `json:"metadata,omitempty"` - Status TestTypeStatus `json:"status,omitempty"` + metav1.TypeMeta `json:",inline"` + api.ObjectMeta `json:"metadata,omitempty"` + Status TestTypeStatus `json:"status,omitempty"` } type TestTypeList struct { - unversioned.TypeMeta `json:",inline"` - unversioned.ListMeta `json:"metadata,omitempty"` + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` Items []TestType `json:"items"` } diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/BUILD b/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/BUILD index d629e09d0ea..57f1431470d 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/BUILD +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/BUILD @@ -21,8 +21,8 @@ go_library( tags = ["automanaged"], deps = [ "//pkg/api:go_default_library", - "//pkg/api/unversioned:go_default_library", "//pkg/api/v1:go_default_library", + "//pkg/apis/meta/v1:go_default_library", "//pkg/runtime:go_default_library", "//pkg/runtime/schema:go_default_library", "//pkg/types:go_default_library", diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/register.go b/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/register.go index 3945d71759c..68772a91db4 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/register.go +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/register.go @@ -17,8 +17,8 @@ limitations under the License. package v1 import ( - "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/api/v1" + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" "k8s.io/kubernetes/pkg/runtime" "k8s.io/kubernetes/pkg/runtime/schema" versionedwatch "k8s.io/kubernetes/pkg/watch/versioned" @@ -41,8 +41,8 @@ func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &v1.ListOptions{}, &v1.DeleteOptions{}, - &unversioned.Status{}, - &unversioned.ExportOptions{}, + &metav1.Status{}, + &metav1.ExportOptions{}, ) versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion) return nil diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/types.generated.go b/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/types.generated.go index f22bcb3d754..4a41e0ff0fc 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/types.generated.go +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/types.generated.go @@ -26,7 +26,7 @@ import ( "fmt" codec1978 "github.com/ugorji/go/codec" pkg2_api "k8s.io/kubernetes/pkg/api" - pkg1_unversioned "k8s.io/kubernetes/pkg/api/unversioned" + pkg1_v1 "k8s.io/kubernetes/pkg/apis/meta/v1" pkg3_types "k8s.io/kubernetes/pkg/types" "reflect" "runtime" @@ -64,7 +64,7 @@ func init() { } if false { // reference the types, but skip this branch at build/run time var v0 pkg2_api.ObjectMeta - var v1 pkg1_unversioned.TypeMeta + var v1 pkg1_v1.TypeMeta var v2 pkg3_types.UID var v3 time.Time _, _, _, _ = v0, v1, v2, v3 @@ -586,7 +586,7 @@ func (x *TestTypeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } case "metadata": if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} + x.ListMeta = pkg1_v1.ListMeta{} } else { yyv48 := &x.ListMeta yym49 := z.DecBinary() @@ -667,7 +667,7 @@ func (x *TestTypeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ListMeta = pkg1_unversioned.ListMeta{} + x.ListMeta = pkg1_v1.ListMeta{} } else { yyv55 := &x.ListMeta yym56 := z.DecBinary() diff --git a/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/types.go b/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/types.go index 6b5069e5033..d948c6094ea 100644 --- a/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/types.go +++ b/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1/types.go @@ -18,13 +18,13 @@ package v1 import ( "k8s.io/kubernetes/pkg/api" - "k8s.io/kubernetes/pkg/api/unversioned" + metav1 "k8s.io/kubernetes/pkg/apis/meta/v1" ) // +genclient=true type TestType struct { - unversioned.TypeMeta `json:",inline"` + metav1.TypeMeta `json:",inline"` // --- // the next tag removes the field from openapi spec. Adding unversioned objectMeta bring in a whole set of // unversioned objects in the generate file that is not used anywhere other than this test type. @@ -36,9 +36,9 @@ type TestType struct { } type TestTypeList struct { - unversioned.TypeMeta `json:",inline"` + metav1.TypeMeta `json:",inline"` // +optional - unversioned.ListMeta `json:"metadata,omitempty"` + metav1.ListMeta `json:"metadata,omitempty"` Items []TestType `json:"items"` } diff --git a/cmd/libs/go2idl/conversion-gen/main.go b/cmd/libs/go2idl/conversion-gen/main.go index 23452d72866..80cca4030e4 100644 --- a/cmd/libs/go2idl/conversion-gen/main.go +++ b/cmd/libs/go2idl/conversion-gen/main.go @@ -56,7 +56,7 @@ func main() { ExtraPeerDirs: []string{ "k8s.io/kubernetes/pkg/api", "k8s.io/kubernetes/pkg/api/v1", - "k8s.io/kubernetes/pkg/api/unversioned", + "k8s.io/kubernetes/pkg/apis/meta/v1", "k8s.io/kubernetes/pkg/conversion", "k8s.io/kubernetes/pkg/runtime", }, diff --git a/cmd/libs/go2idl/go-to-protobuf/protobuf/cmd.go b/cmd/libs/go2idl/go-to-protobuf/protobuf/cmd.go index ebce4d91d5f..6f5580c51f5 100644 --- a/cmd/libs/go2idl/go-to-protobuf/protobuf/cmd.go +++ b/cmd/libs/go2idl/go-to-protobuf/protobuf/cmd.go @@ -65,7 +65,7 @@ func New() *Generator { `+k8s.io/kubernetes/pkg/runtime/schema`, `+k8s.io/kubernetes/pkg/runtime`, `+k8s.io/kubernetes/pkg/watch/versioned`, - `k8s.io/kubernetes/pkg/api/unversioned`, + `k8s.io/kubernetes/pkg/apis/meta/v1`, `k8s.io/kubernetes/pkg/api/v1`, `k8s.io/kubernetes/pkg/apis/policy/v1beta1`, `k8s.io/kubernetes/pkg/apis/extensions/v1beta1`, @@ -81,7 +81,7 @@ func New() *Generator { `k8s.io/kubernetes/pkg/apis/imagepolicy/v1alpha1`, `k8s.io/kubernetes/pkg/apis/storage/v1beta1`, }, ","), - DropEmbeddedFields: "k8s.io/kubernetes/pkg/api/unversioned.TypeMeta", + DropEmbeddedFields: "k8s.io/kubernetes/pkg/apis/meta/v1.TypeMeta", } } diff --git a/docs/api-reference/apps/v1beta1/definitions.html b/docs/api-reference/apps/v1beta1/definitions.html index 7c46f957e5d..c8a0391d89b 100755 --- a/docs/api-reference/apps/v1beta1/definitions.html +++ b/docs/api-reference/apps/v1beta1/definitions.html @@ -383,6 +383,61 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; }
APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
kind |
+Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
+false |
+string |
++ |
apiVersion |
+APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources |
+false |
+string |
++ |
groupVersion |
+groupVersion is the group and version this APIResourceList is for. |
+true |
+string |
++ |
resources |
+resources contains the name of the resources and if they are namespaced. |
+true |
+v1.APIResource array |
++ |
Represents a Photon Controller persistent disk resource.
@@ -494,6 +549,89 @@ span.icon > [class^="icon-"], span.icon > [class*=" icon-"] { cursor: default; } +Status is a return value for calls that don’t return other objects.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
kind |
+Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
+false |
+string |
++ |
apiVersion |
+APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources |
+false |
+string |
++ |
metadata |
+Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
+false |
++ | + |
status |
+Status of the operation. One of: "Success" or "Failure". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status |
+false |
+string |
++ |
message |
+A human-readable description of the status of this operation. |
+false |
+string |
++ |
reason |
+A 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. |
+false |
+string |
++ |
details |
+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. |
+false |
++ | + |
code |
+Suggested HTTP return code for this status, 0 if not set. |
+false |
+integer (int32) |
++ |
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
matchLabels |
+matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. |
+false |
+object |
++ |
matchExpressions |
+matchExpressions is a list of label selector requirements. The requirements are ANDed. |
+false |
++ | + |
selector
A label query over volumes to consider for binding.
false
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
reason |
-A machine-readable description of the cause of the error. If this value is empty there is no information available. |
-false |
-string |
-- |
message |
-A human-readable description of the cause of the error. This field may be presented as-is to a reader. |
-false |
-string |
-- |
field |
-The 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. Optional. |
-false |
-string |
-- |
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
name |
-The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). |
-false |
-string |
-- |
group |
-The group attribute of the resource associated with the status StatusReason. |
-false |
-string |
-- |
kind |
-The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
-false |
-string |
-- |
causes |
-The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. |
-false |
-unversioned.StatusCause array |
-- |
retryAfterSeconds |
-If specified, the time in seconds before the operation should be retried. |
-false |
-integer (int32) |
-- |
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
name |
+The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described). |
+false |
+string |
++ |
group |
+The group attribute of the resource associated with the status StatusReason. |
+false |
+string |
++ |
kind |
+The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
+false |
+string |
++ |
causes |
+The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes. |
+false |
+v1.StatusCause array |
++ |
retryAfterSeconds |
+If specified, the time in seconds before the operation should be retried. |
+false |
+integer (int32) |
++ |
selector
Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
false
false
string (date-time)
string
false
string (date-time)
string
APIResource specifies the name of a resource and whether it is namespaced.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
name |
+name is the name of the resource. |
+true |
+string |
++ |
namespaced |
+namespaced indicates if a resource is namespaced or not. |
+true |
+boolean |
+false |
+
kind |
+kind is the kind for the resource (e.g. Foo is the kind for a resource foo) |
+true |
+string |
++ |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
-ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
selfLink |
+SelfLink is a URL representing this object. Populated by the system. Read-only. |
+false |
+string |
++ |
resourceVersion |
+String that identifies the server’s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency |
+false |
+string |
++ |
ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
selfLink |
-SelfLink is a URL representing this object. Populated by the system. Read-only. |
-false |
-string |
-- |
resourceVersion |
-String that identifies the server’s internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency |
-false |
-string |
-- |
A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
matchLabels |
-matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. |
-false |
-object |
-- |
matchExpressions |
-matchExpressions is a list of label selector requirements. The requirements are ANDed. |
-false |
-- | - |
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
key |
+key is the label key that the selector applies to. |
+true |
+string |
++ |
operator |
+operator represents a key’s relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist. |
+true |
+string |
++ |
values |
+values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. |
+false |
+string array |
++ |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
+A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
key |
-key is the label key that the selector applies to. |
-true |
-string |
-- |
operator |
-operator represents a key’s relationship to a set of values. Valid operators ard In, NotIn, Exists and DoesNotExist. |
-true |
-string |
-- |
values |
-values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. |
-false |
-string array |
-- |
APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
kind |
-Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
-false |
-string |
-- |
apiVersion |
-APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources |
-false |
-string |
-- |
groupVersion |
-groupVersion is the group and version this APIResourceList is for. |
-true |
-string |
-- |
resources |
-resources contains the name of the resources and if they are namespaced. |
-true |
-unversioned.APIResource array |
-- |
Status is a return value for calls that don’t return other objects.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
kind |
-Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
-false |
-string |
-- |
apiVersion |
-APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources |
-false |
-string |
-- |
metadata |
-Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
-false |
-- | - |
status |
-Status of the operation. One of: "Success" or "Failure". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status |
-false |
-string |
-- |
message |
-A human-readable description of the status of this operation. |
-false |
-string |
-- |
reason |
-A 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. |
-false |
-string |
-- |
details |
-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. |
-false |
-- | - |
code |
-Suggested HTTP return code for this status, 0 if not set. |
-false |
-integer (int32) |
-- |
APIResource specifies the name of a resource and whether it is namespaced.
-Name | -Description | -Required | -Schema | -Default | -
---|---|---|---|---|
name |
-name is the name of the resource. |
-true |
-string |
-- |
namespaced |
-namespaced indicates if a resource is namespaced or not. |
-true |
-boolean |
-false |
-
kind |
-kind is the kind for the resource (e.g. Foo is the kind for a resource foo) |
-true |
-string |
-- |
metadata
false
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
+Name | +Description | +Required | +Schema | +Default | +
---|---|---|---|---|
reason |
+A machine-readable description of the cause of the error. If this value is empty there is no information available. |
+false |
+string |
++ |
message |
+A human-readable description of the cause of the error. This field may be presented as-is to a reader. |
+false |
+string |
++ |
field |
+The 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. Optional. |
+false |
+string |
++ |