Skip to content

Commit ec97160

Browse files
committed
Generate from v1.13.4
1 parent 6d0ee58 commit ec97160

Some content is hidden

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

70 files changed

+176770
-123536
lines changed

kubernetes/.openapi-generator/COMMIT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Requested Commit: aa7ea8bdcae35d7800dc0218bb31e84952f43c62
2-
Actual Commit: aa7ea8bdcae35d7800dc0218bb31e84952f43c62
1+
Requested Commit: 302b2fafffaaade6963733f5ce7fae09f75dd481
2+
Actual Commit: 302b2fafffaaade6963733f5ce7fae09f75dd481
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
68ce1a646ee8a16c832a8ca75800ebe094e878de073143dd2ed5530e928ed591
1+
6e2bf27da5e41ec9c01fd661ad415a8a919245fd292cb8340a84dc4092de6c32

kubernetes/kubernetes-client-core.cabal

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: .
88
.
99
base path: http://localhost
1010
.
11-
Kubernetes API version: v1.9.12
11+
Kubernetes API version: v1.13.4
1212
.
1313
OpenAPI version: 3.0.1
1414
.
@@ -69,12 +69,15 @@ library
6969
Kubernetes.OpenAPI.API.Apiextensions
7070
Kubernetes.OpenAPI.API.ApiextensionsV1beta1
7171
Kubernetes.OpenAPI.API.Apiregistration
72+
Kubernetes.OpenAPI.API.ApiregistrationV1
7273
Kubernetes.OpenAPI.API.ApiregistrationV1beta1
7374
Kubernetes.OpenAPI.API.Apis
7475
Kubernetes.OpenAPI.API.Apps
7576
Kubernetes.OpenAPI.API.AppsV1
7677
Kubernetes.OpenAPI.API.AppsV1beta1
7778
Kubernetes.OpenAPI.API.AppsV1beta2
79+
Kubernetes.OpenAPI.API.Auditregistration
80+
Kubernetes.OpenAPI.API.AuditregistrationV1alpha1
7881
Kubernetes.OpenAPI.API.Authentication
7982
Kubernetes.OpenAPI.API.AuthenticationV1
8083
Kubernetes.OpenAPI.API.AuthenticationV1beta1
@@ -84,12 +87,15 @@ library
8487
Kubernetes.OpenAPI.API.Autoscaling
8588
Kubernetes.OpenAPI.API.AutoscalingV1
8689
Kubernetes.OpenAPI.API.AutoscalingV2beta1
90+
Kubernetes.OpenAPI.API.AutoscalingV2beta2
8791
Kubernetes.OpenAPI.API.Batch
8892
Kubernetes.OpenAPI.API.BatchV1
8993
Kubernetes.OpenAPI.API.BatchV1beta1
9094
Kubernetes.OpenAPI.API.BatchV2alpha1
9195
Kubernetes.OpenAPI.API.Certificates
9296
Kubernetes.OpenAPI.API.CertificatesV1beta1
97+
Kubernetes.OpenAPI.API.Coordination
98+
Kubernetes.OpenAPI.API.CoordinationV1beta1
9399
Kubernetes.OpenAPI.API.Core
94100
Kubernetes.OpenAPI.API.CoreV1
95101
Kubernetes.OpenAPI.API.CustomObjects
@@ -108,6 +114,7 @@ library
108114
Kubernetes.OpenAPI.API.RbacAuthorizationV1beta1
109115
Kubernetes.OpenAPI.API.Scheduling
110116
Kubernetes.OpenAPI.API.SchedulingV1alpha1
117+
Kubernetes.OpenAPI.API.SchedulingV1beta1
111118
Kubernetes.OpenAPI.API.Settings
112119
Kubernetes.OpenAPI.API.SettingsV1alpha1
113120
Kubernetes.OpenAPI.API.Storage

kubernetes/lib/Kubernetes/OpenAPI.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
55
66
OpenAPI Version: 3.0.1
7-
Kubernetes API version: v1.9.12
7+
Kubernetes API version: v1.13.4
88
Generated by OpenAPI Generator (https://openapi-generator.tech)
99
-}
1010

kubernetes/lib/Kubernetes/OpenAPI/API/Admissionregistration.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
55
66
OpenAPI Version: 3.0.1
7-
Kubernetes API version: v1.9.12
7+
Kubernetes API version: v1.13.4
88
Generated by OpenAPI Generator (https://openapi-generator.tech)
99
-}
1010

kubernetes/lib/Kubernetes/OpenAPI/API/AdmissionregistrationV1alpha1.hs

