v2

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForBatchCreateOrDeleteRabbitMqTag

func GenReqDefForBatchCreateOrDeleteRabbitMqTag() *def.HttpRequestDef

func GenReqDefForBatchRestartOrDeleteInstances

func GenReqDefForBatchRestartOrDeleteInstances() *def.HttpRequestDef

func GenReqDefForCreatePostPaidInstance

func GenReqDefForCreatePostPaidInstance() *def.HttpRequestDef

func GenReqDefForCreatePostPaidInstanceByEngine added in v0.0.103

func GenReqDefForCreatePostPaidInstanceByEngine() *def.HttpRequestDef

func GenReqDefForDeleteBackgroundTask

func GenReqDefForDeleteBackgroundTask() *def.HttpRequestDef

func GenReqDefForDeleteInstance

func GenReqDefForDeleteInstance() *def.HttpRequestDef

func GenReqDefForListAvailableZones

func GenReqDefForListAvailableZones() *def.HttpRequestDef

func GenReqDefForListBackgroundTasks

func GenReqDefForListBackgroundTasks() *def.HttpRequestDef

func GenReqDefForListEngineProducts added in v0.0.76

func GenReqDefForListEngineProducts() *def.HttpRequestDef

func GenReqDefForListInstancesDetails

func GenReqDefForListInstancesDetails() *def.HttpRequestDef

func GenReqDefForListPlugins

func GenReqDefForListPlugins() *def.HttpRequestDef

func GenReqDefForListProducts

func GenReqDefForListProducts() *def.HttpRequestDef

func GenReqDefForResetPassword

func GenReqDefForResetPassword() *def.HttpRequestDef

func GenReqDefForResizeInstance

func GenReqDefForResizeInstance() *def.HttpRequestDef

func GenReqDefForShowBackgroundTask

func GenReqDefForShowBackgroundTask() *def.HttpRequestDef

func GenReqDefForShowInstance

func GenReqDefForShowInstance() *def.HttpRequestDef

func GenReqDefForShowInstanceExtendProductInfo

func GenReqDefForShowInstanceExtendProductInfo() *def.HttpRequestDef

func GenReqDefForShowMaintainWindows

func GenReqDefForShowMaintainWindows() *def.HttpRequestDef

func GenReqDefForShowRabbitMqProjectTags

func GenReqDefForShowRabbitMqProjectTags() *def.HttpRequestDef

func GenReqDefForShowRabbitMqTags

func GenReqDefForShowRabbitMqTags() *def.HttpRequestDef

func GenReqDefForUpdateInstance

func GenReqDefForUpdateInstance() *def.HttpRequestDef

func GenReqDefForUpdatePlugins

func GenReqDefForUpdatePlugins() *def.HttpRequestDef

func RabbitMQClientBuilder

func RabbitMQClientBuilder() *http_client.HcHttpClientBuilder

Types

type BatchCreateOrDeleteRabbitMqTagInvoker added in v0.0.90

type BatchCreateOrDeleteRabbitMqTagInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateOrDeleteRabbitMqTagInvoker) Invoke added in v0.0.90

type BatchRestartOrDeleteInstancesInvoker added in v0.0.90

type BatchRestartOrDeleteInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchRestartOrDeleteInstancesInvoker) Invoke added in v0.0.90

type CreatePostPaidInstanceByEngineInvoker added in v0.0.103

type CreatePostPaidInstanceByEngineInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePostPaidInstanceByEngineInvoker) Invoke added in v0.0.103

type CreatePostPaidInstanceInvoker added in v0.0.90

type CreatePostPaidInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePostPaidInstanceInvoker) Invoke added in v0.0.90

type DeleteBackgroundTaskInvoker added in v0.0.90

type DeleteBackgroundTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteBackgroundTaskInvoker) Invoke added in v0.0.90

type DeleteInstanceInvoker added in v0.0.90

type DeleteInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteInstanceInvoker) Invoke added in v0.0.90

type ListAvailableZonesInvoker added in v0.0.90

type ListAvailableZonesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAvailableZonesInvoker) Invoke added in v0.0.90

