Skip to content

Regenerate client for Kubernetes 1.11 #311

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 2 commits into from
Jul 16, 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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# Maven builds
*/target/
target/

# Mobile Tools for Java (J2ME)
.mtj.tmp/
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,13 @@ All APIs and Models' documentation can be found at the [Generated client's READM

## Compatibility

| client version | Kubernetes 1.4 | Kubernetes 1.5 | Kubernetes 1.6 | Kubernetes 1.7 | Kubernetes 1.8 | Kubernetes 1.9 | Kubernetes 1.10 |
| client version | Kubernetes 1.4 | Kubernetes 1.5 | Kubernetes 1.6 | Kubernetes 1.7 | Kubernetes 1.8 | Kubernetes 1.9 | Kubernetes 1.10 | Kubernetes 1.11 |
|-------------------------|----------------|----------------|----------------|----------------|----------------|-----------|-----------|
| 0.1.0 | + | + | ✓ | - | - | - | - |
| 0.2.0 | + | + | ✓ | - | - | - | - |
| 1.0.0 | + | + | + | + | ✓ | - | - |
| 2.0.0-beta2 | + | + | + | + | + | + | ✓ |
| 0.1.0 | + | + | ✓ | - | - | - | - | - |
| 0.2.0 | + | + | ✓ | - | - | - | - | - |
| 1.0.0 | + | + | + | + | ✓ | - | - | - |
| 2.0.0 | + | + | + | + | + | + | ✓ | - |
| 3.0.0-beta1 | + | + | + | + | + | + | + | ✓ |

Key:

