Skip to content

Commit ab5f25d

Browse files
committed
update to Kubernetes specifications 1.17.3
1 parent 8ea933b commit ab5f25d

File tree

766 files changed

+41897
-20525
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

766 files changed

+41897
-20525
lines changed

gen/generate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ then
2121
fi
2222

2323
# ensure CSTParser is of right version
24-
cstpver=`${JULIA} -e 'println(Pkg.installed()["CSTParser"] == v"2.1.0")'`
24+
cstpver=`${JULIA} -e 'using Pkg; println(Pkg.installed()["CSTParser"] == v"2.1.0")'`
2525
if [ "$cstpver" != "true" ]
2626
then
2727
echo "CSTParser v2.1.0 is required"
2828
exit -1
29-
end
29+
fi
3030

3131
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3232
GENDIR="$( readlink -e "${DIR}/../" )"

gen/spec/swagger.json

Lines changed: 31116 additions & 16155 deletions
Large diffs are not rendered by default.

src/api/Kubernetes.jl

Lines changed: 89 additions & 6 deletions
Large diffs are not rendered by default.

src/api/api_AdmissionregistrationApi.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# This file was generated by the Julia Swagger Code Generator
22
# Do not modify this file directly. Modify the swagger specification instead.
33

4-
54
struct AdmissionregistrationApi <: SwaggerApi
65
client::Swagger.Client
76
end

src/api/api_AdmissionregistrationV1Api.jl

Lines changed: 498 additions & 0 deletions
Large diffs are not rendered by default.

src/api/api_AdmissionregistrationV1beta1Api.jl

Lines changed: 46 additions & 13 deletions
Large diffs are not rendered by default.

src/api/api_ApiextensionsApi.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# This file was generated by the Julia Swagger Code Generator
22
# Do not modify this file directly. Modify the swagger specification instead.
33

4-
54
struct ApiextensionsApi <: SwaggerApi
65
client::Swagger.Client
76
end

src/api/api_ApiextensionsV1Api.jl

Lines changed: 319 additions & 0 deletions
Large diffs are not rendered by default.

src/api/api_ApiextensionsV1beta1Api.jl

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# This file was generated by the Julia Swagger Code Generator
22
# Do not modify this file directly. Modify the swagger specification instead.
33

4-
54
struct ApiextensionsV1beta1Api <: SwaggerApi
65
client::Swagger.Client
76
end
@@ -29,22 +28,33 @@ end
2928
3029
delete collection of CustomResourceDefinition
3130
Param: pretty::String
31+
Param: allowWatchBookmarks::Bool
32+
Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions
3233
Param: __continue__::String
34+
Param: dryRun::String
3335
Param: fieldSelector::String
36+
Param: gracePeriodSeconds::Int32
3437
Param: labelSelector::String
3538
Param: limit::Int32
39+
Param: orphanDependents::Bool
40+
Param: propagationPolicy::String
3641
Param: resourceVersion::String
3742
Param: timeoutSeconds::Int32
3843
Param: watch::Bool
3944
Return: IoK8sApimachineryPkgApisMetaV1Status
4045
"""
41-
function deleteApiextensionsV1beta1CollectionCustomResourceDefinition(_api::ApiextensionsV1beta1Api; pretty=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing)
42-
_ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", ["BearerToken"])
46+
function deleteApiextensionsV1beta1CollectionCustomResourceDefinition(_api::ApiextensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, body=nothing, __continue__=nothing, dryRun=nothing, fieldSelector=nothing, gracePeriodSeconds=nothing, labelSelector=nothing, limit=nothing, orphanDependents=nothing, propagationPolicy=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing)
47+
_ctx = Swagger.Ctx(_api.client, "DELETE", IoK8sApimachineryPkgApisMetaV1Status, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", ["BearerToken"], body)
4348
Swagger.set_param(_ctx.query, "pretty", pretty) # type String
49+
Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool
4450
Swagger.set_param(_ctx.query, "continue", __continue__) # type String
51+
Swagger.set_param(_ctx.query, "dryRun", dryRun) # type String
4552
Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String
53+
Swagger.set_param(_ctx.query, "gracePeriodSeconds", gracePeriodSeconds) # type Int32
4654
Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String
4755
Swagger.set_param(_ctx.query, "limit", limit) # type Int32
56+
Swagger.set_param(_ctx.query, "orphanDependents", orphanDependents) # type Bool
57+
Swagger.set_param(_ctx.query, "propagationPolicy", propagationPolicy) # type String
4858
Swagger.set_param(_ctx.query, "resourceVersion", resourceVersion) # type String
4959
Swagger.set_param(_ctx.query, "timeoutSeconds", timeoutSeconds) # type Int32
5060
Swagger.set_param(_ctx.query, "watch", watch) # type Bool
@@ -94,6 +104,7 @@ end
94104
95105
list or watch objects of kind CustomResourceDefinition
96106
Param: pretty::String
107+
Param: allowWatchBookmarks::Bool
97108
Param: __continue__::String
98109
Param: fieldSelector::String
99110
Param: labelSelector::String
@@ -103,9 +114,10 @@ Param: timeoutSeconds::Int32
103114
Param: watch::Bool
104115
Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList
105116
"""
106-
function listApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api; pretty=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing)
117+
function listApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api; pretty=nothing, allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing)
107118
_ctx = Swagger.Ctx(_api.client, "GET", IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", ["BearerToken"])
108119
Swagger.set_param(_ctx.query, "pretty", pretty) # type String
120+
Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool
109121
Swagger.set_param(_ctx.query, "continue", __continue__) # type String
110122
Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String
111123
Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String
@@ -137,7 +149,7 @@ function patchApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1
137149
Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String
138150
Swagger.set_param(_ctx.query, "force", force) # type Bool
139151
Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"])
140-
Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json"] : [_mediaType])
152+
Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType])
141153
Swagger.exec(_ctx)
142154
end
143155