type ListBackgroundTasksInvoker added in v0.0.90

type ListBackgroundTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBackgroundTasksInvoker) Invoke added in v0.0.90

type ListEngineProductsInvoker added in v0.0.90

type ListEngineProductsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEngineProductsInvoker) Invoke added in v0.0.90

type ListInstancesDetailsInvoker added in v0.0.90

type ListInstancesDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListInstancesDetailsInvoker) Invoke added in v0.0.90

type ListPluginsInvoker added in v0.0.90

type ListPluginsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPluginsInvoker) Invoke added in v0.0.90

type ListProductsInvoker added in v0.0.90

type ListProductsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProductsInvoker) Invoke added in v0.0.90

type RabbitMQClient

type RabbitMQClient struct {
	HcClient *http_client.HcHttpClient
}

func NewRabbitMQClient

func NewRabbitMQClient(hcClient *http_client.HcHttpClient) *RabbitMQClient

func (*RabbitMQClient) BatchCreateOrDeleteRabbitMqTag

BatchCreateOrDeleteRabbitMqTag 批量添加或删除实例标签

批量添加或删除实例标签。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) BatchCreateOrDeleteRabbitMqTagInvoker added in v0.0.90

func (c *RabbitMQClient) BatchCreateOrDeleteRabbitMqTagInvoker(request *model.BatchCreateOrDeleteRabbitMqTagRequest) *BatchCreateOrDeleteRabbitMqTagInvoker

BatchCreateOrDeleteRabbitMqTagInvoker 批量添加或删除实例标签

func (*RabbitMQClient) BatchRestartOrDeleteInstances

BatchRestartOrDeleteInstances 批量重启或删除实例

批量重启或删除实例。

在实例重启过程中,客户端的生产与消费消息等请求会被拒绝。

实例删除后,实例中原有的数据将被删除,且没有备份,请谨慎操作。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) BatchRestartOrDeleteInstancesInvoker added in v0.0.90

func (c *RabbitMQClient) BatchRestartOrDeleteInstancesInvoker(request *model.BatchRestartOrDeleteInstancesRequest) *BatchRestartOrDeleteInstancesInvoker

BatchRestartOrDeleteInstancesInvoker 批量重启或删除实例

func (*RabbitMQClient) CreatePostPaidInstance

CreatePostPaidInstance 创建实例(按需)

创建实例,该接口创建的实例为按需计费的方式。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) CreatePostPaidInstanceByEngine added in v0.0.103

CreatePostPaidInstanceByEngine 创建实例(按需)

创建实例,该接口创建的实例为按需计费的方式。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) CreatePostPaidInstanceByEngineInvoker added in v0.0.103

func (c *RabbitMQClient) CreatePostPaidInstanceByEngineInvoker(request *model.CreatePostPaidInstanceByEngineRequest) *CreatePostPaidInstanceByEngineInvoker

CreatePostPaidInstanceByEngineInvoker 创建实例(按需)

func (*RabbitMQClient) CreatePostPaidInstanceInvoker added in v0.0.90

func (c *RabbitMQClient) CreatePostPaidInstanceInvoker(request *model.CreatePostPaidInstanceRequest) *CreatePostPaidInstanceInvoker

CreatePostPaidInstanceInvoker 创建实例(按需)

func (*RabbitMQClient) DeleteBackgroundTask

DeleteBackgroundTask 删除后台任务管理中的指定记录

删除后台任务管理中的指定记录。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) DeleteBackgroundTaskInvoker added in v0.0.90

func (c *RabbitMQClient) DeleteBackgroundTaskInvoker(request *model.DeleteBackgroundTaskRequest) *DeleteBackgroundTaskInvoker

DeleteBackgroundTaskInvoker 删除后台任务管理中的指定记录

func (*RabbitMQClient) DeleteInstance

DeleteInstance 删除指定的实例

删除指定的实例,释放该实例的所有资源。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) DeleteInstanceInvoker added in v0.0.90

func (c *RabbitMQClient) DeleteInstanceInvoker(request *model.DeleteInstanceRequest) *DeleteInstanceInvoker

DeleteInstanceInvoker 删除指定的实例

