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) DownloadKeystoreInvoker(request *model.DownloadKeystoreRequest) *DownloadKeystoreInvoker
- func (c *CloudBuildClient) RunJob(request *model.RunJobRequest) (*model.RunJobResponse, error)
- func (c *CloudBuildClient) RunJobInvoker(request *model.RunJobRequest) *RunJobInvoker
- func (c *CloudBuildClient) ShowHistoryDetails(request *model.ShowHistoryDetailsRequest) (*model.ShowHistoryDetailsResponse, error)
- func (c *CloudBuildClient) ShowHistoryDetailsInvoker(request *model.ShowHistoryDetailsRequest) *ShowHistoryDetailsInvoker
- func (c *CloudBuildClient) ShowJobListByProjectId(request *model.ShowJobListByProjectIdRequest) (*model.ShowJobListByProjectIdResponse, error)
- func (c *CloudBuildClient) ShowJobListByProjectIdInvoker(request *model.ShowJobListByProjectIdRequest) *ShowJobListByProjectIdInvoker
- func (c *CloudBuildClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)
- func (c *CloudBuildClient) ShowJobStatusInvoker(request *model.ShowJobStatusRequest) *ShowJobStatusInvoker
- func (c *CloudBuildClient) ShowJobSuccessRatio(request *model.ShowJobSuccessRatioRequest) (*model.ShowJobSuccessRatioResponse, error)
- func (c *CloudBuildClient) ShowJobSuccessRatioInvoker(request *model.ShowJobSuccessRatioRequest) *ShowJobSuccessRatioInvoker
- func (c *CloudBuildClient) ShowLastHistory(request *model.ShowLastHistoryRequest) (*model.ShowLastHistoryResponse, error)
- func (c *CloudBuildClient) ShowLastHistoryInvoker(request *model.ShowLastHistoryRequest) *ShowLastHistoryInvoker
- func (c *CloudBuildClient) ShowListHistory(request *model.ShowListHistoryRequest) (*model.ShowListHistoryResponse, error)
- func (c *CloudBuildClient) ShowListHistoryInvoker(request *model.ShowListHistoryRequest) *ShowListHistoryInvoker
- func (c *CloudBuildClient) ShowListPeriodHistory(request *model.ShowListPeriodHistoryRequest) (*model.ShowListPeriodHistoryResponse, error)
- func (c *CloudBuildClient) ShowListPeriodHistoryInvoker(request *model.ShowListPeriodHistoryRequest) *ShowListPeriodHistoryInvoker
- type DownloadKeystoreInvoker
- type RunJobInvoker
- type ShowHistoryDetailsInvoker
- type ShowJobListByProjectIdInvoker
- type ShowJobStatusInvoker
- type ShowJobSuccessRatioInvoker
- type ShowLastHistoryInvoker
- type ShowListHistoryInvoker
- type ShowListPeriodHistoryInvoker
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)
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 ¶
func (c *CloudBuildClient) RunJob(request *model.RunJobRequest) (*model.RunJobResponse, error)
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
func (c *CloudBuildClient) ShowHistoryDetails(request *model.ShowHistoryDetailsRequest) (*model.ShowHistoryDetailsResponse, error)
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 ¶
func (c *CloudBuildClient) ShowJobListByProjectId(request *model.ShowJobListByProjectIdRequest) (*model.ShowJobListByProjectIdResponse, error)
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 ¶
func (c *CloudBuildClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)
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
func (c *CloudBuildClient) ShowJobSuccessRatio(request *model.ShowJobSuccessRatioRequest) (*model.ShowJobSuccessRatioResponse, error)
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 ¶
func (c *CloudBuildClient) ShowLastHistory(request *model.ShowLastHistoryRequest) (*model.ShowLastHistoryResponse, error)
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 ¶
func (c *CloudBuildClient) ShowListHistory(request *model.ShowListHistoryRequest) (*model.ShowListHistoryResponse, error)
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 ¶
func (c *CloudBuildClient) ShowListPeriodHistory(request *model.ShowListPeriodHistoryRequest) (*model.ShowListPeriodHistoryResponse, error)
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
func (i *DownloadKeystoreInvoker) Invoke() (*model.DownloadKeystoreResponse, error)
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
func (i *ShowHistoryDetailsInvoker) Invoke() (*model.ShowHistoryDetailsResponse, error)
type ShowJobListByProjectIdInvoker ¶ added in v0.0.90
type ShowJobListByProjectIdInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJobListByProjectIdInvoker) Invoke ¶ added in v0.0.90
func (i *ShowJobListByProjectIdInvoker) Invoke() (*model.ShowJobListByProjectIdResponse, error)
type ShowJobStatusInvoker ¶ added in v0.0.90
type ShowJobStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJobStatusInvoker) Invoke ¶ added in v0.0.90
func (i *ShowJobStatusInvoker) Invoke() (*model.ShowJobStatusResponse, error)
type ShowJobSuccessRatioInvoker ¶ added in v0.0.90
type ShowJobSuccessRatioInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJobSuccessRatioInvoker) Invoke ¶ added in v0.0.90
func (i *ShowJobSuccessRatioInvoker) Invoke() (*model.ShowJobSuccessRatioResponse, error)
type ShowLastHistoryInvoker ¶ added in v0.0.90
type ShowLastHistoryInvoker struct {
*invoker.BaseInvoker
}
func (*ShowLastHistoryInvoker) Invoke ¶ added in v0.0.90
func (i *ShowLastHistoryInvoker) Invoke() (*model.ShowLastHistoryResponse, error)
type ShowListHistoryInvoker ¶ added in v0.0.90
type ShowListHistoryInvoker struct {
*invoker.BaseInvoker
}
func (*ShowListHistoryInvoker) Invoke ¶ added in v0.0.90
func (i *ShowListHistoryInvoker) Invoke() (*model.ShowListHistoryResponse, error)
type ShowListPeriodHistoryInvoker ¶ added in v0.0.90
type ShowListPeriodHistoryInvoker struct {
*invoker.BaseInvoker
}
func (*ShowListPeriodHistoryInvoker) Invoke ¶ added in v0.0.90
func (i *ShowListPeriodHistoryInvoker) Invoke() (*model.ShowListPeriodHistoryResponse, error)