v2

package
v0.1.41 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 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 CloudTableClientBuilder

func CloudTableClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForCreateCluster

func GenReqDefForCreateCluster() *def.HttpRequestDef

func GenReqDefForDeleteCluster

func GenReqDefForDeleteCluster() *def.HttpRequestDef

func GenReqDefForListClusters

func GenReqDefForListClusters() *def.HttpRequestDef

func GenReqDefForShowClusterDetail

func GenReqDefForShowClusterDetail() *def.HttpRequestDef

Types

type CloudTableClient

type CloudTableClient struct {
	HcClient *http_client.HcHttpClient
}

func NewCloudTableClient

func NewCloudTableClient(hcClient *http_client.HcHttpClient) *CloudTableClient

func (*CloudTableClient) CreateCluster

CreateCluster 创建CloudTable集群

创建一个CloudTable集群。 使用接口前,您需要先获取如下资源信息。 - 通过VPC创建或查询VPC、子网 - 通过安全组创建或查询可用的security_group_id

本接口是一个同步接口,当创建CloudTable集群成功后会返回集群id。

Please refer to HUAWEI cloud API Explorer for details.

func (*CloudTableClient) CreateClusterInvoker added in v0.0.90

func (c *CloudTableClient) CreateClusterInvoker(request *model.CreateClusterRequest) *CreateClusterInvoker

CreateClusterInvoker 创建CloudTable集群

func (*CloudTableClient) DeleteCluster

DeleteCluster 删除CloudTable指定集群

集群ID为集群唯一标识,根据集群ID删除指定集群。 如下状态的集群不允许删除: - 创建中 - 扩容中

Please refer to HUAWEI cloud API Explorer for details.

func (*CloudTableClient) DeleteClusterInvoker added in v0.0.90

func (c *CloudTableClient) DeleteClusterInvoker(request *model.DeleteClusterRequest) *DeleteClusterInvoker

DeleteClusterInvoker 删除CloudTable指定集群

func (*CloudTableClient) ListClusters

ListClusters 查询CloudTable集群列表

查看用户创建的集群列表信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CloudTableClient) ListClustersInvoker added in v0.0.90

func (c *CloudTableClient) ListClustersInvoker(request *model.ListClustersRequest) *ListClustersInvoker

ListClustersInvoker 查询CloudTable集群列表

func (*CloudTableClient) ShowClusterDetail

ShowClusterDetail 查询CloudTable集群详情

通过集群ID唯一标识一个集群,根据集群ID查询特定CloudTable集群的详情信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CloudTableClient) ShowClusterDetailInvoker added in v0.0.90

func (c *CloudTableClient) ShowClusterDetailInvoker(request *model.ShowClusterDetailRequest) *ShowClusterDetailInvoker

ShowClusterDetailInvoker 查询CloudTable集群详情

type CreateClusterInvoker added in v0.0.90

type CreateClusterInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateClusterInvoker) Invoke added in v0.0.90

type DeleteClusterInvoker added in v0.0.90

type DeleteClusterInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteClusterInvoker) Invoke added in v0.0.90

type ListClustersInvoker added in v0.0.90

type ListClustersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListClustersInvoker) Invoke added in v0.0.90

type ShowClusterDetailInvoker added in v0.0.90

type ShowClusterDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowClusterDetailInvoker) 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