v2

package
v0.1.67 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 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 GenReqDefForEnableComponent added in v0.1.45

func GenReqDefForEnableComponent() *def.HttpRequestDef

func GenReqDefForExpandClusterComponent added in v0.1.45

func GenReqDefForExpandClusterComponent() *def.HttpRequestDef

func GenReqDefForListClusters

func GenReqDefForListClusters() *def.HttpRequestDef

func GenReqDefForRebootCloudTableCluster added in v0.1.45

func GenReqDefForRebootCloudTableCluster() *def.HttpRequestDef

func GenReqDefForShowClusterDetail

func GenReqDefForShowClusterDetail() *def.HttpRequestDef

func GenReqDefForShowClusterSetting added in v0.1.45

func GenReqDefForShowClusterSetting() *def.HttpRequestDef

func GenReqDefForUpdateClusterSetting added in v0.1.45

func GenReqDefForUpdateClusterSetting() *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) EnableComponent added in v0.1.45

EnableComponent 开启opentsdb组件

开启opentsdb组件

Please refer to HUAWEI cloud API Explorer for details.

func (*CloudTableClient) EnableComponentInvoker added in v0.1.45

func (c *CloudTableClient) EnableComponentInvoker(request *model.EnableComponentRequest) *EnableComponentInvoker

EnableComponentInvoker 开启opentsdb组件

func (*CloudTableClient) ExpandClusterComponent added in v0.1.45

ExpandClusterComponent 扩容组件

扩容指定类型的集群节点

Please refer to HUAWEI cloud API Explorer for details.

func (*CloudTableClient) ExpandClusterComponentInvoker added in v0.1.45

func (c *CloudTableClient) ExpandClusterComponentInvoker(request *model.ExpandClusterComponentRequest) *ExpandClusterComponentInvoker

ExpandClusterComponentInvoker 扩容组件

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) RebootCloudTableCluster added in v0.1.45

RebootCloudTableCluster 重启集群的api入口

重启集群的api入口

Please refer to HUAWEI cloud API Explorer for details.

func (*CloudTableClient) RebootCloudTableClusterInvoker added in v0.1.45

func (c *CloudTableClient) RebootCloudTableClusterInvoker(request *model.RebootCloudTableClusterRequest) *RebootCloudTableClusterInvoker

RebootCloudTableClusterInvoker 重启集群的api入口

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集群详情

func (*CloudTableClient) ShowClusterSetting added in v0.1.45

ShowClusterSetting 查询集群配置

查询集群配置

Please refer to HUAWEI cloud API Explorer for details.

func (*CloudTableClient) ShowClusterSettingInvoker added in v0.1.45

func (c *CloudTableClient) ShowClusterSettingInvoker(request *model.ShowClusterSettingRequest) *ShowClusterSettingInvoker

ShowClusterSettingInvoker 查询集群配置

func (*CloudTableClient) UpdateClusterSetting added in v0.1.45

UpdateClusterSetting 修改集群配置

修改集群配置

Please refer to HUAWEI cloud API Explorer for details.

func (*CloudTableClient) UpdateClusterSettingInvoker added in v0.1.45

func (c *CloudTableClient) UpdateClusterSettingInvoker(request *model.UpdateClusterSettingRequest) *UpdateClusterSettingInvoker

UpdateClusterSettingInvoker 修改集群配置

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 EnableComponentInvoker added in v0.1.45

type EnableComponentInvoker struct {
	*invoker.BaseInvoker
}

func (*EnableComponentInvoker) Invoke added in v0.1.45

type ExpandClusterComponentInvoker added in v0.1.45

type ExpandClusterComponentInvoker struct {
	*invoker.BaseInvoker
}

func (*ExpandClusterComponentInvoker) Invoke added in v0.1.45

type ListClustersInvoker added in v0.0.90

type ListClustersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListClustersInvoker) Invoke added in v0.0.90

type RebootCloudTableClusterInvoker added in v0.1.45

type RebootCloudTableClusterInvoker struct {
	*invoker.BaseInvoker
}

func (*RebootCloudTableClusterInvoker) Invoke added in v0.1.45

type ShowClusterDetailInvoker added in v0.0.90

type ShowClusterDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowClusterDetailInvoker) Invoke added in v0.0.90

type ShowClusterSettingInvoker added in v0.1.45

type ShowClusterSettingInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowClusterSettingInvoker) Invoke added in v0.1.45

type UpdateClusterSettingInvoker added in v0.1.45

type UpdateClusterSettingInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateClusterSettingInvoker) Invoke added in v0.1.45

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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