re-generated client for 10.0.0 release
This commit is contained in:
parent
47102befee
commit
9c8bd4a7bc
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
@ -73,7 +73,7 @@ class ApiClient(object):
|
||||
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:
|
||||
|
||||
@ -1657,7 +1657,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# 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']
|
||||
@ -1781,7 +1781,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# 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']
|
||||
@ -1905,7 +1905,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# 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']
|
||||
@ -2036,7 +2036,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# 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']
|
||||
@ -2167,7 +2167,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# 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']
|
||||
@ -2298,7 +2298,7 @@ class CustomObjectsApi(object):
|
||||
|
||||
# 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']
|
||||
|
||||
@ -240,5 +240,5 @@ class Configuration(with_metaclass(TypeWithDefault, object)):
|
||||
"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)
|
||||
|
||||
@ -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)
|
||||
@ -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)
|
||||
@ -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)
|
||||
@ -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)
|
||||
@ -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)
|
||||
@ -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)
|
||||
|
||||
@ -95539,6 +95539,7 @@
|
||||
"custom_objects"
|
||||
],
|
||||
"consumes": [
|
||||
"application/json-patch+json",
|
||||
"application/merge-patch+json"
|
||||
],
|
||||
"operationId": "patchClusterCustomObjectStatus"
|
||||
@ -95678,6 +95679,7 @@
|
||||
"custom_objects"
|
||||
],
|
||||
"consumes": [
|
||||
"application/json-patch+json",
|
||||
"application/merge-patch+json"
|
||||
],
|
||||
"operationId": "patchNamespacedCustomObject"
|
||||
@ -95890,6 +95892,7 @@
|
||||
"custom_objects"
|
||||
],
|
||||
"consumes": [
|
||||
"application/json-patch+json",
|
||||
"application/merge-patch+json"
|
||||
],
|
||||
"operationId": "patchNamespacedCustomObjectScale"
|
||||
@ -96045,6 +96048,7 @@
|
||||
"custom_objects"
|
||||
],
|
||||
"consumes": [
|
||||
"application/json-patch+json",
|
||||
"application/merge-patch+json"
|
||||
],
|
||||
"operationId": "patchClusterCustomObjectScale"
|
||||
@ -96184,6 +96188,7 @@
|
||||
"custom_objects"
|
||||
],
|
||||
"consumes": [
|
||||
"application/json-patch+json",
|
||||
"application/merge-patch+json"
|
||||
],
|
||||
"operationId": "patchClusterCustomObject"
|
||||
@ -96389,6 +96394,7 @@
|
||||
"custom_objects"
|
||||
],
|
||||
"consumes": [
|
||||
"application/json-patch+json",
|
||||
"application/merge-patch+json"
|
||||
],
|
||||
"operationId": "patchNamespacedCustomObjectStatus"
|
||||
|
||||
4
setup.py
4
setup.py
@ -16,9 +16,9 @@ from setuptools import setup
|
||||
|
||||
# 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
|
||||
#
|
||||
|
||||
Loading…
Reference in New Issue
Block a user