v2

package
v0.0.100 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 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 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

CreateDeployTaskByTemplate 通过模板新建部署任务

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

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

func (*CloudDeployClient) CreateDeployTaskByTemplateInvoker added in v0.0.90

func (c *CloudDeployClient) CreateDeployTaskByTemplateInvoker(request *model.CreateDeployTaskByTemplateRequest) *CreateDeployTaskByTemplateInvoker

CreateDeployTaskByTemplateInvoker 通过模板新建部署任务

func (*CloudDeployClient) CreateDeploymentGroup

CreateDeploymentGroup 新建主机组

在项目下新建主机组。

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

func (*CloudDeployClient) CreateDeploymentGroupInvoker added in v0.0.90

func (c *CloudDeployClient) CreateDeploymentGroupInvoker(request *model.CreateDeploymentGroupRequest) *CreateDeploymentGroupInvoker

CreateDeploymentGroupInvoker 新建主机组

func (*CloudDeployClient) CreateDeploymentHost

CreateDeploymentHost 新建主机

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

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

func (*CloudDeployClient) CreateDeploymentHostInvoker added in v0.0.90

func (c *CloudDeployClient) CreateDeploymentHostInvoker(request *model.CreateDeploymentHostRequest) *CreateDeploymentHostInvoker

CreateDeploymentHostInvoker 新建主机

func (*CloudDeployClient) DeleteDeployTask

DeleteDeployTask 删除部署任务

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

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

func (*CloudDeployClient) DeleteDeployTaskInvoker added in v0.0.90

func (c *CloudDeployClient) DeleteDeployTaskInvoker(request *model.DeleteDeployTaskRequest) *DeleteDeployTaskInvoker

DeleteDeployTaskInvoker 删除部署任务

func (*CloudDeployClient) DeleteDeploymentGroup

DeleteDeploymentGroup 删除主机组

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

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

func (*CloudDeployClient) DeleteDeploymentGroupInvoker added in v0.0.90

func (c *CloudDeployClient) DeleteDeploymentGroupInvoker(request *model.DeleteDeploymentGroupRequest) *DeleteDeploymentGroupInvoker

DeleteDeploymentGroupInvoker 删除主机组

func (*CloudDeployClient) DeleteDeploymentHost

DeleteDeploymentHost 删除主机

根据主机id删除主机。

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

func (*CloudDeployClient) DeleteDeploymentHostInvoker added in v0.0.90

func (c *CloudDeployClient) DeleteDeploymentHostInvoker(request *model.DeleteDeploymentHostRequest) *DeleteDeploymentHostInvoker

DeleteDeploymentHostInvoker 删除主机

func (*CloudDeployClient) ListDeployTaskHistoryByDate added in v0.0.85

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

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

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

func (*CloudDeployClient) ListDeployTaskHistoryByDateInvoker added in v0.0.90

func (c *CloudDeployClient) ListDeployTaskHistoryByDateInvoker(request *model.ListDeployTaskHistoryByDateRequest) *ListDeployTaskHistoryByDateInvoker

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

func (*CloudDeployClient) ListDeployTasks added in v0.0.85

ListDeployTasks 获取部署任务列表

查询项目下部署任务列表

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

func (*CloudDeployClient) ListDeployTasksInvoker added in v0.0.90

func (c *CloudDeployClient) ListDeployTasksInvoker(request *model.ListDeployTasksRequest) *ListDeployTasksInvoker

ListDeployTasksInvoker 获取部署任务列表

func (*CloudDeployClient) ListHostGroups

ListHostGroups 查询主机组列表

按条件查询主机组列表。

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

func (*CloudDeployClient) ListHostGroupsInvoker added in v0.0.90

func (c *CloudDeployClient) ListHostGroupsInvoker(request *model.ListHostGroupsRequest) *ListHostGroupsInvoker

ListHostGroupsInvoker 查询主机组列表

func (*CloudDeployClient) ListHosts

ListHosts 查询主机列表

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

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

func (*CloudDeployClient) ListHostsInvoker added in v0.0.90

func (c *CloudDeployClient) ListHostsInvoker(request *model.ListHostsRequest) *ListHostsInvoker

ListHostsInvoker 查询主机列表

func (*CloudDeployClient) ListTaskSuccessRate added in v0.0.85

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

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

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

func (*CloudDeployClient) ListTaskSuccessRateInvoker added in v0.0.90

func (c *CloudDeployClient) ListTaskSuccessRateInvoker(request *model.ListTaskSuccessRateRequest) *ListTaskSuccessRateInvoker

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

func (*CloudDeployClient) ShowDeployTaskDetail

ShowDeployTaskDetail 获取部署任务详情

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

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

func (*CloudDeployClient) ShowDeployTaskDetailInvoker added in v0.0.90

func (c *CloudDeployClient) ShowDeployTaskDetailInvoker(request *model.ShowDeployTaskDetailRequest) *ShowDeployTaskDetailInvoker

ShowDeployTaskDetailInvoker 获取部署任务详情

func (*CloudDeployClient) ShowDeploymentGroupDetail

ShowDeploymentGroupDetail 查询主机组

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

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

func (*CloudDeployClient) ShowDeploymentGroupDetailInvoker added in v0.0.90

