Skip to content

Commit 9c8bd4a

Browse files
committed
re-generated client for 10.0.0 release
1 parent 47102be commit 9c8bd4a

File tree

8 files changed

+24
-18
lines changed

8 files changed

+24
-18
lines changed

kubernetes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: v1.14.4
7-
- Package version: 10.0.0-snapshot
7+
- Package version: 10.0.0
88
- Build package: io.swagger.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

kubernetes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

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

1919
import kubernetes.client
2020
import kubernetes.config

kubernetes/client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7373
self.default_headers[header_name] = header_value
7474
self.cookie = cookie
7575
# Set default User-Agent.
76-
self.user_agent = 'Swagger-Codegen/10.0.0a1/python'
76+
self.user_agent = 'Swagger-Codegen/10.0.0/python'
7777

7878
def __del__(self):
7979
if self._pool:

kubernetes/client/apis/custom_objects_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ def patch_cluster_custom_object_with_http_info(self, group, version, plural, nam
16571657

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

16621662
# Authentication setting
16631663
auth_settings = ['BearerToken']
@@ -1781,7 +1781,7 @@ def patch_cluster_custom_object_scale_with_http_info(self, group, version, plura
17811781

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

17861786
# Authentication setting
17871787
auth_settings = ['BearerToken']
@@ -1905,7 +1905,7 @@ def patch_cluster_custom_object_status_with_http_info(self, group, version, plur
19051905

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

19101910
# Authentication setting
19111911
auth_settings = ['BearerToken']
@@ -2036,7 +2036,7 @@ def patch_namespaced_custom_object_with_http_info(self, group, version, namespac
20362036

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

20412041
# Authentication setting
20422042
auth_settings = ['BearerToken']
@@ -2167,7 +2167,7 @@ def patch_namespaced_custom_object_scale_with_http_info(self, group, version, na
21672167

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

21722172
# Authentication setting
21732173
auth_settings = ['BearerToken']
@@ -2298,7 +2298,7 @@ def patch_namespaced_custom_object_status_with_http_info(self, group, version, n
22982298

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

23032303
# Authentication setting
23042304
auth_settings = ['BearerToken']

kubernetes/client/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,5 +240,5 @@ def to_debug_report(self):
240240
"OS: {env}\n"\
241241
"Python Version: {pyversion}\n"\
242242
"Version of the API: v1.14.4\n"\
243-
"SDK Package Version: 10.0.0-snapshot".\
243+
"SDK Package Version: 10.0.0".\
244244
format(env=sys.platform, pyversion=sys.version)

kubernetes/docs/CustomObjectsApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ Name | Type | Description | Notes
846846

847847
### HTTP request headers
848848

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

852852
[[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
907907

908908
### HTTP request headers
909909

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

913913
[[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
968968

969969
### HTTP request headers
970970

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

974974
[[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
10311031

10321032
### HTTP request headers
10331033

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

10371037
[[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
10941094

10951095
### HTTP request headers
10961096

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

11001100
[[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
11571157

11581158
### HTTP request headers
11591159

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

11631163
[[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)

scripts/swagger.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95539,6 +95539,7 @@
9553995539
"custom_objects"
9554095540
],
9554195541
"consumes": [
95542+
"application/json-patch+json",
9554295543
"application/merge-patch+json"
9554395544
],
9554495545
"operationId": "patchClusterCustomObjectStatus"
@@ -95678,6 +95679,7 @@
9567895679
"custom_objects"
9567995680
],
9568095681
"consumes": [
95682+
"application/json-patch+json",
9568195683
"application/merge-patch+json"
9568295684
],
9568395685
"operationId": "patchNamespacedCustomObject"
@@ -95890,6 +95892,7 @@
9589095892
"custom_objects"
9589195893
],
9589295894
"consumes": [
95895+
"application/json-patch+json",
9589395896
"application/merge-patch+json"
9589495897
],
9589595898
"operationId": "patchNamespacedCustomObjectScale"
@@ -96045,6 +96048,7 @@
9604596048
"custom_objects"
9604696049
],
9604796050
"consumes": [
96051+
"application/json-patch+json",
9604896052
"application/merge-patch+json"
9604996053
],
9605096054
"operationId": "patchClusterCustomObjectScale"
@@ -96184,6 +96188,7 @@
9618496188
"custom_objects"
9618596189
],
9618696190
"consumes": [
96191+
"application/json-patch+json",
9618796192
"application/merge-patch+json"
9618896193
],
9618996194
"operationId": "patchClusterCustomObject"
@@ -96389,6 +96394,7 @@
9638996394
"custom_objects"
9639096395
],
9639196396
"consumes": [
96397+
"application/json-patch+json",
9639296398
"application/merge-patch+json"
9639396399
],
9639496400
"operationId": "patchNamespacedCustomObjectStatus"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

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

2323
# To install the library, run the following
2424
#

0 commit comments

Comments
 (0)