osc_lib.clientmanager
Moduleosc_lib.clientmanager
Module¶Manage access to the clients, including authenticating when needed.
osc_lib.clientmanager.
ClientCache
(factory)¶Bases: object
Descriptor class for caching created client handles.
osc_lib.clientmanager.
ClientManager
(cli_options=None, api_version=None, pw_func=None, app_name=None, app_version=None)¶Bases: object
Manages access to API clients, including authentication.
auth_ref
¶Dereference will trigger an auth if it hasn’t already
get_configuration
()¶get_endpoint_for_service_type
(service_type, region_name=None, interface=’public’)¶Return the endpoint URL for the service type.
is_service_available
(service_type)¶Check if a service type is in the current Service Catalog
setup_auth
()¶Set up authentication
This is deferred until authentication is actually attempted because it gets in the way of things that do not require auth.
validate_scope
()¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.