Skip to content

Commit 7b016ea

Browse files
committed
re-gen to make custom object delete body optional
1 parent e96d8f6 commit 7b016ea

File tree

730 files changed

+1414
-1426
lines changed

Some content is hidden

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

730 files changed

+1414
-1426
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3c3ac5d292e3e4e2451c1498aef4829654af87ed868480d73360d70fee2694dd
1+
fbd3c4f2dd1b3900712cd2b2efe11afb28fcdbda141797af573c328e96522c70

kubernetes/docs/CustomObjectsApi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Name | Type | Description | Notes
190190

191191
<a name="deleteClusterCustomObject"></a>
192192
# **deleteClusterCustomObject**
193-
> Object deleteClusterCustomObject(group, version, plural, name, body, gracePeriodSeconds, orphanDependents, propagationPolicy)
193+
> Object deleteClusterCustomObject(group, version, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy, body)
194194
195195

196196

@@ -222,12 +222,12 @@ public class Example {
222222
String version = "version_example"; // String | the custom resource's version
223223
String plural = "plural_example"; // String | the custom object's plural name. For TPRs this would be lowercase plural kind.
224224
String name = "name_example"; // String | the custom object's name
225-
V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions |
226225
Integer gracePeriodSeconds = 56; // Integer | 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.
227226
Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
228227
String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
228+
V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions |
229229
try {
230-
Object result = apiInstance.deleteClusterCustomObject(group, version, plural, name, body, gracePeriodSeconds, orphanDependents, propagationPolicy);
230+
Object result = apiInstance.deleteClusterCustomObject(group, version, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy, body);
231231
System.out.println(result);
232232
} catch (ApiException e) {
233233
System.err.println("Exception when calling CustomObjectsApi#deleteClusterCustomObject");
@@ -248,10 +248,10 @@ Name | Type | Description | Notes
248248
**version** | **String**| the custom resource&#39;s version |
249249
**plural** | **String**| the custom object&#39;s plural name. For TPRs this would be lowercase plural kind. |
250250
**name** | **String**| the custom object&#39;s name |
251-
**body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
252251
**gracePeriodSeconds** | **Integer**| 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. | [optional]
253252
**orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
254253
**propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
254+
**body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional]
255255

256256
### Return type
257257

@@ -274,7 +274,7 @@ Name | Type | Description | Notes
274274

275275
<a name="deleteNamespacedCustomObject"></a>
276276
# **deleteNamespacedCustomObject**
277-
> Object deleteNamespacedCustomObject(group, version, namespace, plural, name, body, gracePeriodSeconds, orphanDependents, propagationPolicy)
277+
> Object deleteNamespacedCustomObject(group, version, namespace, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy, body)
278278
279279

280280

@@ -307,12 +307,12 @@ public class Example {
307307
String namespace = "namespace_example"; // String | The custom resource's namespace
308308
String plural = "plural_example"; // String | the custom resource's plural name. For TPRs this would be lowercase plural kind.
309309
String name = "name_example"; // String | the custom object's name
310-
V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions |
311310
Integer gracePeriodSeconds = 56; // Integer | 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.
312311
Boolean orphanDependents = true; // Boolean | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
313312
String propagationPolicy = "propagationPolicy_example"; // String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
313+
V1DeleteOptions body = new V1DeleteOptions(); // V1DeleteOptions |
314314
try {
315-
Object result = apiInstance.deleteNamespacedCustomObject(group, version, namespace, plural, name, body, gracePeriodSeconds, orphanDependents, propagationPolicy);
315+
Object result = apiInstance.deleteNamespacedCustomObject(group, version, namespace, plural, name, gracePeriodSeconds, orphanDependents, propagationPolicy, body);
316316
System.out.println(result);
317317
} catch (ApiException e) {
318318
System.err.println("Exception when calling CustomObjectsApi#deleteNamespacedCustomObject");
@@ -334,10 +334,10 @@ Name | Type | Description | Notes
334334
**namespace** | **String**| The custom resource&#39;s namespace |
335335
**plural** | **String**| the custom resource&#39;s plural name. For TPRs this would be lowercase plural kind. |
336336
**name** | **String**| the custom object&#39;s name |
337-
**body** | [**V1DeleteOptions**](V1DeleteOptions.md)| |
338337
**gracePeriodSeconds** | **Integer**| 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. | [optional]
339338
**orphanDependents** | **Boolean**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \&quot;orphan\&quot; finalizer will be added to/removed from the object&#39;s finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional]
340339
**propagationPolicy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional]
340+
**body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional]
341341

342342
### Return type
343343

kubernetes/src/main/java/io/kubernetes/client/openapi/ApiCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.16.4
5+
* The version of the OpenAPI document: v1.16.5
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.16.4
5+
* The version of the OpenAPI document: v1.16.5
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

kubernetes/src/main/java/io/kubernetes/client/openapi/ApiException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.16.4
5+
* The version of the OpenAPI document: v1.16.5
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@
1616
import java.util.Map;
1717
import java.util.List;
1818

19-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-12-10T11:32:23.773Z[Etc/UTC]")
19+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-12-17T11:16:41.964Z[Etc/UTC]")
2020
public class ApiException extends Exception {
2121
private int code = 0;
2222
private Map<String, List<String>> responseHeaders = null;

kubernetes/src/main/java/io/kubernetes/client/openapi/ApiResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.16.4
5+
* The version of the OpenAPI document: v1.16.5
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

kubernetes/src/main/java/io/kubernetes/client/openapi/Configuration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.16.4
5+
* The version of the OpenAPI document: v1.16.5
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,7 +13,7 @@
1313

1414
package io.kubernetes.client.openapi;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-12-10T11:32:23.773Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-12-17T11:16:41.964Z[Etc/UTC]")
1717
public class Configuration {
1818
private static ApiClient defaultApiClient = new ApiClient();
1919

kubernetes/src/main/java/io/kubernetes/client/openapi/GzipRequestInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.16.4
5+
* The version of the OpenAPI document: v1.16.5
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

kubernetes/src/main/java/io/kubernetes/client/openapi/Pair.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.16.4
5+
* The version of the OpenAPI document: v1.16.5
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,7 +13,7 @@
1313

1414
package io.kubernetes.client.openapi;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-12-10T11:32:23.773Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-12-17T11:16:41.964Z[Etc/UTC]")
1717
public class Pair {
1818
private String name = "";
1919
private String value = "";

kubernetes/src/main/java/io/kubernetes/client/openapi/ProgressRequestBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Kubernetes
33
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
44
*
5-
* The version of the OpenAPI document: v1.16.4
5+
* The version of the OpenAPI document: v1.16.5
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)