Skip to content

Regenerate Java to pick up byte serialization fixes. #204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions kubernetes/.swagger-codegen/COMMIT
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Requested Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5
Actual Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5
Requested Commit: 47111b3241267d732dc400db2745e61d126ccc87
Actual Commit: 47111b3241267d732dc400db2745e61d126ccc87
2 changes: 1 addition & 1 deletion kubernetes/.swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.3.0-SNAPSHOT
2.4.0-SNAPSHOT
4 changes: 2 additions & 2 deletions kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**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]
**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]
**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]



130 changes: 130 additions & 0 deletions kubernetes/docs/CustomObjectsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Method | HTTP request | Description
[**getNamespacedCustomObject**](CustomObjectsApi.md#getNamespacedCustomObject) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} |
[**listClusterCustomObject**](CustomObjectsApi.md#listClusterCustomObject) | **GET** /apis/{group}/{version}/{plural} |
[**listNamespacedCustomObject**](CustomObjectsApi.md#listNamespacedCustomObject) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural} |
[**patchClusterCustomObject**](CustomObjectsApi.md#patchClusterCustomObject) | **PATCH** /apis/{group}/{version}/{plural}/{name} |
[**patchNamespacedCustomObject**](CustomObjectsApi.md#patchNamespacedCustomObject) | **PATCH** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} |
[**replaceClusterCustomObject**](CustomObjectsApi.md#replaceClusterCustomObject) | **PUT** /apis/{group}/{version}/{plural}/{name} |
[**replaceNamespacedCustomObject**](CustomObjectsApi.md#replaceNamespacedCustomObject) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} |

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

<a name="patchClusterCustomObject"></a>
# **patchClusterCustomObject**
> Object patchClusterCustomObject(group, version, plural, name, body)



patch the specified cluster scoped custom object

### Example
```java
// Import classes:
//import io.kubernetes.client.ApiClient;
//import io.kubernetes.client.ApiException;
//import io.kubernetes.client.Configuration;
//import io.kubernetes.client.auth.*;
//import io.kubernetes.client.apis.CustomObjectsApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: BearerToken
ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken");
BearerToken.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//BearerToken.setApiKeyPrefix("Token");

CustomObjectsApi apiInstance = new CustomObjectsApi();
String group = "group_example"; // String | the custom resource's group
String version = "version_example"; // String | the custom resource's version
String plural = "plural_example"; // String | the custom object's plural name. For TPRs this would be lowercase plural kind.
String name = "name_example"; // String | the custom object's name
Object body = null; // Object | The JSON schema of the Resource to patch.
try {
Object result = apiInstance.patchClusterCustomObject(group, version, plural, name, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CustomObjectsApi#patchClusterCustomObject");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**group** | **String**| the custom resource&#39;s group |
**version** | **String**| the custom resource&#39;s version |
**plural** | **String**| the custom object&#39;s plural name. For TPRs this would be lowercase plural kind. |
**name** | **String**| the custom object&#39;s name |
**body** | **Object**| The JSON schema of the Resource to patch. |

### Return type

**Object**

### Authorization

[BearerToken](../README.md#BearerToken)

### HTTP request headers

- **Content-Type**: application/merge-patch+json
- **Accept**: application/json

<a name="patchNamespacedCustomObject"></a>
# **patchNamespacedCustomObject**
> Object patchNamespacedCustomObject(group, version, namespace, plural, name, body)



patch the specified namespace scoped custom object

### Example
```java
// Import classes:
//import io.kubernetes.client.ApiClient;
//import io.kubernetes.client.ApiException;
//import io.kubernetes.client.Configuration;
//import io.kubernetes.client.auth.*;
//import io.kubernetes.client.apis.CustomObjectsApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: BearerToken
ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken");
BearerToken.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//BearerToken.setApiKeyPrefix("Token");

CustomObjectsApi apiInstance = new CustomObjectsApi();
String group = "group_example"; // String | the custom resource's group
String version = "version_example"; // String | the custom resource's version
String namespace = "namespace_example"; // String | The custom resource's namespace
String plural = "plural_example"; // String | the custom resource's plural name. For TPRs this would be lowercase plural kind.
String name = "name_example"; // String | the custom object's name
Object body = null; // Object | The JSON schema of the Resource to patch.
try {
Object result = apiInstance.patchNamespacedCustomObject(group, version, namespace, plural, name, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CustomObjectsApi#patchNamespacedCustomObject");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**group** | **String**| the custom resource&#39;s group |
**version** | **String**| the custom resource&#39;s version |
**namespace** | **String**| The custom resource&#39;s namespace |
**plural** | **String**| the custom resource&#39;s plural name. For TPRs this would be lowercase plural kind. |
**name** | **String**| the custom object&#39;s name |
**body** | **Object**| The JSON schema of the Resource to patch. |

### Return type

**Object**

### Authorization

[BearerToken](../README.md#BearerToken)

### HTTP request headers

- **Content-Type**: application/merge-patch+json
- **Accept**: application/json

<a name="replaceClusterCustomObject"></a>
# **replaceClusterCustomObject**
> Object replaceClusterCustomObject(group, version, plural, name, body)
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/docs/V1HTTPGetAction.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**host** | **String** | Host name to connect to, defaults to the pod IP. You probably want to set \&quot;Host\&quot; in httpHeaders instead. | [optional]
**httpHeaders** | [**List&lt;V1HTTPHeader&gt;**](V1HTTPHeader.md) | Custom headers to set in the request. HTTP allows repeated headers. | [optional]
**path** | **String** | Path to access on the HTTP server. | [optional]
**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. |
**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. |
**scheme** | **String** | Scheme to use for connecting to the host. Defaults to HTTP. | [optional]


Expand Down
2 changes: 1 addition & 1 deletion kubernetes/docs/V1NetworkPolicyPort.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**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]
**protocol** | **String** | The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. | [optional]


Expand Down
2 changes: 1 addition & 1 deletion kubernetes/docs/V1PersistentVolumeSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Name | Type | Description | Notes
**portworxVolume** | [**V1PortworxVolumeSource**](V1PortworxVolumeSource.md) | PortworxVolume represents a portworx volume attached and mounted on kubelets host machine | [optional]
**quobyte** | [**V1QuobyteVolumeSource**](V1QuobyteVolumeSource.md) | Quobyte represents a Quobyte mount on the host that shares a pod&#39;s lifetime | [optional]
**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]
**scaleIO** | [**V1ScaleIOVolumeSource**](V1ScaleIOVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional]
**scaleIO** | [**V1ScaleIOPersistentVolumeSource**](V1ScaleIOPersistentVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional]
**storageClassName** | **String** | Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. | [optional]
**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]
**vsphereVolume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | [optional]
Expand Down
19 changes: 19 additions & 0 deletions kubernetes/docs/V1ScaleIOPersistentVolumeSource.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

# V1ScaleIOPersistentVolumeSource

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**gateway** | **String** | The host address of the ScaleIO API Gateway. |
**protectionDomain** | **String** | The name of the ScaleIO Protection Domain for the configured storage. | [optional]
**readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional]
**secretRef** | [**V1SecretReference**](V1SecretReference.md) | SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. |
**sslEnabled** | **Boolean** | Flag to enable/disable SSL communication with Gateway, default false | [optional]
**storageMode** | **String** | Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. | [optional]
**storagePool** | **String** | The ScaleIO Storage Pool associated with the protection domain. | [optional]
**system** | **String** | The name of the storage system as configured in ScaleIO. |
**volumeName** | **String** | The name of a volume already created in the ScaleIO system that is associated with this volume source. | [optional]



6 changes: 3 additions & 3 deletions kubernetes/docs/V1ScaleIOVolumeSource.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**gateway** | **String** | The host address of the ScaleIO API Gateway. |
**protectionDomain** | **String** | The name of the Protection Domain for the configured storage (defaults to \&quot;default\&quot;). | [optional]
**protectionDomain** | **String** | The name of the ScaleIO Protection Domain for the configured storage. | [optional]
**readOnly** | **Boolean** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional]
**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. |
**sslEnabled** | **Boolean** | Flag to enable/disable SSL communication with Gateway, default false | [optional]
**storageMode** | **String** | Indicates whether the storage for a volume should be thick or thin (defaults to \&quot;thin\&quot;). | [optional]
**storagePool** | **String** | The Storage Pool associated with the protection domain (defaults to \&quot;default\&quot;). | [optional]
**storageMode** | **String** | Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. | [optional]
**storagePool** | **String** | The ScaleIO Storage Pool associated with the protection domain. | [optional]
**system** | **String** | The name of the storage system as configured in ScaleIO. |
**volumeName** | **String** | The name of a volume already created in the ScaleIO system that is associated with this volume source. | [optional]

Expand Down
2 changes: 1 addition & 1 deletion kubernetes/docs/V1ServicePort.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**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]
**port** | **Integer** | The port that will be exposed by this service. |
**protocol** | **String** | The IP protocol for this port. Supports \&quot;TCP\&quot; and \&quot;UDP\&quot;. Default is TCP. | [optional]
**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]
**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]



2 changes: 1 addition & 1 deletion kubernetes/docs/V1TCPSocketAction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**host** | **String** | Optional: Host name to connect to, defaults to the pod IP. | [optional]
**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. |
**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. |



2 changes: 1 addition & 1 deletion kubernetes/docs/V1beta1IngressBackend.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**serviceName** | **String** | Specifies the name of the referenced service. |
**servicePort** | [**IntOrString**](IntOrString.md) | Specifies the port of the referenced service. |
**servicePort** | **String** | Specifies the port of the referenced service. |



2 changes: 1 addition & 1 deletion kubernetes/docs/V1beta1NetworkPolicyPort.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**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]
**protocol** | **String** | Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. | [optional]


Expand Down
Loading