Documentation ¶
Index ¶
- func CloudBuildClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForDownloadKeystore() *def.HttpRequestDef
- func GenReqDefForRunJob() *def.HttpRequestDef
- func GenReqDefForShowHistoryDetails() *def.HttpRequestDef
- func GenReqDefForShowJobListByProjectId() *def.HttpRequestDef
- func GenReqDefForShowJobStatus() *def.HttpRequestDef
- func GenReqDefForShowJobSuccessRatio() *def.HttpRequestDef
- func GenReqDefForShowLastHistory() *def.HttpRequestDef
- func GenReqDefForShowListHistory() *def.HttpRequestDef
- func GenReqDefForShowListPeriodHistory() *def.HttpRequestDef
- type CloudBuildClient
- func (c *CloudBuildClient) DownloadKeystore(request *model.DownloadKeystoreRequest) (*model.DownloadKeystoreResponse, error)
- func (c *CloudBuildClient) RunJob(request *model.RunJobRequest) (*model.RunJobResponse, error)
- func (c *CloudBuildClient) ShowHistoryDetails(request *model.ShowHistoryDetailsRequest) (*model.ShowHistoryDetailsResponse, error)
- func (c *CloudBuildClient) ShowJobListByProjectId(request *model.ShowJobListByProjectIdRequest) (*model.ShowJobListByProjectIdResponse, error)
- func (c *CloudBuildClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)
- func (c *CloudBuildClient) ShowJobSuccessRatio(request *model.ShowJobSuccessRatioRequest) (*model.ShowJobSuccessRatioResponse, error)
- func (c *CloudBuildClient) ShowLastHistory(request *model.ShowLastHistoryRequest) (*model.ShowLastHistoryResponse, error)
- func (c *CloudBuildClient) ShowListHistory(request *model.ShowListHistoryRequest) (*model.ShowListHistoryResponse, error)
- func (c *CloudBuildClient) ShowListPeriodHistory(request *model.ShowListPeriodHistoryRequest) (*model.ShowListPeriodHistoryResponse, error)
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 ¶
func (c *CloudBuildClient) DownloadKeystore(request *model.DownloadKeystoreRequest) (*model.DownloadKeystoreResponse, error)
KeyStore文件下载
下载指定租户下的KeyStore文件
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudBuildClient) RunJob ¶
func (c *CloudBuildClient) RunJob(request *model.RunJobRequest) (*model.RunJobResponse, error)
执行构建任务
执行构建任务,可传自定义参数。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudBuildClient) ShowHistoryDetails ¶ added in v0.0.73
func (c *CloudBuildClient) ShowHistoryDetails(request *model.ShowHistoryDetailsRequest) (*model.ShowHistoryDetailsResponse, error)
获取构建历史详情信息接口
获取构建历史详情信息接口
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudBuildClient) ShowJobListByProjectId ¶
func (c *CloudBuildClient) ShowJobListByProjectId(request *model.ShowJobListByProjectIdRequest) (*model.ShowJobListByProjectIdResponse, error)
查看项目下用户的构建任务列表
查看项目下用户的构建任务列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudBuildClient) ShowJobStatus ¶
func (c *CloudBuildClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)
查看任务运行状态
查看任务运行状态
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudBuildClient) ShowJobSuccessRatio ¶ added in v0.0.84
func (c *CloudBuildClient) ShowJobSuccessRatio(request *model.ShowJobSuccessRatioRequest) (*model.ShowJobSuccessRatioResponse, error)
根据开始时间和结束时间查看构建任务的构建成功率
根据开始时间和结束时间查看构建任务的构建成功率
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudBuildClient) ShowLastHistory ¶
func (c *CloudBuildClient) ShowLastHistory(request *model.ShowLastHistoryRequest) (*model.ShowLastHistoryResponse, error)
查询指定代码仓库最近一次成功的构建历史
查询指定代码仓库最近一次成功的构建历史
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudBuildClient) ShowListHistory ¶
func (c *CloudBuildClient) ShowListHistory(request *model.ShowListHistoryRequest) (*model.ShowListHistoryResponse, error)
查看构建任务的构建历史列表
查看构建任务的构建历史列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CloudBuildClient) ShowListPeriodHistory ¶
func (c *CloudBuildClient) ShowListPeriodHistory(request *model.ShowListPeriodHistoryRequest) (*model.ShowListPeriodHistoryResponse, error)
根据开始时间和结束时间查看构建任务的构建历史列表
根据开始时间和结束时间查看构建任务的构建历史列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.