Documentation ¶
Index ¶
- func CloudBuildClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForDownloadKeystore() *def.HttpRequestDef
- func GenReqDefForRunJob() *def.HttpRequestDef
- func GenReqDefForShowJobListByProjectId() *def.HttpRequestDef
- func GenReqDefForShowJobStatus() *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) ShowJobListByProjectId(request *model.ShowJobListByProjectIdRequest) (*model.ShowJobListByProjectIdResponse, error)
- func (c *CloudBuildClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, 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 GenReqDefForShowJobListByProjectId ¶
func GenReqDefForShowJobListByProjectId() *def.HttpRequestDef
func GenReqDefForShowJobStatus ¶
func GenReqDefForShowJobStatus() *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文件
func (*CloudBuildClient) RunJob ¶
func (c *CloudBuildClient) RunJob(request *model.RunJobRequest) (*model.RunJobResponse, error)
执行构建任务,可传自定义参数。
func (*CloudBuildClient) ShowJobListByProjectId ¶
func (c *CloudBuildClient) ShowJobListByProjectId(request *model.ShowJobListByProjectIdRequest) (*model.ShowJobListByProjectIdResponse, error)
查看项目下用户的构建任务列表
func (*CloudBuildClient) ShowJobStatus ¶
func (c *CloudBuildClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)
查看任务运行状态
func (*CloudBuildClient) ShowLastHistory ¶
func (c *CloudBuildClient) ShowLastHistory(request *model.ShowLastHistoryRequest) (*model.ShowLastHistoryResponse, error)
查询指定代码仓库最近一次成功的构建历史
func (*CloudBuildClient) ShowListHistory ¶
func (c *CloudBuildClient) ShowListHistory(request *model.ShowListHistoryRequest) (*model.ShowListHistoryResponse, error)
查看构建任务的构建历史列表
func (*CloudBuildClient) ShowListPeriodHistory ¶
func (c *CloudBuildClient) ShowListPeriodHistory(request *model.ShowListPeriodHistoryRequest) (*model.ShowListPeriodHistoryResponse, error)
根据开始时间和结束时间查看构建任务的构建历史列表
Click to show internal directories.
Click to hide internal directories.