v1

package
v0.1.109 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 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 GenReqDefForRestartCluster

func GenReqDefForRestartCluster() *def.HttpRequestDef

func GenReqDefForShowClusterDetail

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

type RestartClusterInvoker struct {
	*invoker.BaseInvoker
}

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

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