Skip to content

Commit 2c3457d

Browse files
authored
Merge pull request #84 from mbohlool/update-1.8
Update client to kubernetes 1.8
2 parents 60a8cd1 + 3d70ca4 commit 2c3457d

File tree

902 files changed

+116441
-27340
lines changed

Some content is hidden

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

902 files changed

+116441
-27340
lines changed

examples/src/main/java/io/kubernetes/client/examples/Example.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static void main(String[] args) throws IOException, ApiException{
3737
Configuration.setDefaultApiClient(client);
3838

3939
CoreV1Api api = new CoreV1Api();
40-
V1PodList list = api.listPodForAllNamespaces(null, null, null, null, null, null);
40+
V1PodList list = api.listPodForAllNamespaces(null, null, null, null, null, null, null, null, null);
4141
for (V1Pod item : list.getItems()) {
4242
System.out.println(item.getMetadata().getName());
4343
}

examples/src/main/java/io/kubernetes/client/examples/WatchExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static void main(String[] args) throws IOException, ApiException{
3535

3636
Watch<V1Namespace> watch = Watch.createWatch(
3737
client,
38-
api.listNamespaceCall(null, null, null, null, 5, Boolean.TRUE, null, null),
38+
api.listNamespaceCall(null, null, null, null, null, 5, null, null, Boolean.TRUE, null, null),
3939
new TypeToken<Watch.Response<V1Namespace>>(){}.getType());
4040

4141
for (Watch.Response<V1Namespace> item : watch) {

kubernetes/.swagger-codegen/COMMIT

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Requested Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5
2+
Actual Commit: 5d263e1c9cdd395d93adf061c63d5ef58a8e9ec5
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# AdmissionregistrationApi
2+
3+
All URIs are relative to *https://localhost*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getAPIGroup**](AdmissionregistrationApi.md#getAPIGroup) | **GET** /apis/admissionregistration.k8s.io/ |
8+
9+
10+
<a name="getAPIGroup"></a>
11+
# **getAPIGroup**
12+
> V1APIGroup getAPIGroup()
13+
14+
15+
16+
get information of a group
17+
18+
### Example
19+
```java
20+
// Import classes:
21+
//import io.kubernetes.client.ApiClient;
22+
//import io.kubernetes.client.ApiException;
23+
//import io.kubernetes.client.Configuration;
24+
//import io.kubernetes.client.auth.*;
25+
//import io.kubernetes.client.apis.AdmissionregistrationApi;
26+
27+
ApiClient defaultClient = Configuration.getDefaultApiClient();
28+
29+
// Configure API key authorization: BearerToken
30+
ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken");
31+
BearerToken.setApiKey("YOUR API KEY");
32+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
33+
//BearerToken.setApiKeyPrefix("Token");
34+
35+
AdmissionregistrationApi apiInstance = new AdmissionregistrationApi();
36+
try {
37+
V1APIGroup result = apiInstance.getAPIGroup();
38+
System.out.println(result);
39+
} catch (ApiException e) {
40+
System.err.println("Exception when calling AdmissionregistrationApi#getAPIGroup");
41+
e.printStackTrace();
42+
}
43+
```
44+
45+
### Parameters
46+
This endpoint does not need any parameter.
47+
48+
### Return type
49+
50+
[**V1APIGroup**](V1APIGroup.md)
51+
52+
### Authorization
53+
54+
[BearerToken](../README.md#BearerToken)
55+
56+
### HTTP request headers
57+
58+
- **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
59+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
60+

kubernetes/docs/AdmissionregistrationV1alpha1Api.md

Lines changed: 960 additions & 0 deletions
Large diffs are not rendered by default.

kubernetes/docs/ApiextensionsApi.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# ApiextensionsApi
2+
3+
All URIs are relative to *https://localhost*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getAPIGroup**](ApiextensionsApi.md#getAPIGroup) | **GET** /apis/apiextensions.k8s.io/ |
8+
9+
10+
<a name="getAPIGroup"></a>
11+
# **getAPIGroup**
12+
> V1APIGroup getAPIGroup()
13+
14+
15+
16+
get information of a group
17+
18+
### Example
19+
```java
20+
// Import classes:
21+
//import io.kubernetes.client.ApiClient;
22+
//import io.kubernetes.client.ApiException;
23+
//import io.kubernetes.client.Configuration;
24+
//import io.kubernetes.client.auth.*;
25+
//import io.kubernetes.client.apis.ApiextensionsApi;
26+
27+
ApiClient defaultClient = Configuration.getDefaultApiClient();
28+
29+
// Configure API key authorization: BearerToken
30+
ApiKeyAuth BearerToken = (ApiKeyAuth) defaultClient.getAuthentication("BearerToken");
31+
BearerToken.setApiKey("YOUR API KEY");
32+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
33+
//BearerToken.setApiKeyPrefix("Token");
34+
35+
ApiextensionsApi apiInstance = new ApiextensionsApi();
36+
try {
37+
V1APIGroup result = apiInstance.getAPIGroup();
38+
System.out.println(result);
39+
} catch (ApiException e) {
40+
System.err.println("Exception when calling ApiextensionsApi#getAPIGroup");
41+
e.printStackTrace();
42+
}
43+
```
44+
45+
### Parameters
46+
This endpoint does not need any parameter.
47+
48+
### Return type
49+
50+
[**V1APIGroup**](V1APIGroup.md)
51+
52+
### Authorization
53+
54+
[BearerToken](../README.md#BearerToken)
55+
56+
### HTTP request headers
57+
58+
- **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf
59+
- **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf
60+

0 commit comments

Comments
 (0)