glance.image_cache.client module¶
- class glance.image_cache.client.CacheClient(host, port=None, timeout=None, use_ssl=False, auth_token=None, creds=None, doc_root=None, key_file=None, cert_file=None, ca_file=None, insecure=False, configure_via_auth=True)[source]¶
Bases:
BaseClient
- DEFAULT_DOC_ROOT = '/v2'¶
- DEFAULT_PORT = 9292¶
- glance.image_cache.client.get_client(host, port=None, timeout=None, use_ssl=False, username=None, password=None, project=None, user_domain_id=None, project_domain_id=None, auth_url=None, auth_strategy=None, auth_token=None, region=None, insecure=False)[source]¶
Returns a new client Glance client object based on common kwargs. If an option isn’t specified falls back to common environment variable defaults.