Repository URL to install this package:
|
Version:
3.0.176 ▾
|
tvault-contego-common
/
home
/
tvault
/
.virtenv
/
lib
/
python2.7
/
site-packages
/
keystoneauth1
/
adapter.pyc
|
|---|
ó
µEYc @ sz d d l Z d d l Z d d l m Z d d l m Z d e f d YZ d e f d YZ d Z d Z d S(
iÿÿÿÿN( t
positional( t sessiont Adapterc B s e Z d Z d Z d Z e d d d d d d d d d d i d d d d d d Z d Z d Z d d Z
d d Z d d Z d d Z
d d Z d Z d
Z d Z d Z d
Z d Z e d d Z e d Z RS( sè
An instance of a session with local variables.
A session is a global object that is shared around amongst many clients. It
therefore contains state that is relevant to everyone. There is a lot of
state such as the service type and region_name that are only relevant to a
particular client that is using the session. An adapter provides a wrapper
of client local data around the global session object.
:param session: The session object to wrap.
:type session: keystoneauth1.session.Session
:param str service_type: The default service_type for URL discovery.
:param str service_name: The default service_name for URL discovery.
:param str interface: The default interface for URL discovery.
:param str region_name: The default region_name for URL discovery.
:param str endpoint_override: Always use this endpoint URL for requests
for this client.
:param tuple version: The version that this API targets.
:param auth: An auth plugin to use instead of the session one.
:type auth: keystoneauth1.plugin.BaseAuthPlugin
:param str user_agent: The User-Agent string to set.
:param int connect_retries: the maximum number of retries that should
be attempted for connection errors.
Default None - use session default which
is don't retry.
:param logger: A logging object to use for requests that pass through this
adapter.
:type logger: logging.Logger
:param dict allow: Extra filters to pass when discovering API versions.
(optional)
:param dict additional_headers: Additional headers that should be attached
to every request passing through the
adapter. Headers of the same name specified
per request will take priority.
:param str client_name: The name of the client that created the adapter.
This will be used to create the user_agent.
:param str client_version: The version of the client that created the
adapter. This will be used to create the
user_agent.
:param bool allow_version_hack: Allow keystoneauth to hack up catalog
URLS to support older schemes.
(optional, default True)
:param str global_request_id: A global_request_id (in the form of
``req-$uuid``) that will be passed on all
requests. Enables cross project request id
tracking.
c C sµ | | _ | | _ | | _ | | _ | | _ | | _ | | _ | | _ | | _ |
| _ | | _
| | _ |
pu i | _ | | _
| | _ | r | | _ n | r± | | _ n d S( N( R t service_typet service_namet interfacet region_namet endpoint_overridet versiont
user_agentt autht connect_retriest loggert allowt additional_headerst allow_version_hackt global_request_idt client_namet client_version( t selfR R R R R R R R
R R R R
R R R R R ( ( sJ /home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/adapter.pyt __init__H s&