func (*RabbitMQClient) ListAvailableZones

ListAvailableZones 查询可用区信息

在创建实例时,需要配置实例所在的可用区ID,可通过该接口查询可用区的ID。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ListAvailableZonesInvoker added in v0.0.90

func (c *RabbitMQClient) ListAvailableZonesInvoker(request *model.ListAvailableZonesRequest) *ListAvailableZonesInvoker

ListAvailableZonesInvoker 查询可用区信息

func (*RabbitMQClient) ListBackgroundTasks

ListBackgroundTasks 查询实例的后台任务列表

查询实例的后台任务列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ListBackgroundTasksInvoker added in v0.0.90

func (c *RabbitMQClient) ListBackgroundTasksInvoker(request *model.ListBackgroundTasksRequest) *ListBackgroundTasksInvoker

ListBackgroundTasksInvoker 查询实例的后台任务列表

func (*RabbitMQClient) ListEngineProducts added in v0.0.76

ListEngineProducts 查询产品规格列表

查询产品规格列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ListEngineProductsInvoker added in v0.0.90

func (c *RabbitMQClient) ListEngineProductsInvoker(request *model.ListEngineProductsRequest) *ListEngineProductsInvoker

ListEngineProductsInvoker 查询产品规格列表

func (*RabbitMQClient) ListInstancesDetails

ListInstancesDetails 查询所有实例列表

查询租户的实例列表,支持按照条件查询。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ListInstancesDetailsInvoker added in v0.0.90

func (c *RabbitMQClient) ListInstancesDetailsInvoker(request *model.ListInstancesDetailsRequest) *ListInstancesDetailsInvoker

ListInstancesDetailsInvoker 查询所有实例列表

func (*RabbitMQClient) ListPlugins

ListPlugins 查询插件列表

查询插件列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ListPluginsInvoker added in v0.0.90

func (c *RabbitMQClient) ListPluginsInvoker(request *model.ListPluginsRequest) *ListPluginsInvoker

ListPluginsInvoker 查询插件列表

func (*RabbitMQClient) ListProducts

ListProducts 查询产品规格列表

在创建实例时,需要配置订购的产品ID(即product_id),可通过该接口查询产品规格。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ListProductsInvoker added in v0.0.90

func (c *RabbitMQClient) ListProductsInvoker(request *model.ListProductsRequest) *ListProductsInvoker

ListProductsInvoker 查询产品规格列表

func (*RabbitMQClient) ResetPassword

ResetPassword 重置密码

重置密码。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ResetPasswordInvoker added in v0.0.90

func (c *RabbitMQClient) ResetPasswordInvoker(request *model.ResetPasswordRequest) *ResetPasswordInvoker

ResetPasswordInvoker 重置密码

func (*RabbitMQClient) ResizeInstance

ResizeInstance 实例规格变更

实例规格变更。

[**当前通过调用API,只支持按需实例进行实例规格变更。**](tag:hws,ctc)

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ResizeInstanceInvoker added in v0.0.90

func (c *RabbitMQClient) ResizeInstanceInvoker(request *model.ResizeInstanceRequest) *ResizeInstanceInvoker

ResizeInstanceInvoker 实例规格变更

func (*RabbitMQClient) ShowBackgroundTask

ShowBackgroundTask 查询后台任务管理中的指定记录

查询后台任务管理中的指定记录。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ShowBackgroundTaskInvoker added in v0.0.90

func (c *RabbitMQClient) ShowBackgroundTaskInvoker(request *model.ShowBackgroundTaskRequest) *ShowBackgroundTaskInvoker

ShowBackgroundTaskInvoker 查询后台任务管理中的指定记录

func (*RabbitMQClient) ShowInstance

ShowInstance 查询指定实例

查询指定实例的详细信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ShowInstanceExtendProductInfo

ShowInstanceExtendProductInfo 查询可扩容规格列表

查询可扩容规格列表。

RabbtiMQ只支持只增加节点数的扩容方式。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ShowInstanceExtendProductInfoInvoker added in v0.0.90

func (c *RabbitMQClient) ShowInstanceExtendProductInfoInvoker(request *model.ShowInstanceExtendProductInfoRequest) *ShowInstanceExtendProductInfoInvoker

