Skip to content

Commit

Permalink
Update client with no change. Mostly formatting update in generator code
Browse files Browse the repository at this point in the history
  • Loading branch information
mbohlool committed Jan 19, 2017
1 parent daa0562 commit 98dc691
Show file tree
Hide file tree
Showing 571 changed files with 7,128 additions and 17,051 deletions.
2 changes: 1 addition & 1 deletion kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This Python package is automatically generated by the [Swagger Codegen](https://

- API version: v1.5.1-660c2a2
- Package version: 1.0.0-snapshot
- Build package: class io.swagger.codegen.languages.PythonClientCodegen
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.

Expand Down
47 changes: 14 additions & 33 deletions kubernetes/client/apis/apis_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,9 @@
OpenAPI spec version: v1.5.1-660c2a2
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""


from __future__ import absolute_import

import sys
Expand Down Expand Up @@ -53,9 +42,7 @@ def __init__(self, api_client=None):

def get_api_versions(self, **kwargs):
"""
get available API versions
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
Expand All @@ -79,9 +66,7 @@ def get_api_versions(self, **kwargs):

def get_api_versions_with_http_info(self, **kwargs):
"""
get available API versions
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
Expand Down Expand Up @@ -113,7 +98,6 @@ def get_api_versions_with_http_info(self, **kwargs):
params[key] = val
del params['kwargs']


collection_formats = {}

resource_path = '/apis/'.replace('{format}', 'json')
Expand All @@ -127,12 +111,9 @@ def get_api_versions_with_http_info(self, **kwargs):
local_var_files = {}

body_params = None

# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
if not header_params['Accept']:
del header_params['Accept']

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
Expand All @@ -142,16 +123,16 @@ def get_api_versions_with_http_info(self, **kwargs):
auth_settings = ['BearerToken']

return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UnversionedAPIGroupList',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UnversionedAPIGroupList',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
47 changes: 14 additions & 33 deletions kubernetes/client/apis/apps_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,9 @@
OpenAPI spec version: v1.5.1-660c2a2
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""


from __future__ import absolute_import

import sys
Expand Down Expand Up @@ -53,9 +42,7 @@ def __init__(self, api_client=None):

def get_api_group(self, **kwargs):
"""
get information of a group
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
Expand All @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs):

def get_api_group_with_http_info(self, **kwargs):
"""
get information of a group
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
Expand Down Expand Up @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs):
params[key] = val
del params['kwargs']


collection_formats = {}

resource_path = '/apis/apps/'.replace('{format}', 'json')
Expand All @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs):
local_var_files = {}

body_params = None

# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf'])
if not header_params['Accept']:
del header_params['Accept']

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
Expand All @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs):
auth_settings = ['BearerToken']

return self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UnversionedAPIGroup',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UnversionedAPIGroup',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
Loading

0 comments on commit 98dc691

Please sign in to comment.