/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/base.pyc (4607B)
Ñò DVc @s˘ddkZddkZddkZddklZdZdddddd gZd „Zd „Zd „Z d „Z ei ei ƒde fd„ƒYƒZdS(i˙˙˙˙N(t exceptionsskeystoneauth1.plugintget_available_plugin_namestget_available_plugin_loaderstget_plugin_loadertget_plugin_optionst BaseLoadertPLUGIN_NAMESPACEcCs"tidtƒ}t|iƒƒS(söGet the names of all the plugins that are available on the system. This is particularly useful for help and error text to prompt a user for example what plugins they may specify. :returns: A list of names. :rtype: frozenset t namespace(t stevedoretExtensionManagerRt frozensettnames(tmgr((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/base.pyRs cCs4tidtdtdtƒ}t|id„ƒƒS(s½Retrieve all the plugin classes available on the system. :returns: A dict with plugin entrypoint name as the key and the plugin loader as the value. :rtype: dict Rtinvoke_on_loadtpropagate_map_exceptionscSs|ii|ifS((t entry_pointtnametobj(text((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/base.pyt7s(RR RtTruetdicttmap(R ((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/base.pyR,s c CsNy"tidtdtd|ƒ}Wn"tj oti|ƒ‚nX|iS(sTRetrieve a plugin class by its entrypoint name. :param str name: The name of the object to get. :returns: An auth plugin class. :rtype: :py:class:`keystoneauth1.loading.BaseLoader` :raises keystonauth.exceptions.NoMatchingPlugin: if a plugin cannot be created. RR R(Rt DriverManagerRRt RuntimeErrorRtNoMatchingPlugintdriver(RR ((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/base.pyR:s  cCst|ƒiƒS(s^Get the options for a specific plugin. This will be the list of options that is registered and loaded by the specified plugin. :returns: A list of :py:class:`keystoneauth1.loading.Opt` options. :raises keystonauth.exceptions.NoMatchingPlugin: if a plugin cannot be created. (Rt get_options(R((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/base.pyROs cBs5eZeid„ƒZeid„ƒZd„ZRS(cCs tƒ‚dS(N(tNotImplemented(tself((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/base.pyt plugin_class`scCsgS(sReturn the list of parameters associated with the auth plugin. This list may be used to generate CLI or config arguments. :returns: A list of Param objects describing available plugin parameters. :rtype: list ((R((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/base.pyRds cKsug}|iƒD]4}|io$|i|iƒdjo ||qq~}|oti|ƒ‚n|i|S(sCreate a plugin from the arguments retrieved from get_options. A client can override this function to do argument validation or to handle differences between the registered options and what is required to create the plugin. N(RtrequiredtgettdesttNoneRtMissingRequiredOptionsR(Rtkwargst_[1]totmissing_required((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/base.pytload_from_optionsps 7(t__name__t __module__tabctabstractpropertyRtabstractmethodRR((((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/base.pyR]s (R+tsixRt keystoneauth1RRt__all__RRRRt add_metaclasstABCMetatobjectR(((sA/tmp/pip-build-lt8jXN/keystoneauth1/keystoneauth1/loading/base.pyt s