func (c *CloudDeployClient) ShowDeploymentGroupDetailInvoker(request *model.ShowDeploymentGroupDetailRequest) *ShowDeploymentGroupDetailInvoker

ShowDeploymentGroupDetailInvoker 查询主机组

func (*CloudDeployClient) ShowDeploymentHostDetail

ShowDeploymentHostDetail 查询主机详情

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

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

func (*CloudDeployClient) ShowDeploymentHostDetailInvoker added in v0.0.90

func (c *CloudDeployClient) ShowDeploymentHostDetailInvoker(request *model.ShowDeploymentHostDetailRequest) *ShowDeploymentHostDetailInvoker

ShowDeploymentHostDetailInvoker 查询主机详情

func (*CloudDeployClient) ShowProjectSuccessRate added in v0.0.85

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

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

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

func (*CloudDeployClient) ShowProjectSuccessRateInvoker added in v0.0.90

func (c *CloudDeployClient) ShowProjectSuccessRateInvoker(request *model.ShowProjectSuccessRateRequest) *ShowProjectSuccessRateInvoker

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

func (*CloudDeployClient) StartDeployTask

StartDeployTask 启动部署任务

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

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

func (*CloudDeployClient) StartDeployTaskInvoker added in v0.0.90

func (c *CloudDeployClient) StartDeployTaskInvoker(request *model.StartDeployTaskRequest) *StartDeployTaskInvoker

StartDeployTaskInvoker 启动部署任务

func (*CloudDeployClient) UpdateDeploymentGroup

UpdateDeploymentGroup 修改主机组

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

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

func (*CloudDeployClient) UpdateDeploymentGroupInvoker added in v0.0.90

func (c *CloudDeployClient) UpdateDeploymentGroupInvoker(request *model.UpdateDeploymentGroupRequest) *UpdateDeploymentGroupInvoker

UpdateDeploymentGroupInvoker 修改主机组

func (*CloudDeployClient) UpdateDeploymentHost

UpdateDeploymentHost 修改主机

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

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

func (*CloudDeployClient) UpdateDeploymentHostInvoker added in v0.0.90

func (c *CloudDeployClient) UpdateDeploymentHostInvoker(request *model.UpdateDeploymentHostRequest) *UpdateDeploymentHostInvoker

UpdateDeploymentHostInvoker 修改主机

type CreateDeployTaskByTemplateInvoker added in v0.0.90

type CreateDeployTaskByTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDeployTaskByTemplateInvoker) Invoke added in v0.0.90

type CreateDeploymentGroupInvoker added in v0.0.90

type CreateDeploymentGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDeploymentGroupInvoker) Invoke added in v0.0.90

type CreateDeploymentHostInvoker added in v0.0.90

type CreateDeploymentHostInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateDeploymentHostInvoker) Invoke added in v0.0.90

type DeleteDeployTaskInvoker added in v0.0.90

type DeleteDeployTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDeployTaskInvoker) Invoke added in v0.0.90

type DeleteDeploymentGroupInvoker added in v0.0.90

type DeleteDeploymentGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDeploymentGroupInvoker) Invoke added in v0.0.90

type DeleteDeploymentHostInvoker added in v0.0.90

type DeleteDeploymentHostInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteDeploymentHostInvoker) Invoke added in v0.0.90

type ListDeployTaskHistoryByDateInvoker added in v0.0.90

type ListDeployTaskHistoryByDateInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDeployTaskHistoryByDateInvoker) Invoke added in v0.0.90

type ListDeployTasksInvoker added in v0.0.90

type ListDeployTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDeployTasksInvoker) Invoke added in v0.0.90

type ListHostGroupsInvoker added in v0.0.90

type ListHostGroupsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHostGroupsInvoker) Invoke added in v0.0.90

type ListHostsInvoker added in v0.0.90

type ListHostsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHostsInvoker) Invoke added in v0.0.90

type ListTaskSuccessRateInvoker added in v0.0.90

type ListTaskSuccessRateInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTaskSuccessRateInvoker) Invoke added in v0.0.90

type ShowDeployTaskDetailInvoker added in v0.0.90

type ShowDeployTaskDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDeployTaskDetailInvoker) Invoke added in v0.0.90

type ShowDeploymentGroupDetailInvoker added in v0.0.90

type ShowDeploymentGroupDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDeploymentGroupDetailInvoker) Invoke added in v0.0.90

type ShowDeploymentHostDetailInvoker added in v0.0.90

type ShowDeploymentHostDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDeploymentHostDetailInvoker) Invoke added in v0.0.90

type ShowProjectSuccessRateInvoker added in v0.0.90

type ShowProjectSuccessRateInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowProjectSuccessRateInvoker) Invoke added in v0.0.90

type StartDeployTaskInvoker added in v0.0.90

type StartDeployTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*StartDeployTaskInvoker) Invoke added in v0.0.90

type UpdateDeploymentGroupInvoker added in v0.0.90

type UpdateDeploymentGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDeploymentGroupInvoker) Invoke added in v0.0.90

type UpdateDeploymentHostInvoker added in v0.0.90

type UpdateDeploymentHostInvoker struct {
	*invoker.BaseInvoker
}

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