deckhand.client.client module¶
Deckhand Client interface. Handles the REST calls and responses.
-
class
deckhand.client.client.
Client
(api_version=None, auth=None, auth_token=None, auth_url=None, cacert=None, cert=None, direct_use=True, endpoint_override=None, endpoint_type='publicURL', http_log_debug=False, insecure=False, logger=None, password=None, project_domain_id=None, project_domain_name=None, project_id=None, project_name=None, region_name=None, service_name=None, service_type='deckhand', session=None, timeout=None, user_domain_id=None, user_domain_name=None, user_id=None, username=None, **kwargs)[source]¶ Bases:
object
Top-level object to access the Deckhand API.
-
api_version
¶
-
projectid
¶
-
tenant_id
¶
-
-
class
deckhand.client.client.
SessionClient
(*args, **kwargs)[source]¶ Bases:
keystoneauth1.adapter.Adapter
Wrapper around
keystoneauth1
client session implementation and used internally byClient
below.Injects Deckhand-specific YAML headers necessary for communication with the Deckhand API.
-
client_name
= 'python-deckhandclient'¶
-
client_version
= '1.0'¶
-