ShowInstanceExtendProductInfoInvoker 查询可扩容规格列表

func (*RabbitMQClient) ShowInstanceInvoker added in v0.0.90

func (c *RabbitMQClient) ShowInstanceInvoker(request *model.ShowInstanceRequest) *ShowInstanceInvoker

ShowInstanceInvoker 查询指定实例

func (*RabbitMQClient) ShowMaintainWindows

ShowMaintainWindows 查询维护时间窗时间段

查询维护时间窗开始时间和结束时间。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ShowMaintainWindowsInvoker added in v0.0.90

func (c *RabbitMQClient) ShowMaintainWindowsInvoker(request *model.ShowMaintainWindowsRequest) *ShowMaintainWindowsInvoker

ShowMaintainWindowsInvoker 查询维护时间窗时间段

func (*RabbitMQClient) ShowRabbitMqProjectTags

ShowRabbitMqProjectTags 查询项目标签

查询项目标签。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ShowRabbitMqProjectTagsInvoker added in v0.0.90

func (c *RabbitMQClient) ShowRabbitMqProjectTagsInvoker(request *model.ShowRabbitMqProjectTagsRequest) *ShowRabbitMqProjectTagsInvoker

ShowRabbitMqProjectTagsInvoker 查询项目标签

func (*RabbitMQClient) ShowRabbitMqTags

ShowRabbitMqTags 查询实例标签

查询实例标签。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) ShowRabbitMqTagsInvoker added in v0.0.90

func (c *RabbitMQClient) ShowRabbitMqTagsInvoker(request *model.ShowRabbitMqTagsRequest) *ShowRabbitMqTagsInvoker

ShowRabbitMqTagsInvoker 查询实例标签

func (*RabbitMQClient) UpdateInstance

UpdateInstance 修改实例信息

修改实例的名称和描述信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) UpdateInstanceInvoker added in v0.0.90

func (c *RabbitMQClient) UpdateInstanceInvoker(request *model.UpdateInstanceRequest) *UpdateInstanceInvoker

UpdateInstanceInvoker 修改实例信息

func (*RabbitMQClient) UpdatePlugins

UpdatePlugins 开启或关闭插件

开启或关闭插件。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RabbitMQClient) UpdatePluginsInvoker added in v0.0.90

func (c *RabbitMQClient) UpdatePluginsInvoker(request *model.UpdatePluginsRequest) *UpdatePluginsInvoker

UpdatePluginsInvoker 开启或关闭插件

type ResetPasswordInvoker added in v0.0.90

type ResetPasswordInvoker struct {
	*invoker.BaseInvoker
}

func (*ResetPasswordInvoker) Invoke added in v0.0.90

type ResizeInstanceInvoker added in v0.0.90

type ResizeInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ResizeInstanceInvoker) Invoke added in v0.0.90

type ShowBackgroundTaskInvoker added in v0.0.90

type ShowBackgroundTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBackgroundTaskInvoker) Invoke added in v0.0.90

type ShowInstanceExtendProductInfoInvoker added in v0.0.90

type ShowInstanceExtendProductInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowInstanceExtendProductInfoInvoker) Invoke added in v0.0.90

type ShowInstanceInvoker added in v0.0.90

type ShowInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowInstanceInvoker) Invoke added in v0.0.90

type ShowMaintainWindowsInvoker added in v0.0.90

type ShowMaintainWindowsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMaintainWindowsInvoker) Invoke added in v0.0.90

type ShowRabbitMqProjectTagsInvoker added in v0.0.90

type ShowRabbitMqProjectTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRabbitMqProjectTagsInvoker) Invoke added in v0.0.90

type ShowRabbitMqTagsInvoker added in v0.0.90

type ShowRabbitMqTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRabbitMqTagsInvoker) Invoke added in v0.0.90

type UpdateInstanceInvoker added in v0.0.90

type UpdateInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateInstanceInvoker) Invoke added in v0.0.90

type UpdatePluginsInvoker added in v0.0.90

type UpdatePluginsInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePluginsInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL