v1

package
v0.1.110 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 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 CdmClientBuilder

func CdmClientBuilder() *httpclient.HcHttpClientBuilder

func GenReqDefForCreateAndStartRandomClusterJob

func GenReqDefForCreateAndStartRandomClusterJob() *def.HttpRequestDef

func GenReqDefForCreateCluster

func GenReqDefForCreateCluster() *def.HttpRequestDef

func GenReqDefForCreateJob

func GenReqDefForCreateJob() *def.HttpRequestDef
func GenReqDefForCreateLink() *def.HttpRequestDef

func GenReqDefForDeleteCluster

func GenReqDefForDeleteCluster() *def.HttpRequestDef

func GenReqDefForDeleteJob

func GenReqDefForDeleteJob() *def.HttpRequestDef
func GenReqDefForDeleteLink() *def.HttpRequestDef

func GenReqDefForListClusters

func GenReqDefForListClusters() *def.HttpRequestDef

func GenReqDefForModifyCluster added in v0.1.110

func GenReqDefForModifyCluster() *def.HttpRequestDef

func GenReqDefForRestartCluster

func GenReqDefForRestartCluster() *def.HttpRequestDef

func GenReqDefForShowAvailabilityZones added in v0.1.110

func GenReqDefForShowAvailabilityZones() *def.HttpRequestDef

func GenReqDefForShowClusterDetail

func GenReqDefForShowClusterDetail() *def.HttpRequestDef

func GenReqDefForShowClusterEnterpriseProjects added in v0.1.110

func GenReqDefForShowClusterEnterpriseProjects() *def.HttpRequestDef

func GenReqDefForShowDatastores added in v0.1.110

func GenReqDefForShowDatastores() *def.HttpRequestDef

func GenReqDefForShowEnterpriseProjects added in v0.1.110

func GenReqDefForShowEnterpriseProjects() *def.HttpRequestDef

func GenReqDefForShowFlavorDetail added in v0.1.110

func GenReqDefForShowFlavorDetail() *def.HttpRequestDef

func GenReqDefForShowFlavors added in v0.1.110

func GenReqDefForShowFlavors() *def.HttpRequestDef

func GenReqDefForShowInstanceDetail added in v0.1.110

func GenReqDefForShowInstanceDetail() *def.HttpRequestDef

func GenReqDefForShowJobStatus

func GenReqDefForShowJobStatus() *def.HttpRequestDef

func GenReqDefForShowJobs

func GenReqDefForShowJobs() *def.HttpRequestDef
func GenReqDefForShowLink() *def.HttpRequestDef

func GenReqDefForShowSubmissions

func GenReqDefForShowSubmissions() *def.HttpRequestDef

func GenReqDefForStartCluster

func GenReqDefForStartCluster() *def.HttpRequestDef

func GenReqDefForStartJob

func GenReqDefForStartJob() *def.HttpRequestDef

func GenReqDefForStopCluster

func GenReqDefForStopCluster() *def.HttpRequestDef

func GenReqDefForStopJob

func GenReqDefForStopJob() *def.HttpRequestDef

func GenReqDefForUpdateJob

func GenReqDefForUpdateJob() *def.HttpRequestDef
func GenReqDefForUpdateLink() *def.HttpRequestDef

Types

type CdmClient

type CdmClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewCdmClient

func NewCdmClient(hcClient *httpclient.HcHttpClient) *CdmClient

func (*CdmClient) CreateAndStartRandomClusterJob

CreateAndStartRandomClusterJob 随机集群创建作业并执行

随机集群创建作业并执行接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) CreateAndStartRandomClusterJobInvoker added in v0.0.90

func (c *CdmClient) CreateAndStartRandomClusterJobInvoker(request *model.CreateAndStartRandomClusterJobRequest) *CreateAndStartRandomClusterJobInvoker

CreateAndStartRandomClusterJobInvoker 随机集群创建作业并执行

func (*CdmClient) CreateCluster