Lines changed: 42 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
55
66
OpenAPI Version: 3.0.1
7-
Kubernetes API version: v1.9.12
7+
Kubernetes API version: v1.13.4
88
Generated by OpenAPI Generator (https://openapi-generator.tech)
99
-}
1010

@@ -79,10 +79,20 @@ createInitializerConfiguration _ _ body =
7979
data CreateInitializerConfiguration
8080
instance HasBodyParam CreateInitializerConfiguration V1alpha1InitializerConfiguration
8181

82+
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
83+
instance HasOptionalParam CreateInitializerConfiguration IncludeUninitialized where
84+
applyOptionalParam req (IncludeUninitialized xs) =
85+
req `setQuery` toQuery ("includeUninitialized", Just xs)
86+
8287
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
8388
instance HasOptionalParam CreateInitializerConfiguration Pretty where
8489
applyOptionalParam req (Pretty xs) =
8590
req `setQuery` toQuery ("pretty", Just xs)
91+
92+
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
93+
instance HasOptionalParam CreateInitializerConfiguration DryRun where
94+
applyOptionalParam req (DryRun xs) =
95+
req `setQuery` toQuery ("dryRun", Just xs)
8696

8797
-- | @*/*@
8898
instance MimeType mtype => Consumes CreateInitializerConfiguration mtype
@@ -112,12 +122,17 @@ deleteCollectionInitializerConfiguration _ =
112122

113123
data DeleteCollectionInitializerConfiguration
114124

125+
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
126+
instance HasOptionalParam DeleteCollectionInitializerConfiguration IncludeUninitialized where
127+
applyOptionalParam req (IncludeUninitialized xs) =
128+
req `setQuery` toQuery ("includeUninitialized", Just xs)
129+
115130
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
116131
instance HasOptionalParam DeleteCollectionInitializerConfiguration Pretty where
117132
applyOptionalParam req (Pretty xs) =
118133
req `setQuery` toQuery ("pretty", Just xs)
119134

120-
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
135+
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
121136
instance HasOptionalParam DeleteCollectionInitializerConfiguration Continue where
122137
applyOptionalParam req (Continue xs) =
123138
req `setQuery` toQuery ("continue", Just xs)
@@ -127,11 +142,6 @@ instance HasOptionalParam DeleteCollectionInitializerConfiguration FieldSelector
127142
applyOptionalParam req (FieldSelector xs) =
128143
req `setQuery` toQuery ("fieldSelector", Just xs)
129144

130-
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
131-
instance HasOptionalParam DeleteCollectionInitializerConfiguration IncludeUninitialized where
132-
applyOptionalParam req (IncludeUninitialized xs) =
133-
req `setQuery` toQuery ("includeUninitialized", Just xs)
134-
135145
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
136146
instance HasOptionalParam DeleteCollectionInitializerConfiguration LabelSelector where
137147
applyOptionalParam req (LabelSelector xs) =
@@ -147,7 +157,7 @@ instance HasOptionalParam DeleteCollectionInitializerConfiguration ResourceVersi
147157
applyOptionalParam req (ResourceVersion xs) =
148158
req `setQuery` toQuery ("resourceVersion", Just xs)
149159

150-
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
160+
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
151161
instance HasOptionalParam DeleteCollectionInitializerConfiguration TimeoutSeconds where
152162
applyOptionalParam req (TimeoutSeconds xs) =
153163
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -173,16 +183,14 @@ instance Produces DeleteCollectionInitializerConfiguration MimeYaml
173183
-- AuthMethod: 'AuthApiKeyBearerToken'
174184
--
175185
deleteInitializerConfiguration
176-
:: (Consumes DeleteInitializerConfiguration contentType, MimeRender contentType V1DeleteOptions)
186+
:: (Consumes DeleteInitializerConfiguration contentType)
177187
=> ContentType contentType -- ^ request content-type ('MimeType')
178188
-> Accept accept -- ^ request accept ('MimeType')
179-
-> V1DeleteOptions -- ^ "body"
180189
-> Name -- ^ "name" - name of the InitializerConfiguration
181190
-> KubernetesRequest DeleteInitializerConfiguration contentType V1Status accept
182-
deleteInitializerConfiguration _ _ body (Name name) =
191+
deleteInitializerConfiguration _ _ (Name name) =
183192
_mkRequest "DELETE" ["/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/",toPath name]
184193
`_hasAuthType` (P.Proxy :: P.Proxy AuthApiKeyBearerToken)
185-
`setBodyParam` body
186194

187195
data DeleteInitializerConfiguration
188196
instance HasBodyParam DeleteInitializerConfiguration V1DeleteOptions
@@ -192,6 +200,11 @@ instance HasOptionalParam DeleteInitializerConfiguration Pretty where
192200
applyOptionalParam req (Pretty xs) =
193201
req `setQuery` toQuery ("pretty", Just xs)
194202

203+
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
204+
instance HasOptionalParam DeleteInitializerConfiguration DryRun where
205+
applyOptionalParam req (DryRun xs) =
206+
req `setQuery` toQuery ("dryRun", Just xs)
207+
195208
-- | /Optional Param/ "gracePeriodSeconds" - The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
196209
instance HasOptionalParam DeleteInitializerConfiguration GracePeriodSeconds where
197210
applyOptionalParam req (GracePeriodSeconds xs) =
@@ -259,12 +272,17 @@ listInitializerConfiguration _ =
259272

260273
data ListInitializerConfiguration
261274

275+
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
276+
instance HasOptionalParam ListInitializerConfiguration IncludeUninitialized where
277+
applyOptionalParam req (IncludeUninitialized xs) =
278+
req `setQuery` toQuery ("includeUninitialized", Just xs)
279+
262280
-- | /Optional Param/ "pretty" - If 'true', then the output is pretty printed.
263281
instance HasOptionalParam ListInitializerConfiguration Pretty where
264282
applyOptionalParam req (Pretty xs) =
265283
req `setQuery` toQuery ("pretty", Just xs)
266284

267-
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
285+
-- | /Optional Param/ "continue" - The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.
268286
instance HasOptionalParam ListInitializerConfiguration Continue where
269287
applyOptionalParam req (Continue xs) =
270288
req `setQuery` toQuery ("continue", Just xs)
@@ -274,11 +292,6 @@ instance HasOptionalParam ListInitializerConfiguration FieldSelector where
274292
applyOptionalParam req (FieldSelector xs) =
275293
req `setQuery` toQuery ("fieldSelector", Just xs)
276294

277-
-- | /Optional Param/ "includeUninitialized" - If true, partially initialized resources are included in the response.
278-
instance HasOptionalParam ListInitializerConfiguration IncludeUninitialized where
279-
applyOptionalParam req (IncludeUninitialized xs) =
280-
req `setQuery` toQuery ("includeUninitialized", Just xs)
281-
282295
-- | /Optional Param/ "labelSelector" - A selector to restrict the list of returned objects by their labels. Defaults to everything.
283296
instance HasOptionalParam ListInitializerConfiguration LabelSelector where
284297
applyOptionalParam req (LabelSelector xs) =
@@ -294,7 +307,7 @@ instance HasOptionalParam ListInitializerConfiguration ResourceVersion where
294307
applyOptionalParam req (ResourceVersion xs) =
295308
req `setQuery` toQuery ("resourceVersion", Just xs)
296309

297-
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call.
310+
-- | /Optional Param/ "timeoutSeconds" - Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.
298311
instance HasOptionalParam ListInitializerConfiguration TimeoutSeconds where
299312
applyOptionalParam req (TimeoutSeconds xs) =
300313
req `setQuery` toQuery ("timeoutSeconds", Just xs)
@@ -343,6 +356,11 @@ instance HasOptionalParam PatchInitializerConfiguration Pretty where
343356
applyOptionalParam req (Pretty xs) =
344357
req `setQuery` toQuery ("pretty", Just xs)
345358

359+
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
360+
instance HasOptionalParam PatchInitializerConfiguration DryRun where
361+
applyOptionalParam req (DryRun xs) =
362+
req `setQuery` toQuery ("dryRun", Just xs)
363+
346364
-- | @application/json-patch+json@
347365
instance Consumes PatchInitializerConfiguration MimeJsonPatchjson
348366
-- | @application/merge-patch+json@
@@ -425,6 +443,11 @@ instance HasBodyParam ReplaceInitializerConfiguration V1alpha1InitializerConfigu
425443
instance HasOptionalParam ReplaceInitializerConfiguration Pretty where
426444
applyOptionalParam req (Pretty xs) =
427445
req `setQuery` toQuery ("pretty", Just xs)
446+
447+
-- | /Optional Param/ "dryRun" - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
448+
instance HasOptionalParam ReplaceInitializerConfiguration DryRun where
449+
applyOptionalParam req (DryRun xs) =
450+
req `setQuery` toQuery ("dryRun", Just xs)
428451

429452
-- | @*/*@
430453
instance MimeType mtype => Consumes ReplaceInitializerConfiguration mtype

0 commit comments

Comments
 (0)