# Path: magnumclient/v1/client.py
# DEFAULT_SERVICE_TYPE = 'container-infra'
# LEGACY_DEFAULT_SERVICE_TYPE = 'container'
# def _load_session(cloud=None, insecure=False, timeout=None, **kwargs):
# def _load_service_type(session,
#                        service_type=None, service_name=None,
#                        interface=None, region_name=None):
# def _load_session_client(session=None, endpoint_override=None, username=None,
#                          project_id=None, project_name=None,
#                          auth_url=None, password=None, auth_type=None,
#                          insecure=None, user_domain_id=None,
#                          user_domain_name=None, project_domain_id=None,
#                          project_domain_name=None, auth_token=None,
#                          timeout=None, service_type=None, service_name=None,
#                          interface=None, region_name=None, api_version=None,
#                          **kwargs):
#     def __init__(self, username=None, api_key=None, project_id=None,
#                  project_name=None, auth_url=None, magnum_url=None,
#                  endpoint_type=None, endpoint_override=None,
#                  service_type=DEFAULT_SERVICE_TYPE,
#                  region_name=None, input_auth_token=None,
#                  session=None, password=None, auth_type='password',
#                  interface=None, service_name=None, insecure=False,
#                  user_domain_id=None, user_domain_name=None,
#                  project_domain_id=None, project_domain_name=None,
#                  auth_token=None, timeout=600, api_version=None,
#                  **kwargs):
# class Client(object):


from magnumclient.v1 import client
# Copyright (c) 2015 IBM Corp.
#
# 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.



def Client(version='1', **kwargs):
    """Factory function to create a new container service client."""
    if version != '1':
        raise ValueError(
            "magnum only has one API version. Valid values for 'version'"
            " are '1'")

# Path: magnumclient/v1/client.py
# DEFAULT_SERVICE_TYPE = 'container-infra'
# LEGACY_DEFAULT_SERVICE_TYPE = 'container'
# def _load_session(cloud=None, insecure=False, timeout=None, **kwargs):
# def _load_service_type(session,
#                        service_type=None, service_name=None,
#                        interface=None, region_name=None):
# def _load_session_client(session=None, endpoint_override=None, username=None,
#                          project_id=None, project_name=None,
#                          auth_url=None, password=None, auth_type=None,
#                          insecure=None, user_domain_id=None,
#                          user_domain_name=None, project_domain_id=None,
#                          project_domain_name=None, auth_token=None,
#                          timeout=None, service_type=None, service_name=None,
#                          interface=None, region_name=None, api_version=None,
#                          **kwargs):
#     def __init__(self, username=None, api_key=None, project_id=None,
#                  project_name=None, auth_url=None, magnum_url=None,
#                  endpoint_type=None, endpoint_override=None,
#                  service_type=DEFAULT_SERVICE_TYPE,
#                  region_name=None, input_auth_token=None,
#                  session=None, password=None, auth_type='password',
#                  interface=None, service_name=None, insecure=False,
#                  user_domain_id=None, user_domain_name=None,
#                  project_domain_id=None, project_domain_name=None,
#                  auth_token=None, timeout=600, api_version=None,
#                  **kwargs):
# class Client(object):


# Path: magnumclient/client.py
from magnumclient.v1 import client

# Copyright (c) 2015 IBM Corp.
#
# 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.



def Client(version='1', **kwargs):
    """Factory function to create a new container service client."""
    if version != '1':
        raise ValueError(
            "magnum only has one API version. Valid values for 'version'"
            " are '1'")

    return client.Client(**kwargs)