Skip to content

Commit

Permalink
re-generated client for 10.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
roycaihw committed Jul 2, 2019
1 parent 47102be commit 9c8bd4a
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 18 deletions.
2 changes: 1 addition & 1 deletion kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: v1.14.4
- Package version: 10.0.0-snapshot
- Package version: 10.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

__project__ = 'kubernetes'
# The version is auto-updated. Please do not edit.
__version__ = "10.0.0a1"
__version__ = "10.0.0"

import kubernetes.client
import kubernetes.config
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Swagger-Codegen/10.0.0a1/python'
self.user_agent = 'Swagger-Codegen/10.0.0/python'

def __del__(self):
if self._pool:
Expand Down
12 changes: 6 additions & 6 deletions kubernetes/client/apis/custom_objects_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1657,7 +1657,7 @@ def patch_cluster_custom_object_with_http_info(self, group, version, plural, nam

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/merge-patch+json'])
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])

# Authentication setting
auth_settings = ['BearerToken']
Expand Down Expand Up @@ -1781,7 +1781,7 @@ def patch_cluster_custom_object_scale_with_http_info(self, group, version, plura

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/merge-patch+json'])
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])

# Authentication setting
auth_settings = ['BearerToken']
Expand Down Expand Up @@ -1905,7 +1905,7 @@ def patch_cluster_custom_object_status_with_http_info(self, group, version, plur

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/merge-patch+json'])
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])

# Authentication setting
auth_settings = ['BearerToken']
Expand Down Expand Up @@ -2036,7 +2036,7 @@ def patch_namespaced_custom_object_with_http_info(self, group, version, namespac

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/merge-patch+json'])
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])

# Authentication setting
auth_settings = ['BearerToken']
Expand Down Expand Up @@ -2167,7 +2167,7 @@ def patch_namespaced_custom_object_scale_with_http_info(self, group, version, na

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/merge-patch+json'])
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])

# Authentication setting
auth_settings = ['BearerToken']
Expand Down Expand Up @@ -2298,7 +2298,7 @@ def patch_namespaced_custom_object_status_with_http_info(self, group, version, n

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/merge-patch+json'])
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])

# Authentication setting
auth_settings = ['BearerToken']
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,5 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v1.14.4\n"\
"SDK Package Version: 10.0.0-snapshot".\
"SDK Package Version: 10.0.0".\
format(env=sys.platform, pyversion=sys.version)
12 changes: 6 additions & 6 deletions kubernetes/docs/CustomObjectsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ Name | Type | Description | Notes

### HTTP request headers

- **Content-Type**: application/merge-patch+json
- **Content-Type**: application/json-patch+json, application/merge-patch+json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down Expand Up @@ -907,7 +907,7 @@ Name | Type | Description | Notes

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down Expand Up @@ -968,7 +968,7 @@ Name | Type | Description | Notes

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down Expand Up @@ -1031,7 +1031,7 @@ Name | Type | Description | Notes

### HTTP request headers

- **Content-Type**: application/merge-patch+json
- **Content-Type**: application/json-patch+json, application/merge-patch+json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down Expand Up @@ -1094,7 +1094,7 @@ Name | Type | Description | Notes

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down Expand Up @@ -1157,7 +1157,7 @@ Name | Type | Description | Notes

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
Expand Down
6 changes: 6 additions & 0 deletions scripts/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -95539,6 +95539,7 @@
"custom_objects"
],
"consumes": [
"application/json-patch+json",
"application/merge-patch+json"
],
"operationId": "patchClusterCustomObjectStatus"
Expand Down Expand Up @@ -95678,6 +95679,7 @@
"custom_objects"
],
"consumes": [
"application/json-patch+json",
"application/merge-patch+json"
],
"operationId": "patchNamespacedCustomObject"
Expand Down Expand Up @@ -95890,6 +95892,7 @@
"custom_objects"
],
"consumes": [
"application/json-patch+json",
"application/merge-patch+json"
],
"operationId": "patchNamespacedCustomObjectScale"
Expand Down Expand Up @@ -96045,6 +96048,7 @@
"custom_objects"
],
"consumes": [
"application/json-patch+json",
"application/merge-patch+json"
],
"operationId": "patchClusterCustomObjectScale"
Expand Down Expand Up @@ -96184,6 +96188,7 @@
"custom_objects"
],
"consumes": [
"application/json-patch+json",
"application/merge-patch+json"
],
"operationId": "patchClusterCustomObject"
Expand Down Expand Up @@ -96389,6 +96394,7 @@
"custom_objects"
],
"consumes": [
"application/json-patch+json",
"application/merge-patch+json"
],
"operationId": "patchNamespacedCustomObjectStatus"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

# Do not edit these constants. They will be updated automatically
# by scripts/update-client.sh.
CLIENT_VERSION = "10.0.0a1"
CLIENT_VERSION = "10.0.0"
PACKAGE_NAME = "kubernetes"
DEVELOPMENT_STATUS = "3 - Alpha"
DEVELOPMENT_STATUS = "5 - Production/Stable"

# To install the library, run the following
#
Expand Down

0 comments on commit 9c8bd4a

Please sign in to comment.