v2

package
v0.0.85 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudDeployClientBuilder

func CloudDeployClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForCreateDeployTaskByTemplate

func GenReqDefForCreateDeployTaskByTemplate() *def.HttpRequestDef

func GenReqDefForCreateDeploymentGroup

func GenReqDefForCreateDeploymentGroup() *def.HttpRequestDef

func GenReqDefForCreateDeploymentHost

func GenReqDefForCreateDeploymentHost() *def.HttpRequestDef

func GenReqDefForDeleteDeployTask

func GenReqDefForDeleteDeployTask() *def.HttpRequestDef

func GenReqDefForDeleteDeploymentGroup

func GenReqDefForDeleteDeploymentGroup() *def.HttpRequestDef

func GenReqDefForDeleteDeploymentHost

func GenReqDefForDeleteDeploymentHost() *def.HttpRequestDef

func GenReqDefForListDeployTaskHistoryByDate added in v0.0.85

func GenReqDefForListDeployTaskHistoryByDate() *def.HttpRequestDef

func GenReqDefForListDeployTasks added in v0.0.85

func GenReqDefForListDeployTasks() *def.HttpRequestDef

func GenReqDefForListHostGroups

func GenReqDefForListHostGroups() *def.HttpRequestDef

func GenReqDefForListHosts

func GenReqDefForListHosts() *def.HttpRequestDef

func GenReqDefForListTaskSuccessRate added in v0.0.85

func GenReqDefForListTaskSuccessRate() *def.HttpRequestDef

func GenReqDefForShowDeployTaskDetail

func GenReqDefForShowDeployTaskDetail() *def.HttpRequestDef

func GenReqDefForShowDeploymentGroupDetail

func GenReqDefForShowDeploymentGroupDetail() *def.HttpRequestDef

func GenReqDefForShowDeploymentHostDetail

func GenReqDefForShowDeploymentHostDetail() *def.HttpRequestDef

func GenReqDefForShowProjectSuccessRate added in v0.0.85

func GenReqDefForShowProjectSuccessRate() *def.HttpRequestDef

func GenReqDefForStartDeployTask

func GenReqDefForStartDeployTask() *def.HttpRequestDef

func GenReqDefForUpdateDeploymentGroup

func GenReqDefForUpdateDeploymentGroup() *def.HttpRequestDef

func GenReqDefForUpdateDeploymentHost

func GenReqDefForUpdateDeploymentHost() *def.HttpRequestDef

Types

type CloudDeployClient

type CloudDeployClient struct {
	HcClient *http_client.HcHttpClient
}

func NewCloudDeployClient

func NewCloudDeployClient(hcClient *http_client.HcHttpClient) *CloudDeployClient

func (*CloudDeployClient) CreateDeployTaskByTemplate

通过模板新建部署任务

通过模板新建部署任务cloudpipeline流水线调用。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) CreateDeploymentGroup

新建主机组

在项目下新建主机组。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) CreateDeploymentHost

新建主机

在指定主机组下新建主机。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) DeleteDeployTask

删除部署任务

根据部署任务id删除部署任务。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) DeleteDeploymentGroup

删除主机组

根据主机组id删除主机组。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) DeleteDeploymentHost

删除主机

根据主机id删除主机。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) ListDeployTaskHistoryByDate added in v0.0.85

根据开始时间和结束时间查询项目下指定任务的历史执行记录列表

根据开始时间和结束时间查询项目下指定任务的历史执行记录列表

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) ListDeployTasks added in v0.0.85

获取部署任务列表

查询项目下部署任务列表

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) ListHostGroups

查询主机组列表

按条件查询主机组列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) ListHosts

查询主机列表

根据主机组id查询指定主机组下的主机列表。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) ListTaskSuccessRate added in v0.0.85

获取指定任务的部署任务执行成功率

获取指定任务的部署任务执行成功率

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) ShowDeployTaskDetail

获取部署任务详情

根据部署任务id获取部署任务详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) ShowDeploymentGroupDetail

查询主机组

根据主机组id查询主机组详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) ShowDeploymentHostDetail

查询主机详情

根据主机id查询主机详情。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) ShowProjectSuccessRate added in v0.0.85

获取指定项目的部署任务执行成功率

获取指定项目的部署任务执行成功率

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) StartDeployTask

启动部署任务

根据部署任务id启动部署任务。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) UpdateDeploymentGroup

修改主机组

根据主机组id修改主机组信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CloudDeployClient) UpdateDeploymentHost

修改主机

根据主机id修改主机信息。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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