func (c *CdmClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)

CreateCluster 创建集群

创建集群接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) CreateClusterInvoker added in v0.0.90

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

CreateClusterInvoker 创建集群

func (*CdmClient) CreateJob

func (c *CdmClient) CreateJob(request *model.CreateJobRequest) (*model.CreateJobResponse, error)

CreateJob 指定集群创建作业

指定集群创建作业接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) CreateJobInvoker added in v0.0.90

func (c *CdmClient) CreateJobInvoker(request *model.CreateJobRequest) *CreateJobInvoker

CreateJobInvoker 指定集群创建作业

func (c *CdmClient) CreateLink(request *model.CreateLinkRequest) (*model.CreateLinkResponse, error)

CreateLink 创建连接

创建连接接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) CreateLinkInvoker added in v0.0.90

func (c *CdmClient) CreateLinkInvoker(request *model.CreateLinkRequest) *CreateLinkInvoker

CreateLinkInvoker 创建连接

func (*CdmClient) DeleteCluster

func (c *CdmClient) DeleteCluster(request *model.DeleteClusterRequest) (*model.DeleteClusterResponse, error)

DeleteCluster 删除集群

删除集群接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) DeleteClusterInvoker added in v0.0.90

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

DeleteClusterInvoker 删除集群

func (*CdmClient) DeleteJob

func (c *CdmClient) DeleteJob(request *model.DeleteJobRequest) (*model.DeleteJobResponse, error)

DeleteJob 删除作业

删除作业接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) DeleteJobInvoker added in v0.0.90

func (c *CdmClient) DeleteJobInvoker(request *model.DeleteJobRequest) *DeleteJobInvoker

DeleteJobInvoker 删除作业

func (c *CdmClient) DeleteLink(request *model.DeleteLinkRequest) (*model.DeleteLinkResponse, error)

DeleteLink 删除连接

删除连接接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) DeleteLinkInvoker added in v0.0.90

func (c *CdmClient) DeleteLinkInvoker(request *model.DeleteLinkRequest) *DeleteLinkInvoker

DeleteLinkInvoker 删除连接

func (*CdmClient) ListClusters

func (c *CdmClient) ListClusters(request *model.ListClustersRequest) (*model.ListClustersResponse, error)

ListClusters 查询集群列表

查询集群列表接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ListClustersInvoker added in v0.0.90

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

ListClustersInvoker 查询集群列表

func (*CdmClient) ModifyCluster added in v0.1.110

func (c *CdmClient) ModifyCluster(request *model.ModifyClusterRequest) (*model.ModifyClusterResponse, error)

ModifyCluster 修改集群

修改CDM集群配置。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ModifyClusterInvoker added in v0.1.110

func (c *CdmClient) ModifyClusterInvoker(request *model.ModifyClusterRequest) *ModifyClusterInvoker

ModifyClusterInvoker 修改集群

func (*CdmClient) RestartCluster

func (c *CdmClient) RestartCluster(request *model.RestartClusterRequest) (*model.RestartClusterResponse, error)

RestartCluster 重启集群

重启集群接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) RestartClusterInvoker added in v0.0.90

func (c *CdmClient) RestartClusterInvoker(request *model.RestartClusterRequest) *RestartClusterInvoker

RestartClusterInvoker 重启集群

func (*CdmClient) ShowAvailabilityZones added in v0.1.110

ShowAvailabilityZones 查询所有可用区

查询CDM集群的所有可用区。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowAvailabilityZonesInvoker added in v0.1.110

func (c *CdmClient) ShowAvailabilityZonesInvoker(request *model.ShowAvailabilityZonesRequest) *ShowAvailabilityZonesInvoker

ShowAvailabilityZonesInvoker 查询所有可用区

func (*CdmClient) ShowClusterDetail

func (c *CdmClient) ShowClusterDetail(request *model.ShowClusterDetailRequest) (*model.ShowClusterDetailResponse, error)