Expand Down
118 changes: 118 additions & 0 deletions kubernetes/docs/ApiextensionsV1beta1Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Method | HTTP request | Description
[**getAPIResources**](ApiextensionsV1beta1Api.md#getAPIResources) | **GET** /apis/apiextensions.k8s.io/v1beta1/ |
[**listCustomResourceDefinition**](ApiextensionsV1beta1Api.md#listCustomResourceDefinition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions |
[**patchCustomResourceDefinition**](ApiextensionsV1beta1Api.md#patchCustomResourceDefinition) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} |
[**patchCustomResourceDefinitionStatus**](ApiextensionsV1beta1Api.md#patchCustomResourceDefinitionStatus) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status |
[**readCustomResourceDefinition**](ApiextensionsV1beta1Api.md#readCustomResourceDefinition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} |
[**readCustomResourceDefinitionStatus**](ApiextensionsV1beta1Api.md#readCustomResourceDefinitionStatus) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status |
[**replaceCustomResourceDefinition**](ApiextensionsV1beta1Api.md#replaceCustomResourceDefinition) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} |
[**replaceCustomResourceDefinitionStatus**](ApiextensionsV1beta1Api.md#replaceCustomResourceDefinitionStatus) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status |

Expand Down Expand Up @@ -384,6 +386,65 @@ Name | Type | Description | Notes

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

### HTTP request headers

- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf

<a name="patchCustomResourceDefinitionStatus"></a>
# **patchCustomResourceDefinitionStatus**
> V1beta1CustomResourceDefinition patchCustomResourceDefinitionStatus(name, body, pretty)



partially update status of the specified CustomResourceDefinition

### 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.ApiextensionsV1beta1Api;

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");

ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api();
String name = "name_example"; // String | name of the CustomResourceDefinition
Object body = null; // Object |
String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed.
try {
V1beta1CustomResourceDefinition result = apiInstance.patchCustomResourceDefinitionStatus(name, body, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApiextensionsV1beta1Api#patchCustomResourceDefinitionStatus");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **String**| name of the CustomResourceDefinition |
**body** | **Object**| |
**pretty** | **String**| If &#39;true&#39;, then the output is pretty printed. | [optional]

### Return type

[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
Expand Down Expand Up @@ -445,6 +506,63 @@ Name | Type | Description | Notes

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

### HTTP request headers

- **Content-Type**: */*
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf

<a name="readCustomResourceDefinitionStatus"></a>
# **readCustomResourceDefinitionStatus**
> V1beta1CustomResourceDefinition readCustomResourceDefinitionStatus(name, pretty)



read status of the specified CustomResourceDefinition

### 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.ApiextensionsV1beta1Api;

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");

ApiextensionsV1beta1Api apiInstance = new ApiextensionsV1beta1Api();
String name = "name_example"; // String | name of the CustomResourceDefinition
String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed.
try {
V1beta1CustomResourceDefinition result = apiInstance.readCustomResourceDefinitionStatus(name, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApiextensionsV1beta1Api#readCustomResourceDefinitionStatus");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **String**| name of the CustomResourceDefinition |
**pretty** | **String**| If &#39;true&#39;, then the output is pretty printed. | [optional]

### Return type

[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: */*
Expand Down
118 changes: 118 additions & 0 deletions kubernetes/docs/ApiregistrationV1Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Method | HTTP request | Description
[**getAPIResources**](ApiregistrationV1Api.md#getAPIResources) | **GET** /apis/apiregistration.k8s.io/v1/ |
[**listAPIService**](ApiregistrationV1Api.md#listAPIService) | **GET** /apis/apiregistration.k8s.io/v1/apiservices |
[**patchAPIService**](ApiregistrationV1Api.md#patchAPIService) | **PATCH** /apis/apiregistration.k8s.io/v1/apiservices/{name} |
[**patchAPIServiceStatus**](ApiregistrationV1Api.md#patchAPIServiceStatus) | **PATCH** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status |
[**readAPIService**](ApiregistrationV1Api.md#readAPIService) | **GET** /apis/apiregistration.k8s.io/v1/apiservices/{name} |
[**readAPIServiceStatus**](ApiregistrationV1Api.md#readAPIServiceStatus) | **GET** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status |
[**replaceAPIService**](ApiregistrationV1Api.md#replaceAPIService) | **PUT** /apis/apiregistration.k8s.io/v1/apiservices/{name} |
[**replaceAPIServiceStatus**](ApiregistrationV1Api.md#replaceAPIServiceStatus) | **PUT** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status |

Expand Down Expand Up @@ -384,6 +386,65 @@ Name | Type | Description | Notes

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

### HTTP request headers

- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf

<a name="patchAPIServiceStatus"></a>
# **patchAPIServiceStatus**
> V1APIService patchAPIServiceStatus(name, body, pretty)



partially update status of the specified APIService

### 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.ApiregistrationV1Api;

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");

ApiregistrationV1Api apiInstance = new ApiregistrationV1Api();
String name = "name_example"; // String | name of the APIService
Object body = null; // Object |
String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed.
try {
V1APIService result = apiInstance.patchAPIServiceStatus(name, body, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApiregistrationV1Api#patchAPIServiceStatus");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **String**| name of the APIService |
**body** | **Object**| |
**pretty** | **String**| If &#39;true&#39;, then the output is pretty printed. | [optional]

### Return type

[**V1APIService**](V1APIService.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json
Expand Down Expand Up @@ -445,6 +506,63 @@ Name | Type | Description | Notes

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

### HTTP request headers

- **Content-Type**: */*
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf

<a name="readAPIServiceStatus"></a>
# **readAPIServiceStatus**
> V1APIService readAPIServiceStatus(name, pretty)



read status of the specified APIService

### 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.ApiregistrationV1Api;

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");

ApiregistrationV1Api apiInstance = new ApiregistrationV1Api();
String name = "name_example"; // String | name of the APIService
String pretty = "pretty_example"; // String | If 'true', then the output is pretty printed.
try {
V1APIService result = apiInstance.readAPIServiceStatus(name, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApiregistrationV1Api#readAPIServiceStatus");
e.printStackTrace();
}
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**name** | **String**| name of the APIService |
**pretty** | **String**| If &#39;true&#39;, then the output is pretty printed. | [optional]

### Return type

[**V1APIService**](V1APIService.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: */*
Expand Down
Loading