heat.engine.clients.client_plugin 模块

class heat.engine.clients.client_plugin.ClientPlugin(context)[源代码]

基类: object

client(version=None)[源代码]
property clients
property context
default_version = None
does_endpoint_exist(service_type, service_name)[源代码]
exceptions_module = None
ignore_conflict_and_not_found(ex)[源代码]

如果异常不是冲突或未找到异常,则抛出该异常。

ignore_not_found(ex)[源代码]

如果异常不是未找到异常,则抛出该异常。

is_client_exception(ex)[源代码]

如果当前异常来自客户端,则返回 True。

is_conflict(ex)[源代码]

如果异常是冲突,则返回 True。

is_not_found(ex)[源代码]

如果异常是未找到,则返回 True。

is_over_limit(ex)[源代码]

如果异常是超出限制,则返回 True。

service_types = []
supported_versions = []
url_for(**kwargs)[源代码]
heat.engine.clients.client_plugin.retry_if_connection_err(exception)[源代码]
heat.engine.clients.client_plugin.retry_if_result_is_false(result)[源代码]