Skip to content

Commit f5934bc

Browse files
committed
Regenerate Java to pick up byte serialization fixes.
1 parent 61db20e commit f5934bc

File tree

566 files changed

+4669
-6423
lines changed

Some content is hidden

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

566 files changed

+4669
-6423
lines changed

kubernetes/.swagger-codegen/COMMIT

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Requested Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5
2-
Actual Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5
1+
Requested Commit: 47111b3241267d732dc400db2745e61d126ccc87
2+
Actual Commit: 47111b3241267d732dc400db2745e61d126ccc87

kubernetes/.swagger-codegen/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0-SNAPSHOT
1+
2.4.0-SNAPSHOT

kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**maxSurge** | [**IntOrString**](IntOrString.md) | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional]
8-
**maxUnavailable** | [**IntOrString**](IntOrString.md) | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional]
7+
**maxSurge** | **String** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional]
8+
**maxUnavailable** | **String** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional]
99

1010

1111

kubernetes/docs/CustomObjectsApi.md

+130
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Method | HTTP request | Description
1212
[**getNamespacedCustomObject**](CustomObjectsApi.md#getNamespacedCustomObject) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} |
1313
[**listClusterCustomObject**](CustomObjectsApi.md#listClusterCustomObject) | **GET** /apis/{group}/{version}/{plural} |
1414
[**listNamespacedCustomObject**](CustomObjectsApi.md#listNamespacedCustomObject) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural} |
15+
[**patchClusterCustomObject**](CustomObjectsApi.md#patchClusterCustomObject) | **PATCH** /apis/{group}/{version}/{plural}/{name} |
16+
[**patchNamespacedCustomObject**](CustomObjectsApi.md#patchNamespacedCustomObject) | **PATCH** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} |
1517
[**replaceClusterCustomObject**](CustomObjectsApi.md#replaceClusterCustomObject) | **PUT** /apis/{group}/{version}/{plural}/{name} |
1618
[**replaceNamespacedCustomObject**](CustomObjectsApi.md#replaceNamespacedCustomObject) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} |
1719

@@ -544,6 +546,134 @@ Name | Type | Description | Notes
544546
- **Content-Type**: */*
545547
- **Accept**: application/json, application/json;stream=watch
546548

549+
<a name="patchClusterCustomObject"></a>
550+
# **patchClusterCustomObject**
551+
> Object patchClusterCustomObject(group, version, plural, name, body)
552+
553+
554+
555+
patch the specified cluster scoped custom object
556+
557+
### Example
558+
```java
559+
// Import classes:
560+
//import io.kubernetes.client.ApiClient;
561+
//import io.kubernetes.client.ApiException;
562+
//import io.kubernetes.client.Configuration;
563+
//import io.kubernetes.client.auth.*;
564+
//import io.kubernetes.client.apis.CustomObjectsApi;
565+
566+
ApiClient defaultClient = Configuration.getDefaultApiClient();
567+
568+
// Configure API key authorization: BearerToken
569+
ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken");
570+
BearerToken.setApiKey("YOUR API KEY");
571+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
572+
//BearerToken.setApiKeyPrefix("Token");
573+
574+
CustomObjectsApi apiInstance = new CustomObjectsApi();
575+
String group = "group_example"; // String | the custom resource's group
576+
String version = "version_example"; // String | the custom resource's version
577+
String plural = "plural_example"; // String | the custom object's plural name. For TPRs this would be lowercase plural kind.
578+
String name = "name_example"; // String | the custom object's name
579+
Object body = null; // Object | The JSON schema of the Resource to patch.
580+
try {
581+
Object result = apiInstance.patchClusterCustomObject(group, version, plural, name, body);
582+
System.out.println(result);
583+
} catch (ApiException e) {
584+
System.err.println("Exception when calling CustomObjectsApi#patchClusterCustomObject");
585+
e.printStackTrace();
586+
}
587+
```
588+
589+
### Parameters
590+
591+
Name | Type | Description | Notes
592+
------------- | ------------- | ------------- | -------------
593+
**group** | **String**| the custom resource&#39;s group |
594+
**version** | **String**| the custom resource&#39;s version |
595+
**plural** | **String**| the custom object&#39;s plural name. For TPRs this would be lowercase plural kind. |
596+
**name** | **String**| the custom object&#39;s name |
597+
**body** | **Object**| The JSON schema of the Resource to patch. |
598+
599+
### Return type
600+
601+
**Object**
602+
603+
### Authorization
604+
605+
[BearerToken](../README.md#BearerToken)
606+
607+
### HTTP request headers
608+
609+
- **Content-Type**: application/merge-patch+json
610+
- **Accept**: application/json
611+
612+
<a name="patchNamespacedCustomObject"></a>
613+
# **patchNamespacedCustomObject**
614+
> Object patchNamespacedCustomObject(group, version, namespace, plural, name, body)
615+
616+
617+
618+
patch the specified namespace scoped custom object
619+
620+
### Example
621+
```java
622+
// Import classes:
623+
//import io.kubernetes.client.ApiClient;
624+
//import io.kubernetes.client.ApiException;
625+
//import io.kubernetes.client.Configuration;
626+
//import io.kubernetes.client.auth.*;
627+
//import io.kubernetes.client.apis.CustomObjectsApi;
628+
629+
ApiClient defaultClient = Configuration.getDefaultApiClient();
630+
631+
// Configure API key authorization: BearerToken
632+
ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken");
633+
BearerToken.setApiKey("YOUR API KEY");
634+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
635+
//BearerToken.setApiKeyPrefix("Token");
636+
637+
CustomObjectsApi apiInstance = new CustomObjectsApi();
638+
String group = "group_example"; // String | the custom resource's group
639+
String version = "version_example"; // String | the custom resource's version
640+
String namespace = "namespace_example"; // String | The custom resource's namespace
641+
String plural = "plural_example"; // String | the custom resource's plural name. For TPRs this would be lowercase plural kind.
642+
String name = "name_example"; // String | the custom object's name
643+
Object body = null; // Object | The JSON schema of the Resource to patch.
644+
try {
645+
Object result = apiInstance.patchNamespacedCustomObject(group, version, namespace, plural, name, body);
646+
System.out.println(result);
647+
} catch (ApiException e) {
648+
System.err.println("Exception when calling CustomObjectsApi#patchNamespacedCustomObject");
649+
e.printStackTrace();
650+
}
651+
```
652+
653+
### Parameters
654+
655+
Name | Type | Description | Notes
656+
------------- | ------------- | ------------- | -------------
657+
**group** | **String**| the custom resource&#39;s group |
658+
**version** | **String**| the custom resource&#39;s version |
659+
**namespace** | **String**| The custom resource&#39;s namespace |
660+
**plural** | **String**| the custom resource&#39;s plural name. For TPRs this would be lowercase plural kind. |
661+
**name** | **String**| the custom object&#39;s name |
662+
**body** | **Object**| The JSON schema of the Resource to patch. |
663+
664+
### Return type
665+
666+
**Object**
667+
668+
### Authorization
669+
670+
[BearerToken](../README.md#BearerToken)
671+
672+
### HTTP request headers
673+
674+
- **Content-Type**: application/merge-patch+json
675+
- **Accept**: application/json
676+
547677
<a name="replaceClusterCustomObject"></a>
548678
# **replaceClusterCustomObject**
549679
> Object replaceClusterCustomObject(group, version, plural, name, body)

kubernetes/docs/V1HTTPGetAction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**host** | **String** | Host name to connect to, defaults to the pod IP. You probably want to set \&quot;Host\&quot; in httpHeaders instead. | [optional]
88
**httpHeaders** | [**List&lt;V1HTTPHeader&gt;**](V1HTTPHeader.md) | Custom headers to set in the request. HTTP allows repeated headers. | [optional]
99
**path** | **String** | Path to access on the HTTP server. | [optional]
10-
**port** | [**IntOrString**](IntOrString.md) | Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. |
10+
**port** | **String** | Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. |
1111
**scheme** | **String** | Scheme to use for connecting to the host. Defaults to HTTP. | [optional]
1212

1313

kubernetes/docs/V1NetworkPolicyPort.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**port** | [**IntOrString**](IntOrString.md) | The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. | [optional]
7+
**port** | **String** | The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. | [optional]
88
**protocol** | **String** | The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. | [optional]
99

1010

kubernetes/docs/V1PersistentVolumeSpec.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Name | Type | Description | Notes
2727
**portworxVolume** | [**V1PortworxVolumeSource**](V1PortworxVolumeSource.md) | PortworxVolume represents a portworx volume attached and mounted on kubelets host machine | [optional]
2828
**quobyte** | [**V1QuobyteVolumeSource**](V1QuobyteVolumeSource.md) | Quobyte represents a Quobyte mount on the host that shares a pod&#39;s lifetime | [optional]
2929
**rbd** | [**V1RBDVolumeSource**](V1RBDVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod&#39;s lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional]
30-
**scaleIO** | [**V1ScaleIOVolumeSource**](V1ScaleIOVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional]
30+
**scaleIO** | [**V1ScaleIOPersistentVolumeSource**](V1ScaleIOPersistentVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional]
3131
**storageClassName** | **String** | Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. | [optional]
3232
**storageos** | [**V1StorageOSPersistentVolumeSource**](V1StorageOSPersistentVolumeSource.md) | StorageOS represents a StorageOS volume that is attached to the kubelet&#39;s host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md | [optional]
3333
**vsphereVolume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | [optional]

kubernetes/docs/V1ScaleIOVolumeSource.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**fsType** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \&quot;ext4\&quot;, \&quot;xfs\&quot;, \&quot;ntfs\&quot;. Implicitly inferred to be \&quot;ext4\&quot; if unspecified. | [optional]
88
**gateway** | **String** | The host address of the ScaleIO API Gateway. |
9-
**protectionDomain** | **String** | The name of the Protection Domain for the configured storage (defaults to \&quot;default\&quot;). | [optional]
9+
**protectionDomain** | **String** | The name of the ScaleIO Protection Domain for the configured storage. | [optional]
1010
**readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional]
1111
**secretRef** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. |
1212
**sslEnabled** | **Boolean** | Flag to enable/disable SSL communication with Gateway, default false | [optional]
13-
**storageMode** | **String** | Indicates whether the storage for a volume should be thick or thin (defaults to \&quot;thin\&quot;). | [optional]
14-
**storagePool** | **String** | The Storage Pool associated with the protection domain (defaults to \&quot;default\&quot;). | [optional]
13+
**storageMode** | **String** | Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. | [optional]
14+
**storagePool** | **String** | The ScaleIO Storage Pool associated with the protection domain. | [optional]
1515
**system** | **String** | The name of the storage system as configured in ScaleIO. |
1616
**volumeName** | **String** | The name of a volume already created in the ScaleIO system that is associated with this volume source. | [optional]
1717

kubernetes/docs/V1ServicePort.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**nodePort** | **Integer** | The port on each node on which this service is exposed when type&#x3D;NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport | [optional]
99
**port** | **Integer** | The port that will be exposed by this service. |
1010
**protocol** | **String** | The IP protocol for this port. Supports \&quot;TCP\&quot; and \&quot;UDP\&quot;. Default is TCP. | [optional]
11-
**targetPort** | [**IntOrString**](IntOrString.md) | Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod&#39;s container ports. If this is not specified, the value of the &#39;port&#39; field is used (an identity map). This field is ignored for services with clusterIP&#x3D;None, and should be omitted or set equal to the &#39;port&#39; field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service | [optional]
11+
**targetPort** | **String** | Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod&#39;s container ports. If this is not specified, the value of the &#39;port&#39; field is used (an identity map). This field is ignored for services with clusterIP&#x3D;None, and should be omitted or set equal to the &#39;port&#39; field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service | [optional]
1212

1313

1414

kubernetes/docs/V1TCPSocketAction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**host** | **String** | Optional: Host name to connect to, defaults to the pod IP. | [optional]
8-
**port** | [**IntOrString**](IntOrString.md) | Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. |
8+
**port** | **String** | Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. |
99

1010

1111

kubernetes/docs/V1beta1IngressBackend.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**serviceName** | **String** | Specifies the name of the referenced service. |
8-
**servicePort** | [**IntOrString**](IntOrString.md) | Specifies the port of the referenced service. |
8+
**servicePort** | **String** | Specifies the port of the referenced service. |
99

1010

1111

kubernetes/docs/V1beta1NetworkPolicyPort.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**port** | [**IntOrString**](IntOrString.md) | If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. | [optional]
7+
**port** | **String** | If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. | [optional]
88
**protocol** | **String** | Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. | [optional]
99

1010

kubernetes/docs/V1beta1PodDisruptionBudgetSpec.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**maxUnavailable** | [**IntOrString**](IntOrString.md) | An eviction is allowed if at most \&quot;maxUnavailable\&quot; pods selected by \&quot;selector\&quot; are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \&quot;minAvailable\&quot;. | [optional]
8-
**minAvailable** | [**IntOrString**](IntOrString.md) | An eviction is allowed if at least \&quot;minAvailable\&quot; pods selected by \&quot;selector\&quot; 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 \&quot;100%\&quot;. | [optional]
7+
**maxUnavailable** | **String** | An eviction is allowed if at most \&quot;maxUnavailable\&quot; pods selected by \&quot;selector\&quot; are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \&quot;minAvailable\&quot;. | [optional]
8+
**minAvailable** | **String** | An eviction is allowed if at least \&quot;minAvailable\&quot; pods selected by \&quot;selector\&quot; 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 \&quot;100%\&quot;. | [optional]
99
**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label query over pods whose evictions are managed by the disruption budget. | [optional]
1010

1111

0 commit comments

Comments
 (0)