troveclient.service_catalog module¶
- class troveclient.service_catalog.ServiceCatalog(resource_dict)¶
Bases:
object
Helper methods for dealing with a Keystone Service Catalog.
- get_token()¶
- url_for(attr=None, filter_value=None, service_type=None, endpoint_type='publicURL', service_name=None, database_service_name=None)¶
Fetch the public URL from the Compute service for a particular endpoint attribute. If none given, return the first. See tests for sample service catalog.