@@ -160,7 +172,7 @@ function patchApiextensionsV1beta1CustomResourceDefinitionStatus(_api::Apiextens
160172
Swagger.set_param(_ctx.query, "fieldManager", fieldManager) # type String
161173
Swagger.set_param(_ctx.query, "force", force) # type Bool
162174
Swagger.set_header_accept(_ctx, ["application/json", "application/yaml", "application/vnd.kubernetes.protobuf"])
163-
Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json"] : [_mediaType])
175+
Swagger.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"] : [_mediaType])
164176
Swagger.exec(_ctx)
165177
end
166178

@@ -246,6 +258,7 @@ end
246258
247259
watch changes to an object of kind CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
248260
Param: name::String (required)
261+
Param: allowWatchBookmarks::Bool
249262
Param: __continue__::String
250263
Param: fieldSelector::String
251264
Param: labelSelector::String
@@ -256,9 +269,10 @@ Param: timeoutSeconds::Int32
256269
Param: watch::Bool
257270
Return: IoK8sApimachineryPkgApisMetaV1WatchEvent
258271
"""
259-
function watchApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing)
272+
function watchApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1beta1Api, name::String; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing)
260273
_ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}", ["BearerToken"])
261274
Swagger.set_param(_ctx.path, "name", name) # type String
275+
Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool
262276
Swagger.set_param(_ctx.query, "continue", __continue__) # type String
263277
Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String
264278
Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String
@@ -275,6 +289,7 @@ end
275289
"""
276290
277291
watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead.
292+
Param: allowWatchBookmarks::Bool
278293
Param: __continue__::String
279294
Param: fieldSelector::String
280295
Param: labelSelector::String
@@ -285,8 +300,9 @@ Param: timeoutSeconds::Int32
285300
Param: watch::Bool
286301
Return: IoK8sApimachineryPkgApisMetaV1WatchEvent
287302
"""
288-
function watchApiextensionsV1beta1CustomResourceDefinitionList(_api::ApiextensionsV1beta1Api; __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing)
303+
function watchApiextensionsV1beta1CustomResourceDefinitionList(_api::ApiextensionsV1beta1Api; allowWatchBookmarks=nothing, __continue__=nothing, fieldSelector=nothing, labelSelector=nothing, limit=nothing, pretty=nothing, resourceVersion=nothing, timeoutSeconds=nothing, watch=nothing, _mediaType=nothing)
289304
_ctx = Swagger.Ctx(_api.client, "GET", IoK8sApimachineryPkgApisMetaV1WatchEvent, "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions", ["BearerToken"])
305+
Swagger.set_param(_ctx.query, "allowWatchBookmarks", allowWatchBookmarks) # type Bool
290306
Swagger.set_param(_ctx.query, "continue", __continue__) # type String
291307
Swagger.set_param(_ctx.query, "fieldSelector", fieldSelector) # type String
292308
Swagger.set_param(_ctx.query, "labelSelector", labelSelector) # type String

src/api/api_ApiregistrationApi.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# This file was generated by the Julia Swagger Code Generator
22
# Do not modify this file directly. Modify the swagger specification instead.
33

4-
54
struct ApiregistrationApi <: SwaggerApi
65
client::Swagger.Client
76
end

0 commit comments

Comments
 (0)