/usr/lib/python2.6/site-packages/keystoneauth1/loading
NameSizeModeActions
_plugins/-0755rm
base.py39530644editdlrm
base.pyc46070644editdlrm
cli.py39900644editdlrm
cli.pyc36900644editdlrm
conf.py47770644editdlrm
conf.pyc41860644editdlrm
identity.py61480644editdlrm
identity.pyc66280644editdlrm
opts.py33080644editdlrm
opts.pyc33800644editdlrm
session.py101540644editdlrm
session.pyc94600644editdlrm
__init__.py21320644editdlrm
__init__.pyc13820644editdlrm
Edit: /usr/lib/python2.6/site-packages/keystoneauth1/loading/conf.pyc (4186B)
Ñò DVc@sœddklZddklZeiddeidƒgddƒZdZeid deƒZd d d d gZd„Zd„Z d„Z d„Z dS(iÿÿÿÿ(tbase(toptst auth_typet deprecatedt auth_pluginthelpsAuthentication type to loads9Config Section from which to load plugin specific optionst auth_sectiontget_common_conf_optionstget_plugin_conf_optionstregister_conf_optionstload_from_conf_optionscCstiƒtiƒgS(s—Get the oslo_config options common for all auth plugins. These may be useful without being registered for config file generation or to manipulate the options before registering them yourself. The options that are set are: :auth_type: The name of the pluign to load. :auth_section: The config file section to load options from. :returns: A list of oslo_config options. (t_AUTH_TYPE_OPTt _to_oslo_optt_AUTH_SECTION_OPT(((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/conf.pyRs cCs.g}ti|ƒD]}||iƒq~S(sÍGet the oslo_config options for a specific plugin. This will be the list of config options that is registered and loaded by the specified plugin. :returns: A list of oslo_config options. (Rtget_plugin_optionsR (tnamet_[1]to((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/conf.pyR-scCsU|itiƒd|ƒ||io||i}n|itiƒd|ƒdS(sÏRegister the oslo_config options that are needed for a plugin. This only registers the basic options shared by all plugins. Options that are specific to a plugin are loaded just before they are read. The defined options are: - auth_type: the name of the auth plugin that will be used for authentication. - auth_section: the group from which further auth plugin options should be taken. If section is not provided then the auth plugin options will be taken from the same group as provided in the parameters. :param conf: config object to register with. :type conf: oslo_config.cfg.ConfigOpts :param string group: The ini group to register options in. tgroupN(t register_optR R RR (tconfR((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/conf.pyR 8sc Ksï||io||i}n||i}|pdSti|ƒ}|iƒ}g}|D]}||iƒq^~}|i|d|ƒxR|D]J} ||| i} | dj o| i | ƒ} n|i | i| ƒq”W|i |S(sÌLoad a plugin from an oslo_config CONF object. Each plugin will register their own required options and so there is no standard list and the plugin should be consulted. The base options should have been registered with register_conf_options before this function is called. :param conf: A conf object. :type conf: oslo_config.cfg.ConfigOpts :param string group: The group name that options should be read from. :returns: An authentication Plugin or None if a name is not provided :rtype: :py:class:`keystonauth.auth.BaseAuthPlugin` :raises keystonauth.exceptions.NoMatchingPlugin: if a plugin cannot be created. RN( RRtNoneRtget_plugin_loadert get_optionsR t register_optstdestttypet setdefaulttload_from_options( RRtkwargsRtplugint plugin_optsRRt oslo_optstopttval((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/conf.pyR Ws   ' N( tkeystoneauth1.loadingRRtOptR t _section_helpR t__all__RRR R (((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/conf.pyt s