ShowClusterDetail 查询集群详情

查询集群详情接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowClusterDetailInvoker added in v0.0.90

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

ShowClusterDetailInvoker 查询集群详情

func (*CdmClient) ShowClusterEnterpriseProjects added in v0.1.110

ShowClusterEnterpriseProjects 查询集群的企业项目ID

查询指定集群的企业项目ID。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowClusterEnterpriseProjectsInvoker added in v0.1.110

func (c *CdmClient) ShowClusterEnterpriseProjectsInvoker(request *model.ShowClusterEnterpriseProjectsRequest) *ShowClusterEnterpriseProjectsInvoker

ShowClusterEnterpriseProjectsInvoker 查询集群的企业项目ID

func (*CdmClient) ShowDatastores added in v0.1.110

func (c *CdmClient) ShowDatastores(request *model.ShowDatastoresRequest) (*model.ShowDatastoresResponse, error)

ShowDatastores 查询支持的版本

查询CDM集群支持的版本。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowDatastoresInvoker added in v0.1.110

func (c *CdmClient) ShowDatastoresInvoker(request *model.ShowDatastoresRequest) *ShowDatastoresInvoker

ShowDatastoresInvoker 查询支持的版本

func (*CdmClient) ShowEnterpriseProjects added in v0.1.110

ShowEnterpriseProjects 查询所有集群的企业项目ID

查询当前项目下的所有集群的企业项目ID。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowEnterpriseProjectsInvoker added in v0.1.110

func (c *CdmClient) ShowEnterpriseProjectsInvoker(request *model.ShowEnterpriseProjectsRequest) *ShowEnterpriseProjectsInvoker

ShowEnterpriseProjectsInvoker 查询所有集群的企业项目ID

func (*CdmClient) ShowFlavorDetail added in v0.1.110

func (c *CdmClient) ShowFlavorDetail(request *model.ShowFlavorDetailRequest) (*model.ShowFlavorDetailResponse, error)

ShowFlavorDetail 查询规格详情

查询指定规格ID的规格详请。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowFlavorDetailInvoker added in v0.1.110

func (c *CdmClient) ShowFlavorDetailInvoker(request *model.ShowFlavorDetailRequest) *ShowFlavorDetailInvoker

ShowFlavorDetailInvoker 查询规格详情

func (*CdmClient) ShowFlavors added in v0.1.110

func (c *CdmClient) ShowFlavors(request *model.ShowFlavorsRequest) (*model.ShowFlavorsResponse, error)

ShowFlavors 查询版本规格

按版本ID查询所有兼容规格。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowFlavorsInvoker added in v0.1.110

func (c *CdmClient) ShowFlavorsInvoker(request *model.ShowFlavorsRequest) *ShowFlavorsInvoker

ShowFlavorsInvoker 查询版本规格

func (*CdmClient) ShowInstanceDetail added in v0.1.110

func (c *CdmClient) ShowInstanceDetail(request *model.ShowInstanceDetailRequest) (*model.ShowInstanceDetailResponse, error)

ShowInstanceDetail 查询集群实例信息

查询集群实例信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowInstanceDetailInvoker added in v0.1.110

func (c *CdmClient) ShowInstanceDetailInvoker(request *model.ShowInstanceDetailRequest) *ShowInstanceDetailInvoker

ShowInstanceDetailInvoker 查询集群实例信息

func (*CdmClient) ShowJobStatus

func (c *CdmClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)

ShowJobStatus 查询作业状态

查询作业状态接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowJobStatusInvoker added in v0.0.90

func (c *CdmClient) ShowJobStatusInvoker(request *model.ShowJobStatusRequest) *ShowJobStatusInvoker

ShowJobStatusInvoker 查询作业状态

func (*CdmClient) ShowJobs

func (c *CdmClient) ShowJobs(request *model.ShowJobsRequest) (*model.ShowJobsResponse, error)

ShowJobs 查询作业

