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¦ddlZddlZddlmZddlmZddlmZejddddd	d
ƒeƒdd„ƒƒZ	ejddddd	d
ƒd„ƒZ
dS(
iÿÿÿÿN(tremovals(t
positional(tbasetmessages=keystoneclient auth plugins are deprecated. Use keystoneauth.tversions2.1.0tremoval_versions3.0.0c	Csåtjdtƒ}tjjd|ƒ}x3||fD]%}|jdddd|ddƒq4W|j|ƒ\}}|jsdSt
|jtƒr£d	}|j}	nd
|j}tj
|jƒ}	|jd|ƒ}
|	j|
ƒ|	S(
s	Register CLI options needed to create a plugin.

    The function inspects the provided arguments so that it can also register
    the options required for that specific plugin if available.

    :param argparse.ArgumentParser: the parser to attach argparse options to.
    :param List argv: the arguments provided to the application.
    :param str/class default: a default plugin name or a plugin object to use
                              if one isn't specified by the CLI. default: None.

    :returns: The plugin class that will be loaded or None if not provided.
    :rtype: :py:class:`keystoneclient.auth.BaseAuthPlugin`

    :raises keystoneclient.exceptions.NoMatchingPlugin: if a plugin cannot be
                                                        created.
    tadd_helptOS_AUTH_PLUGINs--os-auth-plugintmetavars<name>tdefaultthelpsThe auth plugin to loadsDefault Authentication optionss"Options specific to the %s plugin.sAuthentication OptionsN(targparsetArgumentParsertFalsetostenvirontgettadd_argumenttparse_known_argstos_auth_plugintNonet
isinstancettypeRtget_plugin_classtadd_argument_grouptregister_argparse_arguments(tparsertargvR	t	in_parsert
env_plugintptoptionst_argstmsgtplugintgroup((sL/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneclient/auth/cli.pyRs$	

cKsM|js
dSt|jtƒr+|j}ntj|jƒ}|j||S(súRetrieve the created plugin from the completed argparse results.

    Loads and creates the auth plugin from the information parsed from the
    command line by argparse.

    :param Namespace namespace: The result from CLI parsing.

    :returns: An auth plugin, or None if a name is not provided.
    :rtype: :py:class:`keystoneclient.auth.BaseAuthPlugin`

    :raises keystoneclient.exceptions.NoMatchingPlugin: if a plugin cannot be
                                                        created.
    N(RRRRRRtload_from_argparse_arguments(t	namespacetkwargsR"((sL/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneclient/auth/cli.pyR$Fs	(RRt
debtcollectorRRtkeystoneclient.authRtremoveRRR$(((sL/home/tvault/.virtenv/lib/python2.7/site-packages/keystoneclient/auth/cli.pyt<module>
s	*