Skip to content

Commit

Permalink
Merge pull request #84 from mbohlool/update-1.8
Browse files Browse the repository at this point in the history
Update client to kubernetes 1.8
  • Loading branch information
lwander authored Oct 3, 2017
2 parents 60a8cd1 + 3d70ca4 commit 2c3457d
Show file tree
Hide file tree
Showing 902 changed files with 116,441 additions and 27,340 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static void main(String[] args) throws IOException, ApiException{
Configuration.setDefaultApiClient(client);

CoreV1Api api = new CoreV1Api();
V1PodList list = api.listPodForAllNamespaces(null, null, null, null, null, null);
V1PodList list = api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null);
for (V1Pod item : list.getItems()) {
System.out.println(item.getMetadata().getName());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static void main(String[] args) throws IOException, ApiException{

Watch<V1Namespace> watch = Watch.createWatch(
client,
api.listNamespaceCall(null, null, null, null, 5, Boolean.TRUE, null, null),
api.listNamespaceCall(null, null, null, null, null, 5, null, null, Boolean.TRUE, null, null),
new TypeToken<Watch.Response<V1Namespace>>(){}.getType());

for (Watch.Response<V1Namespace> item : watch) {
Expand Down
2 changes: 2 additions & 0 deletions kubernetes/.swagger-codegen/COMMIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Requested Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5
Actual Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5
60 changes: 60 additions & 0 deletions kubernetes/docs/AdmissionregistrationApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# AdmissionregistrationApi

All URIs are relative to *https://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**getAPIGroup**](AdmissionregistrationApi.md#getAPIGroup) | **GET** /apis/admissionregistration.k8s.io/ |


<a name="getAPIGroup"></a>
# **getAPIGroup**
> V1APIGroup getAPIGroup()


get information of a group

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

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

AdmissionregistrationApi apiInstance = new AdmissionregistrationApi();
try {
V1APIGroup result = apiInstance.getAPIGroup();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AdmissionregistrationApi#getAPIGroup");
e.printStackTrace();
}
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**V1APIGroup**](V1APIGroup.md)

### Authorization

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

### HTTP request headers

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

960 changes: 960 additions & 0 deletions kubernetes/docs/AdmissionregistrationV1alpha1Api.md

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions kubernetes/docs/ApiextensionsApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# ApiextensionsApi

All URIs are relative to *https://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**getAPIGroup**](ApiextensionsApi.md#getAPIGroup) | **GET** /apis/apiextensions.k8s.io/ |


<a name="getAPIGroup"></a>
# **getAPIGroup**
> V1APIGroup getAPIGroup()


get information of a group

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

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

ApiextensionsApi apiInstance = new ApiextensionsApi();
try {
V1APIGroup result = apiInstance.getAPIGroup();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApiextensionsApi#getAPIGroup");
e.printStackTrace();
}
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**V1APIGroup**](V1APIGroup.md)

### Authorization

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

### HTTP request headers

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

Loading

0 comments on commit 2c3457d

Please sign in to comment.