查询作业接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowJobsInvoker added in v0.0.90

func (c *CdmClient) ShowJobsInvoker(request *model.ShowJobsRequest) *ShowJobsInvoker

ShowJobsInvoker 查询作业

func (c *CdmClient) ShowLink(request *model.ShowLinkRequest) (*model.ShowLinkResponse, error)

ShowLink 查询连接

查询连接接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowLinkInvoker added in v0.0.90

func (c *CdmClient) ShowLinkInvoker(request *model.ShowLinkRequest) *ShowLinkInvoker

ShowLinkInvoker 查询连接

func (*CdmClient) ShowSubmissions

func (c *CdmClient) ShowSubmissions(request *model.ShowSubmissionsRequest) (*model.ShowSubmissionsResponse, error)

ShowSubmissions 查询作业执行历史

查询作业执行历史接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) ShowSubmissionsInvoker added in v0.0.90

func (c *CdmClient) ShowSubmissionsInvoker(request *model.ShowSubmissionsRequest) *ShowSubmissionsInvoker

ShowSubmissionsInvoker 查询作业执行历史

func (*CdmClient) StartCluster

func (c *CdmClient) StartCluster(request *model.StartClusterRequest) (*model.StartClusterResponse, error)

StartCluster 启动集群

启动集群接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) StartClusterInvoker added in v0.0.90

func (c *CdmClient) StartClusterInvoker(request *model.StartClusterRequest) *StartClusterInvoker

StartClusterInvoker 启动集群

func (*CdmClient) StartJob

func (c *CdmClient) StartJob(request *model.StartJobRequest) (*model.StartJobResponse, error)

StartJob 启动作业

启动作业接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) StartJobInvoker added in v0.0.90

func (c *CdmClient) StartJobInvoker(request *model.StartJobRequest) *StartJobInvoker

StartJobInvoker 启动作业

func (*CdmClient) StopCluster

func (c *CdmClient) StopCluster(request *model.StopClusterRequest) (*model.StopClusterResponse, error)

StopCluster 停止集群

停止集群接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) StopClusterInvoker added in v0.0.90

func (c *CdmClient) StopClusterInvoker(request *model.StopClusterRequest) *StopClusterInvoker

StopClusterInvoker 停止集群

func (*CdmClient) StopJob

func (c *CdmClient) StopJob(request *model.StopJobRequest) (*model.StopJobResponse, error)

StopJob 停止作业

停止作业接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) StopJobInvoker added in v0.0.90

func (c *CdmClient) StopJobInvoker(request *model.StopJobRequest) *StopJobInvoker

StopJobInvoker 停止作业

func (*CdmClient) UpdateJob

func (c *CdmClient) UpdateJob(request *model.UpdateJobRequest) (*model.UpdateJobResponse, error)

UpdateJob 修改作业

修改作业接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) UpdateJobInvoker added in v0.0.90

func (c *CdmClient) UpdateJobInvoker(request *model.UpdateJobRequest) *UpdateJobInvoker

UpdateJobInvoker 修改作业

func (c *CdmClient) UpdateLink(request *model.UpdateLinkRequest) (*model.UpdateLinkResponse, error)

UpdateLink 修改连接

修改连接接口。

Please refer to HUAWEI cloud API Explorer for details.

func (*CdmClient) UpdateLinkInvoker added in v0.0.90

func (c *CdmClient) UpdateLinkInvoker(request *model.UpdateLinkRequest) *UpdateLinkInvoker

UpdateLinkInvoker 修改连接

type CreateAndStartRandomClusterJobInvoker added in v0.0.90

type CreateAndStartRandomClusterJobInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAndStartRandomClusterJobInvoker) Invoke added in v0.0.90

type CreateClusterInvoker added in v0.0.90

type CreateClusterInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateClusterInvoker) Invoke added in v0.0.90

type CreateJobInvoker added in v0.0.90

type CreateJobInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateJobInvoker) Invoke added in v0.0.90

