1
1
# This file was generated by the Julia Swagger Code Generator
2
2
# Do not modify this file directly. Modify the swagger specification instead.
3
3
4
-
5
4
struct ApiextensionsV1beta1Api <: SwaggerApi
6
5
client:: Swagger.Client
7
6
end
29
28
30
29
delete collection of CustomResourceDefinition
31
30
Param: pretty::String
31
+ Param: allowWatchBookmarks::Bool
32
+ Param: body::IoK8sApimachineryPkgApisMetaV1DeleteOptions
32
33
Param: __continue__::String
34
+ Param: dryRun::String
33
35
Param: fieldSelector::String
36
+ Param: gracePeriodSeconds::Int32
34
37
Param: labelSelector::String
35
38
Param: limit::Int32
39
+ Param: orphanDependents::Bool
40
+ Param: propagationPolicy::String
36
41
Param: resourceVersion::String
37
42
Param: timeoutSeconds::Int32
38
43
Param: watch::Bool
39
44
Return: IoK8sApimachineryPkgApisMetaV1Status
40
45
"""
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 )
43
48
Swagger. set_param (_ctx. query, " pretty" , pretty) # type String
49
+ Swagger. set_param (_ctx. query, " allowWatchBookmarks" , allowWatchBookmarks) # type Bool
44
50
Swagger. set_param (_ctx. query, " continue" , __continue__) # type String
51
+ Swagger. set_param (_ctx. query, " dryRun" , dryRun) # type String
45
52
Swagger. set_param (_ctx. query, " fieldSelector" , fieldSelector) # type String
53
+ Swagger. set_param (_ctx. query, " gracePeriodSeconds" , gracePeriodSeconds) # type Int32
46
54
Swagger. set_param (_ctx. query, " labelSelector" , labelSelector) # type String
47
55
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
48
58
Swagger. set_param (_ctx. query, " resourceVersion" , resourceVersion) # type String
49
59
Swagger. set_param (_ctx. query, " timeoutSeconds" , timeoutSeconds) # type Int32
50
60
Swagger. set_param (_ctx. query, " watch" , watch) # type Bool
94
104
95
105
list or watch objects of kind CustomResourceDefinition
96
106
Param: pretty::String
107
+ Param: allowWatchBookmarks::Bool
97
108
Param: __continue__::String
98
109
Param: fieldSelector::String
99
110
Param: labelSelector::String
@@ -103,9 +114,10 @@ Param: timeoutSeconds::Int32
103
114
Param: watch::Bool
104
115
Return: IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList
105
116
"""
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 )
107
118
_ctx = Swagger. Ctx (_api. client, " GET" , IoK8sApiextensionsApiserverPkgApisApiextensionsV1beta1CustomResourceDefinitionList, " /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions" , [" BearerToken" ])
108
119
Swagger. set_param (_ctx. query, " pretty" , pretty) # type String
120
+ Swagger. set_param (_ctx. query, " allowWatchBookmarks" , allowWatchBookmarks) # type Bool
109
121
Swagger. set_param (_ctx. query, " continue" , __continue__) # type String
110
122
Swagger. set_param (_ctx. query, " fieldSelector" , fieldSelector) # type String
111
123
Swagger. set_param (_ctx. query, " labelSelector" , labelSelector) # type String
@@ -137,7 +149,7 @@ function patchApiextensionsV1beta1CustomResourceDefinition(_api::ApiextensionsV1
137
149
Swagger. set_param (_ctx. query, " fieldManager" , fieldManager) # type String
138
150
Swagger. set_param (_ctx. query, " force" , force) # type Bool
139
151
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])
141
153
Swagger. exec (_ctx)
142
154
end
143
155
@@ -160,7 +172,7 @@ function patchApiextensionsV1beta1CustomResourceDefinitionStatus(_api::Apiextens
160
172
Swagger. set_param (_ctx. query, " fieldManager" , fieldManager) # type String
161
173
Swagger. set_param (_ctx. query, " force" , force) # type Bool
162
174
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])
164
176
Swagger. exec (_ctx)
165
177
end
166
178
246
258
247
259
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.
248
260
Param: name::String (required)
261
+ Param: allowWatchBookmarks::Bool
249
262
Param: __continue__::String
250
263
Param: fieldSelector::String
251
264
Param: labelSelector::String
@@ -256,9 +269,10 @@ Param: timeoutSeconds::Int32
256
269
Param: watch::Bool
257
270
Return: IoK8sApimachineryPkgApisMetaV1WatchEvent
258
271
"""
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 )
260
273
_ctx = Swagger. Ctx (_api. client, " GET" , IoK8sApimachineryPkgApisMetaV1WatchEvent, " /apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}" , [" BearerToken" ])
261
274
Swagger. set_param (_ctx. path, " name" , name) # type String
275
+ Swagger. set_param (_ctx. query, " allowWatchBookmarks" , allowWatchBookmarks) # type Bool
262
276
Swagger. set_param (_ctx. query, " continue" , __continue__) # type String
263
277
Swagger. set_param (_ctx. query, " fieldSelector" , fieldSelector) # type String
264
278
Swagger. set_param (_ctx. query, " labelSelector" , labelSelector) # type String
275
289
"""
276
290
277
291
watch individual changes to a list of CustomResourceDefinition. deprecated: use the 'watch' parameter with a list operation instead.
292
+ Param: allowWatchBookmarks::Bool
278
293
Param: __continue__::String
279
294
Param: fieldSelector::String
280
295
Param: labelSelector::String
@@ -285,8 +300,9 @@ Param: timeoutSeconds::Int32
285
300
Param: watch::Bool
286
301
Return: IoK8sApimachineryPkgApisMetaV1WatchEvent
287
302
"""
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 )
289
304
_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
290
306
Swagger. set_param (_ctx. query, " continue" , __continue__) # type String
291
307
Swagger. set_param (_ctx. query, " fieldSelector" , fieldSelector) # type String
292
308
Swagger. set_param (_ctx. query, " labelSelector" , labelSelector) # type String
0 commit comments