Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
µEYc@sddlmZddlmZejddejdƒgddƒZdZejd	deƒZdZd„Zd„Z	d„Z
d„ZdS(iÿÿÿÿ(tbase(toptst	auth_typet
deprecatedtauth_pluginthelpsAuthentication type to loads9Config Section from which to load plugin specific optionstauth_sectiontget_common_conf_optionstget_plugin_conf_optionstregister_conf_optionstload_from_conf_optionscCstjƒtjƒ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 plugin 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(((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/conf.pyRscCsVy
|j}Wn tk
r/tj|ƒ}n
X|ƒ}g|D]}|jƒ^q@S(sTGet 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.

    :param plugin: The name of the plugin loader or a plugin loader object
    :type plugin: str or keystoneauth1._loading.BaseLoader

    :returns: A list of oslo_config options.
    (tget_optionstAttributeErrorRtget_plugin_optionsR(tplugintgetterRto((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/conf.pyR-s

	cCsS|jtjƒd|ƒ||jr6||j}n|jtjƒ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((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/conf.pyR	Bs
c	s£ˆˆjrˆˆj‰nˆˆj}|s4dStj|ƒ}|jƒ}g|D]}|jƒ^qV}ˆj|dˆƒ‡‡fd†}|j||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 str group: The group name that options should be read from.

    :returns: An authentication Plugin or None if a name is not provided
    :rtype: :class:`keystoneauth1.plugin.BaseAuthPlugin`

    :raises keystoneauth1.exceptions.auth_plugins.NoMatchingPlugin:
        if a plugin cannot be created.
    Rcsˆˆ|jS(N(tdest(topt(RR(sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/conf.pyt_getter„sN(	RRtNoneRtget_plugin_loaderRRt
register_optstload_from_options_getter(	RRtkwargstnameRtplugin_optsRt	oslo_optsR((RRsO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/conf.pyR
as

N(sget_common_conf_optionssget_plugin_conf_optionssregister_conf_optionssload_from_conf_options(tkeystoneauth1.loadingRRtOptRt
_section_helpR
t__all__RRR	R
(((sO/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneauth1/loading/conf.pyt<module>
s