type CreateLinkInvoker added in v0.0.90

type CreateLinkInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateLinkInvoker) 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 DeleteJobInvoker added in v0.0.90

type DeleteJobInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteJobInvoker) Invoke added in v0.0.90

type DeleteLinkInvoker added in v0.0.90

type DeleteLinkInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteLinkInvoker) 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 ModifyClusterInvoker added in v0.1.110

type ModifyClusterInvoker struct {
	*invoker.BaseInvoker
}

func (*ModifyClusterInvoker) Invoke added in v0.1.110

type RestartClusterInvoker added in v0.0.90

type RestartClusterInvoker struct {
	*invoker.BaseInvoker
}

func (*RestartClusterInvoker) Invoke added in v0.0.90

type ShowAvailabilityZonesInvoker added in v0.1.110

type ShowAvailabilityZonesInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAvailabilityZonesInvoker) Invoke added in v0.1.110

type ShowClusterDetailInvoker added in v0.0.90

type ShowClusterDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowClusterDetailInvoker) Invoke added in v0.0.90

type ShowClusterEnterpriseProjectsInvoker added in v0.1.110

type ShowClusterEnterpriseProjectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowClusterEnterpriseProjectsInvoker) Invoke added in v0.1.110

type ShowDatastoresInvoker added in v0.1.110

type ShowDatastoresInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDatastoresInvoker) Invoke added in v0.1.110

type ShowEnterpriseProjectsInvoker added in v0.1.110

type ShowEnterpriseProjectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowEnterpriseProjectsInvoker) Invoke added in v0.1.110

type ShowFlavorDetailInvoker added in v0.1.110

type ShowFlavorDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowFlavorDetailInvoker) Invoke added in v0.1.110

type ShowFlavorsInvoker added in v0.1.110

type ShowFlavorsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowFlavorsInvoker) Invoke added in v0.1.110

type ShowInstanceDetailInvoker added in v0.1.110

type ShowInstanceDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowInstanceDetailInvoker) Invoke added in v0.1.110

type ShowJobStatusInvoker added in v0.0.90

type ShowJobStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobStatusInvoker) Invoke added in v0.0.90

type ShowJobsInvoker added in v0.0.90

type ShowJobsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobsInvoker) Invoke added in v0.0.90

func (i *ShowJobsInvoker) Invoke() (*model.ShowJobsResponse, error)

type ShowLinkInvoker added in v0.0.90

type ShowLinkInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowLinkInvoker) Invoke added in v0.0.90

func (i *ShowLinkInvoker) Invoke() (*model.ShowLinkResponse, error)

type ShowSubmissionsInvoker added in v0.0.90

type ShowSubmissionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSubmissionsInvoker) Invoke added in v0.0.90

type StartClusterInvoker added in v0.0.90

type StartClusterInvoker struct {
	*invoker.BaseInvoker
}

func (*StartClusterInvoker) Invoke added in v0.0.90

type StartJobInvoker added in v0.0.90

type StartJobInvoker struct {
	*invoker.BaseInvoker
}

func (*StartJobInvoker) Invoke added in v0.0.90

func (i *StartJobInvoker) Invoke() (*model.StartJobResponse, error)

type StopClusterInvoker added in v0.0.90

type StopClusterInvoker struct {
	*invoker.BaseInvoker
}

func (*StopClusterInvoker) Invoke added in v0.0.90

type StopJobInvoker added in v0.0.90

type StopJobInvoker struct {
	*invoker.BaseInvoker
}

func (*StopJobInvoker) Invoke added in v0.0.90

func (i *StopJobInvoker) Invoke() (*model.StopJobResponse, error)

type UpdateJobInvoker added in v0.0.90

type UpdateJobInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateJobInvoker) Invoke added in v0.0.90

type UpdateLinkInvoker added in v0.0.90

type UpdateLinkInvoker struct {
	*invoker.BaseInvoker
}

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