v3

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 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 CloudBuildClientBuilder

func CloudBuildClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForDownloadKeystore

func GenReqDefForDownloadKeystore() *def.HttpRequestDef

func GenReqDefForRunJob

func GenReqDefForRunJob() *def.HttpRequestDef

func GenReqDefForShowHistoryDetails added in v0.0.73

func GenReqDefForShowHistoryDetails() *def.HttpRequestDef

func GenReqDefForShowJobListByProjectId

func GenReqDefForShowJobListByProjectId() *def.HttpRequestDef

func GenReqDefForShowJobStatus

func GenReqDefForShowJobStatus() *def.HttpRequestDef

func GenReqDefForShowJobSuccessRatio added in v0.0.84

func GenReqDefForShowJobSuccessRatio() *def.HttpRequestDef

func GenReqDefForShowLastHistory

func GenReqDefForShowLastHistory() *def.HttpRequestDef

func GenReqDefForShowListHistory

func GenReqDefForShowListHistory() *def.HttpRequestDef

func GenReqDefForShowListPeriodHistory

func GenReqDefForShowListPeriodHistory() *def.HttpRequestDef

Types

type CloudBuildClient

type CloudBuildClient struct {
	HcClient *http_client.HcHttpClient
}

func NewCloudBuildClient

func NewCloudBuildClient(hcClient *http_client.HcHttpClient) *CloudBuildClient

func (*CloudBuildClient) DownloadKeystore

DownloadKeystore KeyStore文件下载

下载指定租户下的KeyStore文件

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

func (*CloudBuildClient) DownloadKeystoreInvoker added in v0.0.90

func (c *CloudBuildClient) DownloadKeystoreInvoker(request *model.DownloadKeystoreRequest) *DownloadKeystoreInvoker

DownloadKeystoreInvoker KeyStore文件下载

func (*CloudBuildClient) RunJob

RunJob 执行构建任务

执行构建任务,可传自定义参数。

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

func (*CloudBuildClient) RunJobInvoker added in v0.0.90

func (c *CloudBuildClient) RunJobInvoker(request *model.RunJobRequest) *RunJobInvoker

RunJobInvoker 执行构建任务

func (*CloudBuildClient) ShowHistoryDetails added in v0.0.73

ShowHistoryDetails 获取构建历史详情信息接口

获取构建历史详情信息接口

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

func (*CloudBuildClient) ShowHistoryDetailsInvoker added in v0.0.90

func (c *CloudBuildClient) ShowHistoryDetailsInvoker(request *model.ShowHistoryDetailsRequest) *ShowHistoryDetailsInvoker

ShowHistoryDetailsInvoker 获取构建历史详情信息接口

func (*CloudBuildClient) ShowJobListByProjectId

ShowJobListByProjectId 查看项目下用户的构建任务列表

查看项目下用户的构建任务列表

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

func (*CloudBuildClient) ShowJobListByProjectIdInvoker added in v0.0.90

func (c *CloudBuildClient) ShowJobListByProjectIdInvoker(request *model.ShowJobListByProjectIdRequest) *ShowJobListByProjectIdInvoker

ShowJobListByProjectIdInvoker 查看项目下用户的构建任务列表

func (*CloudBuildClient) ShowJobStatus

ShowJobStatus 查看任务运行状态

查看任务运行状态

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

func (*CloudBuildClient) ShowJobStatusInvoker added in v0.0.90

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

ShowJobStatusInvoker 查看任务运行状态

func (*CloudBuildClient) ShowJobSuccessRatio added in v0.0.84

ShowJobSuccessRatio 根据开始时间和结束时间查看构建任务的构建成功率

根据开始时间和结束时间查看构建任务的构建成功率

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

func (*CloudBuildClient) ShowJobSuccessRatioInvoker added in v0.0.90

func (c *CloudBuildClient) ShowJobSuccessRatioInvoker(request *model.ShowJobSuccessRatioRequest) *ShowJobSuccessRatioInvoker

ShowJobSuccessRatioInvoker 根据开始时间和结束时间查看构建任务的构建成功率

func (*CloudBuildClient) ShowLastHistory

ShowLastHistory 查询指定代码仓库最近一次成功的构建历史

查询指定代码仓库最近一次成功的构建历史

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

func (*CloudBuildClient) ShowLastHistoryInvoker added in v0.0.90

func (c *CloudBuildClient) ShowLastHistoryInvoker(request *model.ShowLastHistoryRequest) *ShowLastHistoryInvoker

ShowLastHistoryInvoker 查询指定代码仓库最近一次成功的构建历史

func (*CloudBuildClient) ShowListHistory

ShowListHistory 查看构建任务的构建历史列表

查看构建任务的构建历史列表

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

func (*CloudBuildClient) ShowListHistoryInvoker added in v0.0.90

func (c *CloudBuildClient) ShowListHistoryInvoker(request *model.ShowListHistoryRequest) *ShowListHistoryInvoker

ShowListHistoryInvoker 查看构建任务的构建历史列表

func (*CloudBuildClient) ShowListPeriodHistory

ShowListPeriodHistory 根据开始时间和结束时间查看构建任务的构建历史列表

根据开始时间和结束时间查看构建任务的构建历史列表

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

func (*CloudBuildClient) ShowListPeriodHistoryInvoker added in v0.0.90

func (c *CloudBuildClient) ShowListPeriodHistoryInvoker(request *model.ShowListPeriodHistoryRequest) *ShowListPeriodHistoryInvoker

ShowListPeriodHistoryInvoker 根据开始时间和结束时间查看构建任务的构建历史列表

type DownloadKeystoreInvoker added in v0.0.90

type DownloadKeystoreInvoker struct {
	*invoker.BaseInvoker
}

func (*DownloadKeystoreInvoker) Invoke added in v0.0.90

type RunJobInvoker added in v0.0.90

type RunJobInvoker struct {
	*invoker.BaseInvoker
}

func (*RunJobInvoker) Invoke added in v0.0.90

func (i *RunJobInvoker) Invoke() (*model.RunJobResponse, error)

type ShowHistoryDetailsInvoker added in v0.0.90

type ShowHistoryDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowHistoryDetailsInvoker) Invoke added in v0.0.90

type ShowJobListByProjectIdInvoker added in v0.0.90

type ShowJobListByProjectIdInvoker struct {
	*invoker.BaseInvoker
}

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

type ShowJobSuccessRatioInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowJobSuccessRatioInvoker) Invoke added in v0.0.90

type ShowLastHistoryInvoker added in v0.0.90

type ShowLastHistoryInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowLastHistoryInvoker) Invoke added in v0.0.90

type ShowListHistoryInvoker added in v0.0.90

type ShowListHistoryInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowListHistoryInvoker) Invoke added in v0.0.90

type ShowListPeriodHistoryInvoker added in v0.0.90

type ShowListPeriodHistoryInvoker struct {
	*invoker.BaseInvoker
}

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