Skip to content

Commit

Permalink
regenerate models using openapi-generator v4.1.2
Browse files Browse the repository at this point in the history
depends on yue9944882/gen#1
  • Loading branch information
fabiokung committed Oct 22, 2019
1 parent c225648 commit b965306
Show file tree
Hide file tree
Showing 2,028 changed files with 195,573 additions and 109,192 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions kubernetes/.openapi-generator/COMMIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Requested Commit: mapping-ref-string
Actual Commit: 1d94be5b9b6fb3971962eafcad5135066e2ffb15
1 change: 1 addition & 0 deletions kubernetes/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.2.0-SNAPSHOT
1 change: 1 addition & 0 deletions kubernetes/.openapi-generator/swagger.json.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f8a20b504132e3b1073ac861ee63bbf415ccfb26a8701d2f863f526597de8db8
61 changes: 38 additions & 23 deletions kubernetes/docs/AdmissionregistrationApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AdmissionregistrationApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
Expand All @@ -18,27 +18,36 @@ 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();
import io.kubernetes.client.ApiClient;
import io.kubernetes.client.ApiException;
import io.kubernetes.client.Configuration;
import io.kubernetes.client.auth.*;
import io.kubernetes.client.models.*;
import io.kubernetes.client.apis.AdmissionregistrationApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");

// 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(defaultClient);
try {
V1APIGroup result = apiInstance.getAPIGroup();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AdmissionregistrationApi#getAPIGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

Expand All @@ -55,6 +64,12 @@ This endpoint does not need any parameter.

### HTTP request headers

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

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | OK | - |
**401** | Unauthorized | - |

1,107 changes: 684 additions & 423 deletions kubernetes/docs/AdmissionregistrationV1beta1Api.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@


# AdmissionregistrationV1beta1ServiceReference

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | `name` is the name of the service. Required |
**namespace** | **String** | `namespace` is the namespace of the service. Required |
**path** | **String** | `path` is an optional URL path which will be sent in any request to this service. | [optional]
**port** | **Integer** | If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive). | [optional]



Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@


# AdmissionregistrationV1beta1WebhookClientConfig

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**caBundle** | **byte[]** | `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. | [optional]
**service** | [**AdmissionregistrationV1beta1ServiceReference**](AdmissionregistrationV1beta1ServiceReference.md) | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. | [optional]
**service** | [**AdmissionregistrationV1beta1ServiceReference**](AdmissionregistrationV1beta1ServiceReference.md) | | [optional]
**url** | **String** | `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. | [optional]


Expand Down
61 changes: 38 additions & 23 deletions kubernetes/docs/ApiextensionsApi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ApiextensionsApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
Expand All @@ -18,27 +18,36 @@ 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();
import io.kubernetes.client.ApiClient;
import io.kubernetes.client.ApiException;
import io.kubernetes.client.Configuration;
import io.kubernetes.client.auth.*;
import io.kubernetes.client.models.*;
import io.kubernetes.client.apis.ApiextensionsApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");

// 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(defaultClient);
try {
V1APIGroup result = apiInstance.getAPIGroup();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApiextensionsApi#getAPIGroup");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

Expand All @@ -55,6 +64,12 @@ This endpoint does not need any parameter.

### HTTP request headers

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

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | OK | - |
**401** | Unauthorized | - |

Loading

0 comments on commit b965306

Please sign in to comment.