Documentation ¶
Index ¶
- func CloudDeployClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateDeployTaskByTemplate() *def.HttpRequestDef
- func GenReqDefForCreateDeploymentGroup() *def.HttpRequestDef
- func GenReqDefForCreateDeploymentHost() *def.HttpRequestDef
- func GenReqDefForDeleteDeployTask() *def.HttpRequestDef
- func GenReqDefForDeleteDeploymentGroup() *def.HttpRequestDef
- func GenReqDefForDeleteDeploymentHost() *def.HttpRequestDef
- func GenReqDefForListDeployTaskHistoryByDate() *def.HttpRequestDef
- func GenReqDefForListDeployTasks() *def.HttpRequestDef
- func GenReqDefForListHostGroups() *def.HttpRequestDef
- func GenReqDefForListHosts() *def.HttpRequestDef
- func GenReqDefForListTaskSuccessRate() *def.HttpRequestDef
- func GenReqDefForShowDeployTaskDetail() *def.HttpRequestDef
- func GenReqDefForShowDeploymentGroupDetail() *def.HttpRequestDef
- func GenReqDefForShowDeploymentHostDetail() *def.HttpRequestDef
- func GenReqDefForShowProjectSuccessRate() *def.HttpRequestDef
- func GenReqDefForStartDeployTask() *def.HttpRequestDef
- func GenReqDefForUpdateDeploymentGroup() *def.HttpRequestDef
- func GenReqDefForUpdateDeploymentHost() *def.HttpRequestDef
- type CloudDeployClient
- func (c *CloudDeployClient) CreateDeployTaskByTemplate(request *model.CreateDeployTaskByTemplateRequest) (*model.CreateDeployTaskByTemplateResponse, error)
- func (c *CloudDeployClient) CreateDeploymentGroup(request *model.CreateDeploymentGroupRequest) (*model.CreateDeploymentGroupResponse, error)
- func (c *CloudDeployClient) CreateDeploymentHost(request *model.CreateDeploymentHostRequest) (*model.CreateDeploymentHostResponse, error)
- func (c *CloudDeployClient) DeleteDeployTask(request *model.DeleteDeployTaskRequest) (*model.DeleteDeployTaskResponse, error)
- func (c *CloudDeployClient) DeleteDeploymentGroup(request *model.DeleteDeploymentGroupRequest) (*model.DeleteDeploymentGroupResponse, error)
- func (c *CloudDeployClient) DeleteDeploymentHost(request *model.DeleteDeploymentHostRequest) (*model.DeleteDeploymentHostResponse, error)
- func (c *CloudDeployClient) ListDeployTaskHistoryByDate(request *model.ListDeployTaskHistoryByDateRequest) (*model.ListDeployTaskHistoryByDateResponse, error)
- func (c *CloudDeployClient) ListDeployTasks(request *model.ListDeployTasksRequest) (*model.ListDeployTasksResponse, error)
- func (c *CloudDeployClient) ListHostGroups(request *model.ListHostGroupsRequest) (*model.ListHostGroupsResponse, error)
- func (c *CloudDeployClient) ListHosts(request *model.ListHostsRequest) (*model.ListHostsResponse, error)
- func (c *CloudDeployClient) ListTaskSuccessRate(request *model.ListTaskSuccessRateRequest) (*model.ListTaskSuccessRateResponse, error)
- func (c *CloudDeployClient) ShowDeployTaskDetail(request *model.ShowDeployTaskDetailRequest) (*model.ShowDeployTaskDetailResponse, error)
- func (c *CloudDeployClient) ShowDeploymentGroupDetail(request *model.ShowDeploymentGroupDetailRequest) (*model.ShowDeploymentGroupDetailResponse, error)
- func (c *CloudDeployClient) ShowDeploymentHostDetail(request *model.ShowDeploymentHostDetailRequest) (*model.ShowDeploymentHostDetailResponse, error)
- func (c *CloudDeployClient) ShowProjectSuccessRate(request *model.ShowProjectSuccessRateRequest) (*model.ShowProjectSuccessRateResponse, error)
- func (c *CloudDeployClient) StartDeployTask(request *model.StartDeployTaskRequest) (*model.StartDeployTaskResponse, error)
- func (c *CloudDeployClient) UpdateDeploymentGroup(request *model.UpdateDeploymentGroupRequest) (*model.UpdateDeploymentGroupResponse, error)
- func (c *CloudDeployClient) UpdateDeploymentHost(request *model.UpdateDeploymentHostRequest) (*model.UpdateDeploymentHostResponse, error)
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 ¶
func (c *CloudDeployClient) CreateDeployTaskByTemplate(request *model.CreateDeployTaskByTemplateRequest) (*model.CreateDeployTaskByTemplateResponse, error)
通过模板新建部署任务
通过模板新建部署任务cloudpipeline流水线调用。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) CreateDeploymentGroup ¶
func (c *CloudDeployClient) CreateDeploymentGroup(request *model.CreateDeploymentGroupRequest) (*model.CreateDeploymentGroupResponse, error)
新建主机组
在项目下新建主机组。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) CreateDeploymentHost ¶
func (c *CloudDeployClient) CreateDeploymentHost(request *model.CreateDeploymentHostRequest) (*model.CreateDeploymentHostResponse, error)
新建主机
在指定主机组下新建主机。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) DeleteDeployTask ¶
func (c *CloudDeployClient) DeleteDeployTask(request *model.DeleteDeployTaskRequest) (*model.DeleteDeployTaskResponse, error)
删除部署任务
根据部署任务id删除部署任务。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) DeleteDeploymentGroup ¶
func (c *CloudDeployClient) DeleteDeploymentGroup(request *model.DeleteDeploymentGroupRequest) (*model.DeleteDeploymentGroupResponse, error)
删除主机组
根据主机组id删除主机组。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) DeleteDeploymentHost ¶
func (c *CloudDeployClient) DeleteDeploymentHost(request *model.DeleteDeploymentHostRequest) (*model.DeleteDeploymentHostResponse, error)
删除主机
根据主机id删除主机。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) ListDeployTaskHistoryByDate ¶ added in v0.0.85
func (c *CloudDeployClient) ListDeployTaskHistoryByDate(request *model.ListDeployTaskHistoryByDateRequest) (*model.ListDeployTaskHistoryByDateResponse, error)
根据开始时间和结束时间查询项目下指定任务的历史执行记录列表
根据开始时间和结束时间查询项目下指定任务的历史执行记录列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) ListDeployTasks ¶ added in v0.0.85
func (c *CloudDeployClient) ListDeployTasks(request *model.ListDeployTasksRequest) (*model.ListDeployTasksResponse, error)
获取部署任务列表
查询项目下部署任务列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) ListHostGroups ¶
func (c *CloudDeployClient) ListHostGroups(request *model.ListHostGroupsRequest) (*model.ListHostGroupsResponse, error)
查询主机组列表
按条件查询主机组列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) ListHosts ¶
func (c *CloudDeployClient) ListHosts(request *model.ListHostsRequest) (*model.ListHostsResponse, error)
查询主机列表
根据主机组id查询指定主机组下的主机列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) ListTaskSuccessRate ¶ added in v0.0.85
func (c *CloudDeployClient) ListTaskSuccessRate(request *model.ListTaskSuccessRateRequest) (*model.ListTaskSuccessRateResponse, error)
获取指定任务的部署任务执行成功率
获取指定任务的部署任务执行成功率
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) ShowDeployTaskDetail ¶
func (c *CloudDeployClient) ShowDeployTaskDetail(request *model.ShowDeployTaskDetailRequest) (*model.ShowDeployTaskDetailResponse, error)
获取部署任务详情
根据部署任务id获取部署任务详情。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) ShowDeploymentGroupDetail ¶
func (c *CloudDeployClient) ShowDeploymentGroupDetail(request *model.ShowDeploymentGroupDetailRequest) (*model.ShowDeploymentGroupDetailResponse, error)
查询主机组
根据主机组id查询主机组详情。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) ShowDeploymentHostDetail ¶
func (c *CloudDeployClient) ShowDeploymentHostDetail(request *model.ShowDeploymentHostDetailRequest) (*model.ShowDeploymentHostDetailResponse, error)
查询主机详情
根据主机id查询主机详情。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) ShowProjectSuccessRate ¶ added in v0.0.85
func (c *CloudDeployClient) ShowProjectSuccessRate(request *model.ShowProjectSuccessRateRequest) (*model.ShowProjectSuccessRateResponse, error)
获取指定项目的部署任务执行成功率
获取指定项目的部署任务执行成功率
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) StartDeployTask ¶
func (c *CloudDeployClient) StartDeployTask(request *model.StartDeployTaskRequest) (*model.StartDeployTaskResponse, error)
启动部署任务
根据部署任务id启动部署任务。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) UpdateDeploymentGroup ¶
func (c *CloudDeployClient) UpdateDeploymentGroup(request *model.UpdateDeploymentGroupRequest) (*model.UpdateDeploymentGroupResponse, error)
修改主机组
根据主机组id修改主机组信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudDeployClient) UpdateDeploymentHost ¶
func (c *CloudDeployClient) UpdateDeploymentHost(request *model.UpdateDeploymentHostRequest) (*model.UpdateDeploymentHostResponse, error)
修改主机
根据主机id修改主机信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.