Skip to content

Commit

Permalink
Merge pull request kubernetes-client#649 from roycaihw/8.0.0b1-genera…
Browse files Browse the repository at this point in the history
…ted-snapshot

Generate snapshot client in preparation for 8.0.0b1 release
  • Loading branch information
k8s-ci-robot authored Oct 15, 2018
2 parents 712b4d1 + ed5fc24 commit 3fb2be1
Show file tree
Hide file tree
Showing 1,265 changed files with 11,595 additions and 5,431 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
**Bug Fix:**
- Update ExecProvider to use safe\_get() to tolerate kube-config file that sets
`args: null` and `env: null` [kubernetes-client/python-base#91](https://github.com/kubernetes-client/python-base/pull/91)
- Properly deserialize API server's response when posting a deployment rollback [kubernetes/kubernetes#68909](https://github.com/kubernetes/kubernetes/pull/68909)

**API Change:**
- dry-run: CREATE/UPDATE/PATCH methods now support dryRun parameter [kubernetes/kubernetes#69359](https://github.com/kubernetes/kubernetes/pull/69359)

# v8.0.0a1
**New Feature:**
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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.12.1
- API version: v1.12.2
- Package version: 8.0.0-snapshot
- Build package: io.swagger.codegen.languages.PythonClientCodegen

Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
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 @@ -4,7 +4,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/apis/admissionregistration_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
44 changes: 30 additions & 14 deletions kubernetes/client/apis/admissionregistration_v1alpha1_api.py

Large diffs are not rendered by default.

86 changes: 59 additions & 27 deletions kubernetes/client/apis/admissionregistration_v1beta1_api.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion kubernetes/client/apis/apiextensions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
56 changes: 40 additions & 16 deletions kubernetes/client/apis/apiextensions_v1beta1_api.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion kubernetes/client/apis/apiregistration_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
56 changes: 40 additions & 16 deletions kubernetes/client/apis/apiregistration_v1_api.py

Large diffs are not rendered by default.

56 changes: 40 additions & 16 deletions kubernetes/client/apis/apiregistration_v1beta1_api.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion kubernetes/client/apis/apis_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/apis/apps_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
296 changes: 216 additions & 80 deletions kubernetes/client/apis/apps_v1_api.py

Large diffs are not rendered by default.

192 changes: 140 additions & 52 deletions kubernetes/client/apis/apps_v1beta1_api.py

Large diffs are not rendered by default.

296 changes: 216 additions & 80 deletions kubernetes/client/apis/apps_v1beta2_api.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion kubernetes/client/apis/authentication_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
12 changes: 10 additions & 2 deletions kubernetes/client/apis/authentication_v1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -45,6 +45,8 @@ def create_token_review(self, body, **kwargs):
:param async_req bool
:param V1TokenReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1TokenReview
If the method is called asynchronously,
Expand All @@ -67,13 +69,15 @@ def create_token_review_with_http_info(self, body, **kwargs):
:param async_req bool
:param V1TokenReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1TokenReview
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['body', 'pretty']
all_params = ['body', 'dry_run', 'include_uninitialized', 'pretty']
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand All @@ -98,6 +102,10 @@ def create_token_review_with_http_info(self, body, **kwargs):
path_params = {}

query_params = []
if 'dry_run' in params:
query_params.append(('dryRun', params['dry_run']))
if 'include_uninitialized' in params:
query_params.append(('includeUninitialized', params['include_uninitialized']))
if 'pretty' in params:
query_params.append(('pretty', params['pretty']))

Expand Down
12 changes: 10 additions & 2 deletions kubernetes/client/apis/authentication_v1beta1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -45,6 +45,8 @@ def create_token_review(self, body, **kwargs):
:param async_req bool
:param V1beta1TokenReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1beta1TokenReview
If the method is called asynchronously,
Expand All @@ -67,13 +69,15 @@ def create_token_review_with_http_info(self, body, **kwargs):
:param async_req bool
:param V1beta1TokenReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1beta1TokenReview
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['body', 'pretty']
all_params = ['body', 'dry_run', 'include_uninitialized', 'pretty']
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand All @@ -98,6 +102,10 @@ def create_token_review_with_http_info(self, body, **kwargs):
path_params = {}

query_params = []
if 'dry_run' in params:
query_params.append(('dryRun', params['dry_run']))
if 'include_uninitialized' in params:
query_params.append(('includeUninitialized', params['include_uninitialized']))
if 'pretty' in params:
query_params.append(('pretty', params['pretty']))

Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/apis/authorization_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
42 changes: 37 additions & 5 deletions kubernetes/client/apis/authorization_v1_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.1
OpenAPI spec version: v1.12.2
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -46,6 +46,8 @@ def create_namespaced_local_subject_access_review(self, namespace, body, **kwarg
:param async_req bool
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1LocalSubjectAccessReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1LocalSubjectAccessReview
If the method is called asynchronously,
Expand All @@ -69,13 +71,15 @@ def create_namespaced_local_subject_access_review_with_http_info(self, namespace
:param async_req bool
:param str namespace: object name and auth scope, such as for teams and projects (required)
:param V1LocalSubjectAccessReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1LocalSubjectAccessReview
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['namespace', 'body', 'pretty']
all_params = ['namespace', 'body', 'dry_run', 'include_uninitialized', 'pretty']
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand Down Expand Up @@ -105,6 +109,10 @@ def create_namespaced_local_subject_access_review_with_http_info(self, namespace
path_params['namespace'] = params['namespace']

query_params = []
if 'dry_run' in params:
query_params.append(('dryRun', params['dry_run']))
if 'include_uninitialized' in params:
query_params.append(('includeUninitialized', params['include_uninitialized']))
if 'pretty' in params:
query_params.append(('pretty', params['pretty']))

Expand Down Expand Up @@ -152,6 +160,8 @@ def create_self_subject_access_review(self, body, **kwargs):
:param async_req bool
:param V1SelfSubjectAccessReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1SelfSubjectAccessReview
If the method is called asynchronously,
Expand All @@ -174,13 +184,15 @@ def create_self_subject_access_review_with_http_info(self, body, **kwargs):
:param async_req bool
:param V1SelfSubjectAccessReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1SelfSubjectAccessReview
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['body', 'pretty']
all_params = ['body', 'dry_run', 'include_uninitialized', 'pretty']
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand All @@ -205,6 +217,10 @@ def create_self_subject_access_review_with_http_info(self, body, **kwargs):
path_params = {}

query_params = []
if 'dry_run' in params:
query_params.append(('dryRun', params['dry_run']))
if 'include_uninitialized' in params:
query_params.append(('includeUninitialized', params['include_uninitialized']))
if 'pretty' in params:
query_params.append(('pretty', params['pretty']))

Expand Down Expand Up @@ -252,6 +268,8 @@ def create_self_subject_rules_review(self, body, **kwargs):
:param async_req bool
:param V1SelfSubjectRulesReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1SelfSubjectRulesReview
If the method is called asynchronously,
Expand All @@ -274,13 +292,15 @@ def create_self_subject_rules_review_with_http_info(self, body, **kwargs):
:param async_req bool
:param V1SelfSubjectRulesReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1SelfSubjectRulesReview
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['body', 'pretty']
all_params = ['body', 'dry_run', 'include_uninitialized', 'pretty']
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand All @@ -305,6 +325,10 @@ def create_self_subject_rules_review_with_http_info(self, body, **kwargs):
path_params = {}

query_params = []
if 'dry_run' in params:
query_params.append(('dryRun', params['dry_run']))
if 'include_uninitialized' in params:
query_params.append(('includeUninitialized', params['include_uninitialized']))
if 'pretty' in params:
query_params.append(('pretty', params['pretty']))

Expand Down Expand Up @@ -352,6 +376,8 @@ def create_subject_access_review(self, body, **kwargs):
:param async_req bool
:param V1SubjectAccessReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1SubjectAccessReview
If the method is called asynchronously,
Expand All @@ -374,13 +400,15 @@ def create_subject_access_review_with_http_info(self, body, **kwargs):
:param async_req bool
:param V1SubjectAccessReview body: (required)
:param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
:param bool include_uninitialized: If IncludeUninitialized is specified, the object may be returned without completing initialization.
:param str pretty: If 'true', then the output is pretty printed.
:return: V1SubjectAccessReview
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['body', 'pretty']
all_params = ['body', 'dry_run', 'include_uninitialized', 'pretty']
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand All @@ -405,6 +433,10 @@ def create_subject_access_review_with_http_info(self, body, **kwargs):
path_params = {}

query_params = []
if 'dry_run' in params:
query_params.append(('dryRun', params['dry_run']))
if 'include_uninitialized' in params:
query_params.append(('includeUninitialized', params['include_uninitialized']))
if 'pretty' in params:
query_params.append(('pretty', params['pretty']))

Expand Down
Loading

0 comments on commit 3fb2be1

Please sign in to comment.