Skip to content

Commit

Permalink
Update client ot kubernetes 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mbohlool committed Sep 30, 2017
1 parent b7ff035 commit dffad32
Show file tree
Hide file tree
Showing 1,621 changed files with 175,861 additions and 86,814 deletions.
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.

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

# ApiAdmissionregistrationV1alpha1AdmissionHookClientConfig

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**caBundle** | **byte[]** | CABundle is a PEM encoded CA bundle which will be used to validate webhook&#39;s server certificate. Required |
**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 |



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

# ApiAdmissionregistrationV1alpha1ExternalAdmissionHook

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**clientConfig** | [**ApiAdmissionregistrationV1alpha1AdmissionHookClientConfig**](ApiAdmissionregistrationV1alpha1AdmissionHookClientConfig.md) | ClientConfig defines how to communicate with the hook. Required |
**failurePolicy** | **String** | FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. | [optional]
**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. |
**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]



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

# ApiAdmissionregistrationV1alpha1ExternalAdmissionHookConfiguration

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**externalAdmissionHooks** | [**List&lt;ApiAdmissionregistrationV1alpha1ExternalAdmissionHook&gt;**](ApiAdmissionregistrationV1alpha1ExternalAdmissionHook.md) | ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations. | [optional]
**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]
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional]



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

# ApiAdmissionregistrationV1alpha1ExternalAdmissionHookConfigurationList

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**items** | [**List&lt;ApiAdmissionregistrationV1alpha1ExternalAdmissionHookConfiguration&gt;**](ApiAdmissionregistrationV1alpha1ExternalAdmissionHookConfiguration.md) | List of ExternalAdmissionHookConfiguration. |
**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]
**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]



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

# ApiAdmissionregistrationV1alpha1Initializer

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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 |
**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]



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

# ApiAdmissionregistrationV1alpha1InitializerConfiguration

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**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]
**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]
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional]



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

# ApiAdmissionregistrationV1alpha1InitializerConfigurationList

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**items** | [**List&lt;ApiAdmissionregistrationV1alpha1InitializerConfiguration&gt;**](ApiAdmissionregistrationV1alpha1InitializerConfiguration.md) | List of InitializerConfiguration. |
**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]
**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional]



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

# ApiAdmissionregistrationV1alpha1Rule

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**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]
**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]



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

# ApiAdmissionregistrationV1alpha1RuleWithOperations

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**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]
**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]
**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]



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

# ApiAdmissionregistrationV1alpha1ServiceReference

## 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 |



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

# ApiAppsV1beta1ControllerRevision

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**data** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Data is the serialized representation of the state. | [optional]
**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]
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object&#39;s metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional]
**revision** | **Long** | Revision indicates the revision of the state represented by Data. |



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

# ApiAppsV1beta1ControllerRevisionList

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**items** | [**List&lt;ApiAppsV1beta1ControllerRevision&gt;**](ApiAppsV1beta1ControllerRevision.md) | Items is the list of ControllerRevisions |
**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]
**metadata** | [**V1ListMeta**](V1ListMeta.md) | More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional]



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

# ApiAppsV1beta1Deployment

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**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]
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional]
**spec** | [**ApiAppsV1beta1DeploymentSpec**](ApiAppsV1beta1DeploymentSpec.md) | Specification of the desired behavior of the Deployment. | [optional]
**status** | [**ApiAppsV1beta1DeploymentStatus**](ApiAppsV1beta1DeploymentStatus.md) | Most recently observed status of the Deployment. | [optional]



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

# ApiAppsV1beta1DeploymentCondition

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**lastTransitionTime** | [**DateTime**](DateTime.md) | Last time the condition transitioned from one status to another. | [optional]
**lastUpdateTime** | [**DateTime**](DateTime.md) | The last time this condition was updated. | [optional]
**message** | **String** | A human readable message indicating details about the transition. | [optional]
**reason** | **String** | The reason for the condition&#39;s last transition. | [optional]
**status** | **String** | Status of the condition, one of True, False, Unknown. |
**type** | **String** | Type of deployment condition. |



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

# ApiAppsV1beta1DeploymentList

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**items** | [**List&lt;ApiAppsV1beta1Deployment&gt;**](ApiAppsV1beta1Deployment.md) | Items is the list of Deployments. |
**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]
**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional]



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

# ApiAppsV1beta1DeploymentRollback

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
**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]
**name** | **String** | Required: This must match the Name of a deployment. |
**rollbackTo** | [**ApiAppsV1beta1RollbackConfig**](ApiAppsV1beta1RollbackConfig.md) | The config of this deployment rollback. |
**updatedAnnotations** | **Map&lt;String, String&gt;** | The annotations to be updated to a deployment | [optional]



Loading

0 comments on commit dffad32

Please sign in to comment.