keystoneauth1.exceptions.auth_plugins 模块

异常 keystoneauth1.exceptions.auth_plugins.AuthPluginException(message: str | None = None)

基类: ClientException

__annotations__ = {}
__doc__ = None
__module__ = 'keystoneauth1.exceptions.auth_plugins'
message = '认证插件出现未知错误。'
异常 keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin(message: str | None = None)

基类: AuthPluginException

__annotations__ = {}
__doc__ = None
__module__ = 'keystoneauth1.exceptions.auth_plugins'
message = '需要进行身份验证的请求,但没有可用的插件。'
异常 keystoneauth1.exceptions.auth_plugins.MissingRequiredOptions(options: Sequence[loading.Opt])

基类: OptionError

缺少一个或多个必需的选项。

参数:

options (列表(keystoneauth1.loading.Opt)) – 缺失的选项。

options

缺失选项的列表。

__annotations__ = {}
__doc__ = '缺少一个或多个必需的选项。\n\n    :参数 list(keystoneauth1.loading.Opt) options: 缺失的选项。\n\n    .. py:attribute:: options\n\n        缺失选项的列表。\n    '
__init__(options: Sequence[loading.Opt])
__module__ = 'keystoneauth1.exceptions.auth_plugins'
异常 keystoneauth1.exceptions.auth_plugins.NoMatchingPlugin(name: str)

基类: AuthPluginException

无法从提供的参数创建身份验证插件。

参数:

name (字符串) – 尝试加载的插件的名称。

name

尝试加载的插件的名称。

__annotations__ = {}
__doc__ = '无法从提供的参数创建身份验证插件。\n\n    :参数 str name: 尝试加载的插件的名称。\n\n    .. py:attribute:: name\n\n        尝试加载的插件的名称。\n    '
__init__(name: str)
__module__ = 'keystoneauth1.exceptions.auth_plugins'
异常 keystoneauth1.exceptions.auth_plugins.OptionError(message: str | None = None)

基类: AuthPluginException

此插件加载器的要求未满足。

此错误可以在 load_from_options 阶段由特定的插件加载器引发,以指示无法由通用选项加载器处理的参数问题。

这里的意图是插件可以执行诸如如果提供了名称参数,则必须提供域参数之类的检查,但 Opt 检查无法处理。

__annotations__ = {}
__doc__ = '此插件加载器的要求未满足。\n\n    此错误可以在 load_from_options 阶段由特定的插件加载器引发,以指示无法由\n    通用选项加载器处理的参数问题。\n\n    这里的意图是插件可以执行诸如如果提供了名称参数,则必须提供域参数之类的检查,但\n    Opt 检查无法处理。\n    '
__module__ = 'keystoneauth1.exceptions.auth_plugins'
异常 keystoneauth1.exceptions.auth_plugins.UnsupportedParameters(names: Sequence[str])

基类: AuthPluginException

提供的或返回的参数不受支持。

参数:

names (列表(字符串)) – 不受支持的参数的名称。

names

不受支持的参数的名称。

__annotations__ = {}
__doc__ = '提供的或返回的参数不受支持。\n\n    :参数 list(str) names: 不受支持的参数的名称。\n\n    .. py:attribute:: names\n\n        不受支持的参数的名称。\n    '
__init__(names: Sequence[str])
__module__ = 'keystoneauth1.exceptions.auth_plugins'