Documentation ¶
Index ¶
- func CloudTableClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateCluster() *def.HttpRequestDef
- func GenReqDefForDeleteCluster() *def.HttpRequestDef
- func GenReqDefForEnableComponent() *def.HttpRequestDef
- func GenReqDefForExpandClusterComponent() *def.HttpRequestDef
- func GenReqDefForListClusters() *def.HttpRequestDef
- func GenReqDefForRebootCloudTableCluster() *def.HttpRequestDef
- func GenReqDefForShowClusterDetail() *def.HttpRequestDef
- func GenReqDefForShowClusterSetting() *def.HttpRequestDef
- func GenReqDefForUpdateClusterSetting() *def.HttpRequestDef
- type CloudTableClient
- func (c *CloudTableClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)
- func (c *CloudTableClient) CreateClusterInvoker(request *model.CreateClusterRequest) *CreateClusterInvoker
- func (c *CloudTableClient) DeleteCluster(request *model.DeleteClusterRequest) (*model.DeleteClusterResponse, error)
- func (c *CloudTableClient) DeleteClusterInvoker(request *model.DeleteClusterRequest) *DeleteClusterInvoker
- func (c *CloudTableClient) EnableComponent(request *model.EnableComponentRequest) (*model.EnableComponentResponse, error)
- func (c *CloudTableClient) EnableComponentInvoker(request *model.EnableComponentRequest) *EnableComponentInvoker
- func (c *CloudTableClient) ExpandClusterComponent(request *model.ExpandClusterComponentRequest) (*model.ExpandClusterComponentResponse, error)
- func (c *CloudTableClient) ExpandClusterComponentInvoker(request *model.ExpandClusterComponentRequest) *ExpandClusterComponentInvoker
- func (c *CloudTableClient) ListClusters(request *model.ListClustersRequest) (*model.ListClustersResponse, error)
- func (c *CloudTableClient) ListClustersInvoker(request *model.ListClustersRequest) *ListClustersInvoker
- func (c *CloudTableClient) RebootCloudTableCluster(request *model.RebootCloudTableClusterRequest) (*model.RebootCloudTableClusterResponse, error)
- func (c *CloudTableClient) RebootCloudTableClusterInvoker(request *model.RebootCloudTableClusterRequest) *RebootCloudTableClusterInvoker
- func (c *CloudTableClient) ShowClusterDetail(request *model.ShowClusterDetailRequest) (*model.ShowClusterDetailResponse, error)
- func (c *CloudTableClient) ShowClusterDetailInvoker(request *model.ShowClusterDetailRequest) *ShowClusterDetailInvoker
- func (c *CloudTableClient) ShowClusterSetting(request *model.ShowClusterSettingRequest) (*model.ShowClusterSettingResponse, error)
- func (c *CloudTableClient) ShowClusterSettingInvoker(request *model.ShowClusterSettingRequest) *ShowClusterSettingInvoker
- func (c *CloudTableClient) UpdateClusterSetting(request *model.UpdateClusterSettingRequest) (*model.UpdateClusterSettingResponse, error)
- func (c *CloudTableClient) UpdateClusterSettingInvoker(request *model.UpdateClusterSettingRequest) *UpdateClusterSettingInvoker
- type CreateClusterInvoker
- type DeleteClusterInvoker
- type EnableComponentInvoker
- type ExpandClusterComponentInvoker
- type ListClustersInvoker
- type RebootCloudTableClusterInvoker
- type ShowClusterDetailInvoker
- type ShowClusterSettingInvoker
- type UpdateClusterSettingInvoker
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 ¶
func (c *CloudTableClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)
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 ¶
func (c *CloudTableClient) DeleteCluster(request *model.DeleteClusterRequest) (*model.DeleteClusterResponse, error)
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
func (c *CloudTableClient) EnableComponent(request *model.EnableComponentRequest) (*model.EnableComponentResponse, error)
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
func (c *CloudTableClient) ExpandClusterComponent(request *model.ExpandClusterComponentRequest) (*model.ExpandClusterComponentResponse, error)
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 ¶
func (c *CloudTableClient) ListClusters(request *model.ListClustersRequest) (*model.ListClustersResponse, error)
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
func (c *CloudTableClient) RebootCloudTableCluster(request *model.RebootCloudTableClusterRequest) (*model.RebootCloudTableClusterResponse, error)
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 ¶
func (c *CloudTableClient) ShowClusterDetail(request *model.ShowClusterDetailRequest) (*model.ShowClusterDetailResponse, error)
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
func (c *CloudTableClient) ShowClusterSetting(request *model.ShowClusterSettingRequest) (*model.ShowClusterSettingResponse, error)
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
func (c *CloudTableClient) UpdateClusterSetting(request *model.UpdateClusterSettingRequest) (*model.UpdateClusterSettingResponse, error)
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
func (i *CreateClusterInvoker) Invoke() (*model.CreateClusterResponse, error)
type DeleteClusterInvoker ¶ added in v0.0.90
type DeleteClusterInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteClusterInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteClusterInvoker) Invoke() (*model.DeleteClusterResponse, error)
type EnableComponentInvoker ¶ added in v0.1.45
type EnableComponentInvoker struct {
*invoker.BaseInvoker
}
func (*EnableComponentInvoker) Invoke ¶ added in v0.1.45
func (i *EnableComponentInvoker) Invoke() (*model.EnableComponentResponse, error)
type ExpandClusterComponentInvoker ¶ added in v0.1.45
type ExpandClusterComponentInvoker struct {
*invoker.BaseInvoker
}
func (*ExpandClusterComponentInvoker) Invoke ¶ added in v0.1.45
func (i *ExpandClusterComponentInvoker) Invoke() (*model.ExpandClusterComponentResponse, error)
type ListClustersInvoker ¶ added in v0.0.90
type ListClustersInvoker struct {
*invoker.BaseInvoker
}
func (*ListClustersInvoker) Invoke ¶ added in v0.0.90
func (i *ListClustersInvoker) Invoke() (*model.ListClustersResponse, error)
type RebootCloudTableClusterInvoker ¶ added in v0.1.45
type RebootCloudTableClusterInvoker struct {
*invoker.BaseInvoker
}
func (*RebootCloudTableClusterInvoker) Invoke ¶ added in v0.1.45
func (i *RebootCloudTableClusterInvoker) Invoke() (*model.RebootCloudTableClusterResponse, error)
type ShowClusterDetailInvoker ¶ added in v0.0.90
type ShowClusterDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowClusterDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ShowClusterDetailInvoker) Invoke() (*model.ShowClusterDetailResponse, error)
type ShowClusterSettingInvoker ¶ added in v0.1.45
type ShowClusterSettingInvoker struct {
*invoker.BaseInvoker
}
func (*ShowClusterSettingInvoker) Invoke ¶ added in v0.1.45
func (i *ShowClusterSettingInvoker) Invoke() (*model.ShowClusterSettingResponse, error)
type UpdateClusterSettingInvoker ¶ added in v0.1.45
type UpdateClusterSettingInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateClusterSettingInvoker) Invoke ¶ added in v0.1.45
func (i *UpdateClusterSettingInvoker) Invoke() (*model.UpdateClusterSettingResponse, error)