Skip to content

Commit dffad32

Browse files
committed
Update client ot kubernetes 1.8
1 parent b7ff035 commit dffad32

File tree

1,621 files changed

+175861
-86814
lines changed

Some content is hidden

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

1,621 files changed

+175861
-86814
lines changed

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.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# ApiAdmissionregistrationV1alpha1AdmissionHookClientConfig
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**caBundle** | **byte[]** | CABundle is a PEM encoded CA bundle which will be used to validate webhook&#39;s server certificate. Required |
8+
**service** | [**ApiAdmissionregistrationV1alpha1ServiceReference**](ApiAdmissionregistrationV1alpha1ServiceReference.md) | Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required |
9+
10+
11+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# ApiAdmissionregistrationV1alpha1ExternalAdmissionHook
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**clientConfig** | [**ApiAdmissionregistrationV1alpha1AdmissionHookClientConfig**](ApiAdmissionregistrationV1alpha1AdmissionHookClientConfig.md) | ClientConfig defines how to communicate with the hook. Required |
8+
**failurePolicy** | **String** | FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. | [optional]
9+
**name** | **String** | The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \&quot;imagepolicy\&quot; is the name of the webhook, and kubernetes.io is the name of the organization. Required. |
10+
**rules** | [**List&lt;ApiAdmissionregistrationV1alpha1RuleWithOperations&gt;**](ApiAdmissionregistrationV1alpha1RuleWithOperations.md) | Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. | [optional]
11+
12+
13+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# ApiAdmissionregistrationV1alpha1ExternalAdmissionHookConfiguration
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
8+
**externalAdmissionHooks** | [**List&lt;ApiAdmissionregistrationV1alpha1ExternalAdmissionHook&gt;**](ApiAdmissionregistrationV1alpha1ExternalAdmissionHook.md) | ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations. | [optional]
9+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
10+
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional]
11+
12+
13+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# ApiAdmissionregistrationV1alpha1ExternalAdmissionHookConfigurationList
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
8+
**items** | [**List&lt;ApiAdmissionregistrationV1alpha1ExternalAdmissionHookConfiguration&gt;**](ApiAdmissionregistrationV1alpha1ExternalAdmissionHookConfiguration.md) | List of ExternalAdmissionHookConfiguration. |
9+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
10+
**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
11+
12+
13+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# ApiAdmissionregistrationV1alpha1Initializer
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | **String** | Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where \&quot;alwayspullimages\&quot; is the name of the webhook, and kubernetes.io is the name of the organization. Required |
8+
**rules** | [**List&lt;ApiAdmissionregistrationV1alpha1Rule&gt;**](ApiAdmissionregistrationV1alpha1Rule.md) | Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.Resources must not include subresources. | [optional]
9+
10+
11+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# ApiAdmissionregistrationV1alpha1InitializerConfiguration
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
8+
**initializers** | [**List&lt;ApiAdmissionregistrationV1alpha1Initializer&gt;**](ApiAdmissionregistrationV1alpha1Initializer.md) | Initializers is a list of resources and their default initializers Order-sensitive. When merging multiple InitializerConfigurations, we sort the initializers from different InitializerConfigurations by the name of the InitializerConfigurations; the order of the initializers from the same InitializerConfiguration is preserved. | [optional]
9+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
10+
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional]
11+
12+
13+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# ApiAdmissionregistrationV1alpha1InitializerConfigurationList
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
8+
**items** | [**List&lt;ApiAdmissionregistrationV1alpha1InitializerConfiguration&gt;**](ApiAdmissionregistrationV1alpha1InitializerConfiguration.md) | List of InitializerConfiguration. |
9+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
10+
**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
11+
12+
13+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# ApiAdmissionregistrationV1alpha1Rule
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiGroups** | **List&lt;String&gt;** | APIGroups is the API groups the resources belong to. &#39;*&#39; is all groups. If &#39;*&#39; is present, the length of the slice must be one. Required. | [optional]
8+
**apiVersions** | **List&lt;String&gt;** | APIVersions is the API versions the resources belong to. &#39;*&#39; is all versions. If &#39;*&#39; is present, the length of the slice must be one. Required. | [optional]
9+
**resources** | **List&lt;String&gt;** | Resources is a list of resources this rule applies to. For example: &#39;pods&#39; means pods. &#39;pods/log&#39; means the log subresource of pods. &#39;*&#39; means all resources, but not subresources. &#39;pods/_*&#39; means all subresources of pods. &#39;*_/scale&#39; means all scale subresources. &#39;*_/_*&#39; means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. | [optional]
10+
11+
12+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# ApiAdmissionregistrationV1alpha1RuleWithOperations
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiGroups** | **List&lt;String&gt;** | APIGroups is the API groups the resources belong to. &#39;*&#39; is all groups. If &#39;*&#39; is present, the length of the slice must be one. Required. | [optional]
8+
**apiVersions** | **List&lt;String&gt;** | APIVersions is the API versions the resources belong to. &#39;*&#39; is all versions. If &#39;*&#39; is present, the length of the slice must be one. Required. | [optional]
9+
**operations** | **List&lt;String&gt;** | Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If &#39;*&#39; is present, the length of the slice must be one. Required. | [optional]
10+
**resources** | **List&lt;String&gt;** | Resources is a list of resources this rule applies to. For example: &#39;pods&#39; means pods. &#39;pods/log&#39; means the log subresource of pods. &#39;*&#39; means all resources, but not subresources. &#39;pods/_*&#39; means all subresources of pods. &#39;*_/scale&#39; means all scale subresources. &#39;*_/_*&#39; means all resources and their subresources. If wildcard is present, the validation rule will ensure resources do not overlap with each other. Depending on the enclosing object, subresources might not be allowed. Required. | [optional]
11+
12+
13+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# ApiAdmissionregistrationV1alpha1ServiceReference
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | **String** | Name is the name of the service Required |
8+
**namespace** | **String** | Namespace is the namespace of the service Required |
9+
10+
11+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# ApiAppsV1beta1ControllerRevision
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
8+
**data** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Data is the serialized representation of the state. | [optional]
9+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
10+
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional]
11+
**revision** | **Long** | Revision indicates the revision of the state represented by Data. |
12+
13+
14+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# ApiAppsV1beta1ControllerRevisionList
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
8+
**items** | [**List&lt;ApiAppsV1beta1ControllerRevision&gt;**](ApiAppsV1beta1ControllerRevision.md) | Items is the list of ControllerRevisions |
9+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
10+
**metadata** | [**V1ListMeta**](V1ListMeta.md) | More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional]
11+
12+
13+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# ApiAppsV1beta1Deployment
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
8+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
9+
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional]
10+
**spec** | [**ApiAppsV1beta1DeploymentSpec**](ApiAppsV1beta1DeploymentSpec.md) | Specification of the desired behavior of the Deployment. | [optional]
11+
**status** | [**ApiAppsV1beta1DeploymentStatus**](ApiAppsV1beta1DeploymentStatus.md) | Most recently observed status of the Deployment. | [optional]
12+
13+
14+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# ApiAppsV1beta1DeploymentCondition
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional]
8+
**lastUpdateTime** | [**DateTime**](DateTime.md) | The last time this condition was updated. | [optional]
9+
**message** | **String** | A human readable message indicating details about the transition. | [optional]
10+
**reason** | **String** | The reason for the condition&#39;s last transition. | [optional]
11+
**status** | **String** | Status of the condition, one of True, False, Unknown. |
12+
**type** | **String** | Type of deployment condition. |
13+
14+
15+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# ApiAppsV1beta1DeploymentList
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
8+
**items** | [**List&lt;ApiAppsV1beta1Deployment&gt;**](ApiAppsV1beta1Deployment.md) | Items is the list of Deployments. |
9+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
10+
**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional]
11+
12+
13+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
# ApiAppsV1beta1DeploymentRollback
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**apiVersion** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional]
8+
**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]
9+
**name** | **String** | Required: This must match the Name of a deployment. |
10+
**rollbackTo** | [**ApiAppsV1beta1RollbackConfig**](ApiAppsV1beta1RollbackConfig.md) | The config of this deployment rollback. |
11+
**updatedAnnotations** | **Map&lt;String, String&gt;** | The annotations to be updated to a deployment | [optional]
12+
13+
14+

0 commit comments

Comments
 (0)