Documentation ¶
Index ¶
- func CodeArtsBuildClientBuilder() *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 CodeArtsBuildClient
- func (c *CodeArtsBuildClient) DownloadKeystore(request *model.DownloadKeystoreRequest) (*model.DownloadKeystoreResponse, error)
- func (c *CodeArtsBuildClient) DownloadKeystoreInvoker(request *model.DownloadKeystoreRequest) *DownloadKeystoreInvoker
- func (c *CodeArtsBuildClient) RunJob(request *model.RunJobRequest) (*model.RunJobResponse, error)
- func (c *CodeArtsBuildClient) RunJobInvoker(request *model.RunJobRequest) *RunJobInvoker
- func (c *CodeArtsBuildClient) ShowHistoryDetails(request *model.ShowHistoryDetailsRequest) (*model.ShowHistoryDetailsResponse, error)
- func (c *CodeArtsBuildClient) ShowHistoryDetailsInvoker(request *model.ShowHistoryDetailsRequest) *ShowHistoryDetailsInvoker
- func (c *CodeArtsBuildClient) ShowJobListByProjectId(request *model.ShowJobListByProjectIdRequest) (*model.ShowJobListByProjectIdResponse, error)
- func (c *CodeArtsBuildClient) ShowJobListByProjectIdInvoker(request *model.ShowJobListByProjectIdRequest) *ShowJobListByProjectIdInvoker
- func (c *CodeArtsBuildClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)
- func (c *CodeArtsBuildClient) ShowJobStatusInvoker(request *model.ShowJobStatusRequest) *ShowJobStatusInvoker
- func (c *CodeArtsBuildClient) ShowJobSuccessRatio(request *model.ShowJobSuccessRatioRequest) (*model.ShowJobSuccessRatioResponse, error)
- func (c *CodeArtsBuildClient) ShowJobSuccessRatioInvoker(request *model.ShowJobSuccessRatioRequest) *ShowJobSuccessRatioInvoker
- func (c *CodeArtsBuildClient) ShowLastHistory(request *model.ShowLastHistoryRequest) (*model.ShowLastHistoryResponse, error)
- func (c *CodeArtsBuildClient) ShowLastHistoryInvoker(request *model.ShowLastHistoryRequest) *ShowLastHistoryInvoker
- func (c *CodeArtsBuildClient) ShowListHistory(request *model.ShowListHistoryRequest) (*model.ShowListHistoryResponse, error)
- func (c *CodeArtsBuildClient) ShowListHistoryInvoker(request *model.ShowListHistoryRequest) *ShowListHistoryInvoker
- func (c *CodeArtsBuildClient) ShowListPeriodHistory(request *model.ShowListPeriodHistoryRequest) (*model.ShowListPeriodHistoryResponse, error)
- func (c *CodeArtsBuildClient) 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 CodeArtsBuildClientBuilder ¶
func CodeArtsBuildClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForDownloadKeystore ¶
func GenReqDefForDownloadKeystore() *def.HttpRequestDef
func GenReqDefForRunJob ¶
func GenReqDefForRunJob() *def.HttpRequestDef
func GenReqDefForShowHistoryDetails ¶
func GenReqDefForShowHistoryDetails() *def.HttpRequestDef
func GenReqDefForShowJobListByProjectId ¶
func GenReqDefForShowJobListByProjectId() *def.HttpRequestDef
func GenReqDefForShowJobStatus ¶
func GenReqDefForShowJobStatus() *def.HttpRequestDef
func GenReqDefForShowJobSuccessRatio ¶
func GenReqDefForShowJobSuccessRatio() *def.HttpRequestDef
func GenReqDefForShowLastHistory ¶
func GenReqDefForShowLastHistory() *def.HttpRequestDef
func GenReqDefForShowListHistory ¶
func GenReqDefForShowListHistory() *def.HttpRequestDef
func GenReqDefForShowListPeriodHistory ¶
func GenReqDefForShowListPeriodHistory() *def.HttpRequestDef
Types ¶
type CodeArtsBuildClient ¶
type CodeArtsBuildClient struct {
HcClient *http_client.HcHttpClient
}
func NewCodeArtsBuildClient ¶
func NewCodeArtsBuildClient(hcClient *http_client.HcHttpClient) *CodeArtsBuildClient
func (*CodeArtsBuildClient) DownloadKeystore ¶
func (c *CodeArtsBuildClient) DownloadKeystore(request *model.DownloadKeystoreRequest) (*model.DownloadKeystoreResponse, error)
DownloadKeystore KeyStore文件下载
下载指定租户下的KeyStore文件
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) DownloadKeystoreInvoker ¶
func (c *CodeArtsBuildClient) DownloadKeystoreInvoker(request *model.DownloadKeystoreRequest) *DownloadKeystoreInvoker
DownloadKeystoreInvoker KeyStore文件下载
func (*CodeArtsBuildClient) RunJob ¶
func (c *CodeArtsBuildClient) RunJob(request *model.RunJobRequest) (*model.RunJobResponse, error)
RunJob 执行构建任务
执行构建任务,可传自定义参数。
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) RunJobInvoker ¶
func (c *CodeArtsBuildClient) RunJobInvoker(request *model.RunJobRequest) *RunJobInvoker
RunJobInvoker 执行构建任务
func (*CodeArtsBuildClient) ShowHistoryDetails ¶
func (c *CodeArtsBuildClient) ShowHistoryDetails(request *model.ShowHistoryDetailsRequest) (*model.ShowHistoryDetailsResponse, error)
ShowHistoryDetails 获取构建历史详情信息接口
获取构建历史详情信息接口
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) ShowHistoryDetailsInvoker ¶
func (c *CodeArtsBuildClient) ShowHistoryDetailsInvoker(request *model.ShowHistoryDetailsRequest) *ShowHistoryDetailsInvoker
ShowHistoryDetailsInvoker 获取构建历史详情信息接口
func (*CodeArtsBuildClient) ShowJobListByProjectId ¶
func (c *CodeArtsBuildClient) ShowJobListByProjectId(request *model.ShowJobListByProjectIdRequest) (*model.ShowJobListByProjectIdResponse, error)
ShowJobListByProjectId 查看项目下用户的构建任务列表
查看项目下用户的构建任务列表
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) ShowJobListByProjectIdInvoker ¶
func (c *CodeArtsBuildClient) ShowJobListByProjectIdInvoker(request *model.ShowJobListByProjectIdRequest) *ShowJobListByProjectIdInvoker
ShowJobListByProjectIdInvoker 查看项目下用户的构建任务列表
func (*CodeArtsBuildClient) ShowJobStatus ¶
func (c *CodeArtsBuildClient) ShowJobStatus(request *model.ShowJobStatusRequest) (*model.ShowJobStatusResponse, error)
ShowJobStatus 查看任务运行状态
查看任务运行状态
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) ShowJobStatusInvoker ¶
func (c *CodeArtsBuildClient) ShowJobStatusInvoker(request *model.ShowJobStatusRequest) *ShowJobStatusInvoker
ShowJobStatusInvoker 查看任务运行状态
func (*CodeArtsBuildClient) ShowJobSuccessRatio ¶
func (c *CodeArtsBuildClient) ShowJobSuccessRatio(request *model.ShowJobSuccessRatioRequest) (*model.ShowJobSuccessRatioResponse, error)
ShowJobSuccessRatio 根据开始时间和结束时间查看构建任务的构建成功率
根据开始时间和结束时间查看构建任务的构建成功率
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) ShowJobSuccessRatioInvoker ¶
func (c *CodeArtsBuildClient) ShowJobSuccessRatioInvoker(request *model.ShowJobSuccessRatioRequest) *ShowJobSuccessRatioInvoker
ShowJobSuccessRatioInvoker 根据开始时间和结束时间查看构建任务的构建成功率
func (*CodeArtsBuildClient) ShowLastHistory ¶
func (c *CodeArtsBuildClient) ShowLastHistory(request *model.ShowLastHistoryRequest) (*model.ShowLastHistoryResponse, error)
ShowLastHistory 查询指定代码仓库最近一次成功的构建历史
查询指定代码仓库最近一次成功的构建历史
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) ShowLastHistoryInvoker ¶
func (c *CodeArtsBuildClient) ShowLastHistoryInvoker(request *model.ShowLastHistoryRequest) *ShowLastHistoryInvoker
ShowLastHistoryInvoker 查询指定代码仓库最近一次成功的构建历史
func (*CodeArtsBuildClient) ShowListHistory ¶
func (c *CodeArtsBuildClient) ShowListHistory(request *model.ShowListHistoryRequest) (*model.ShowListHistoryResponse, error)
ShowListHistory 查看构建任务的构建历史列表
查看构建任务的构建历史列表
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) ShowListHistoryInvoker ¶
func (c *CodeArtsBuildClient) ShowListHistoryInvoker(request *model.ShowListHistoryRequest) *ShowListHistoryInvoker
ShowListHistoryInvoker 查看构建任务的构建历史列表
func (*CodeArtsBuildClient) ShowListPeriodHistory ¶
func (c *CodeArtsBuildClient) ShowListPeriodHistory(request *model.ShowListPeriodHistoryRequest) (*model.ShowListPeriodHistoryResponse, error)
ShowListPeriodHistory 根据开始时间和结束时间查看构建任务的构建历史列表
根据开始时间和结束时间查看构建任务的构建历史列表
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) ShowListPeriodHistoryInvoker ¶
func (c *CodeArtsBuildClient) ShowListPeriodHistoryInvoker(request *model.ShowListPeriodHistoryRequest) *ShowListPeriodHistoryInvoker
ShowListPeriodHistoryInvoker 根据开始时间和结束时间查看构建任务的构建历史列表
type DownloadKeystoreInvoker ¶
type DownloadKeystoreInvoker struct {
*invoker.BaseInvoker
}
func (*DownloadKeystoreInvoker) Invoke ¶
func (i *DownloadKeystoreInvoker) Invoke() (*model.DownloadKeystoreResponse, error)
type RunJobInvoker ¶
type RunJobInvoker struct {
*invoker.BaseInvoker
}
func (*RunJobInvoker) Invoke ¶
func (i *RunJobInvoker) Invoke() (*model.RunJobResponse, error)
type ShowHistoryDetailsInvoker ¶
type ShowHistoryDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowHistoryDetailsInvoker) Invoke ¶
func (i *ShowHistoryDetailsInvoker) Invoke() (*model.ShowHistoryDetailsResponse, error)
type ShowJobListByProjectIdInvoker ¶
type ShowJobListByProjectIdInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJobListByProjectIdInvoker) Invoke ¶
func (i *ShowJobListByProjectIdInvoker) Invoke() (*model.ShowJobListByProjectIdResponse, error)
type ShowJobStatusInvoker ¶
type ShowJobStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJobStatusInvoker) Invoke ¶
func (i *ShowJobStatusInvoker) Invoke() (*model.ShowJobStatusResponse, error)
type ShowJobSuccessRatioInvoker ¶
type ShowJobSuccessRatioInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJobSuccessRatioInvoker) Invoke ¶
func (i *ShowJobSuccessRatioInvoker) Invoke() (*model.ShowJobSuccessRatioResponse, error)
type ShowLastHistoryInvoker ¶
type ShowLastHistoryInvoker struct {
*invoker.BaseInvoker
}
func (*ShowLastHistoryInvoker) Invoke ¶
func (i *ShowLastHistoryInvoker) Invoke() (*model.ShowLastHistoryResponse, error)
type ShowListHistoryInvoker ¶
type ShowListHistoryInvoker struct {
*invoker.BaseInvoker
}
func (*ShowListHistoryInvoker) Invoke ¶
func (i *ShowListHistoryInvoker) Invoke() (*model.ShowListHistoryResponse, error)
type ShowListPeriodHistoryInvoker ¶
type ShowListPeriodHistoryInvoker struct {
*invoker.BaseInvoker
}
func (*ShowListPeriodHistoryInvoker) Invoke ¶
func (i *ShowListPeriodHistoryInvoker) Invoke() (*model.ShowListPeriodHistoryResponse, error)