Documentation ¶
Index ¶
- func CodeArtsBuildClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForDeleteBuildJob() *def.HttpRequestDef
- func GenReqDefForDisableBuildJob() *def.HttpRequestDef
- func GenReqDefForDownloadKeystore() *def.HttpRequestDef
- func GenReqDefForDownloadLogByRecordId() *def.HttpRequestDef
- func GenReqDefForResumeBuildJob() *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
- func GenReqDefForShowRecordInfo() *def.HttpRequestDef
- func GenReqDefForStopBuildJob() *def.HttpRequestDef
- type CodeArtsBuildClient
- func (c *CodeArtsBuildClient) DeleteBuildJob(request *model.DeleteBuildJobRequest) (*model.DeleteBuildJobResponse, error)
- func (c *CodeArtsBuildClient) DeleteBuildJobInvoker(request *model.DeleteBuildJobRequest) *DeleteBuildJobInvoker
- func (c *CodeArtsBuildClient) DisableBuildJob(request *model.DisableBuildJobRequest) (*model.DisableBuildJobResponse, error)
- func (c *CodeArtsBuildClient) DisableBuildJobInvoker(request *model.DisableBuildJobRequest) *DisableBuildJobInvoker
- func (c *CodeArtsBuildClient) DownloadKeystore(request *model.DownloadKeystoreRequest) (*model.DownloadKeystoreResponse, error)
- func (c *CodeArtsBuildClient) DownloadKeystoreInvoker(request *model.DownloadKeystoreRequest) *DownloadKeystoreInvoker
- func (c *CodeArtsBuildClient) DownloadLogByRecordId(request *model.DownloadLogByRecordIdRequest) (*model.DownloadLogByRecordIdResponse, error)
- func (c *CodeArtsBuildClient) DownloadLogByRecordIdInvoker(request *model.DownloadLogByRecordIdRequest) *DownloadLogByRecordIdInvoker
- func (c *CodeArtsBuildClient) ResumeBuildJob(request *model.ResumeBuildJobRequest) (*model.ResumeBuildJobResponse, error)
- func (c *CodeArtsBuildClient) ResumeBuildJobInvoker(request *model.ResumeBuildJobRequest) *ResumeBuildJobInvoker
- 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
- func (c *CodeArtsBuildClient) ShowRecordInfo(request *model.ShowRecordInfoRequest) (*model.ShowRecordInfoResponse, error)
- func (c *CodeArtsBuildClient) ShowRecordInfoInvoker(request *model.ShowRecordInfoRequest) *ShowRecordInfoInvoker
- func (c *CodeArtsBuildClient) StopBuildJob(request *model.StopBuildJobRequest) (*model.StopBuildJobResponse, error)
- func (c *CodeArtsBuildClient) StopBuildJobInvoker(request *model.StopBuildJobRequest) *StopBuildJobInvoker
- type DeleteBuildJobInvoker
- type DisableBuildJobInvoker
- type DownloadKeystoreInvoker
- type DownloadLogByRecordIdInvoker
- type ResumeBuildJobInvoker
- type RunJobInvoker
- type ShowHistoryDetailsInvoker
- type ShowJobListByProjectIdInvoker
- type ShowJobStatusInvoker
- type ShowJobSuccessRatioInvoker
- type ShowLastHistoryInvoker
- type ShowListHistoryInvoker
- type ShowListPeriodHistoryInvoker
- type ShowRecordInfoInvoker
- type StopBuildJobInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeArtsBuildClientBuilder ¶
func CodeArtsBuildClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForDeleteBuildJob ¶ added in v0.1.62
func GenReqDefForDeleteBuildJob() *def.HttpRequestDef
func GenReqDefForDisableBuildJob ¶ added in v0.1.62
func GenReqDefForDisableBuildJob() *def.HttpRequestDef
func GenReqDefForDownloadKeystore ¶
func GenReqDefForDownloadKeystore() *def.HttpRequestDef
func GenReqDefForDownloadLogByRecordId ¶ added in v0.1.62
func GenReqDefForDownloadLogByRecordId() *def.HttpRequestDef
func GenReqDefForResumeBuildJob ¶ added in v0.1.62
func GenReqDefForResumeBuildJob() *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
func GenReqDefForShowRecordInfo ¶ added in v0.1.62
func GenReqDefForShowRecordInfo() *def.HttpRequestDef
func GenReqDefForStopBuildJob ¶ added in v0.1.62
func GenReqDefForStopBuildJob() *def.HttpRequestDef
Types ¶
type CodeArtsBuildClient ¶
type CodeArtsBuildClient struct {
HcClient *http_client.HcHttpClient
}
func NewCodeArtsBuildClient ¶
func NewCodeArtsBuildClient(hcClient *http_client.HcHttpClient) *CodeArtsBuildClient
func (*CodeArtsBuildClient) DeleteBuildJob ¶ added in v0.1.62
func (c *CodeArtsBuildClient) DeleteBuildJob(request *model.DeleteBuildJobRequest) (*model.DeleteBuildJobResponse, error)
DeleteBuildJob 删除构建任务
删除构建任务
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) DeleteBuildJobInvoker ¶ added in v0.1.62
func (c *CodeArtsBuildClient) DeleteBuildJobInvoker(request *model.DeleteBuildJobRequest) *DeleteBuildJobInvoker
DeleteBuildJobInvoker 删除构建任务
func (*CodeArtsBuildClient) DisableBuildJob ¶ added in v0.1.62
func (c *CodeArtsBuildClient) DisableBuildJob(request *model.DisableBuildJobRequest) (*model.DisableBuildJobResponse, error)
DisableBuildJob 禁用构建任务
禁用构建任务
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) DisableBuildJobInvoker ¶ added in v0.1.62
func (c *CodeArtsBuildClient) DisableBuildJobInvoker(request *model.DisableBuildJobRequest) *DisableBuildJobInvoker
DisableBuildJobInvoker 禁用构建任务
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) DownloadLogByRecordId ¶ added in v0.1.62
func (c *CodeArtsBuildClient) DownloadLogByRecordId(request *model.DownloadLogByRecordIdRequest) (*model.DownloadLogByRecordIdResponse, error)
DownloadLogByRecordId 下载构建日志
下载构建日志
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) DownloadLogByRecordIdInvoker ¶ added in v0.1.62
func (c *CodeArtsBuildClient) DownloadLogByRecordIdInvoker(request *model.DownloadLogByRecordIdRequest) *DownloadLogByRecordIdInvoker
DownloadLogByRecordIdInvoker 下载构建日志
func (*CodeArtsBuildClient) ResumeBuildJob ¶ added in v0.1.62
func (c *CodeArtsBuildClient) ResumeBuildJob(request *model.ResumeBuildJobRequest) (*model.ResumeBuildJobResponse, error)
ResumeBuildJob 恢复构建任务
恢复构建任务
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) ResumeBuildJobInvoker ¶ added in v0.1.62
func (c *CodeArtsBuildClient) ResumeBuildJobInvoker(request *model.ResumeBuildJobRequest) *ResumeBuildJobInvoker
ResumeBuildJobInvoker 恢复构建任务
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 根据开始时间和结束时间查看构建任务的构建历史列表
func (*CodeArtsBuildClient) ShowRecordInfo ¶ added in v0.1.62
func (c *CodeArtsBuildClient) ShowRecordInfo(request *model.ShowRecordInfoRequest) (*model.ShowRecordInfoResponse, error)
ShowRecordInfo 获取构建记录信息
获取构建记录信息
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) ShowRecordInfoInvoker ¶ added in v0.1.62
func (c *CodeArtsBuildClient) ShowRecordInfoInvoker(request *model.ShowRecordInfoRequest) *ShowRecordInfoInvoker
ShowRecordInfoInvoker 获取构建记录信息
func (*CodeArtsBuildClient) StopBuildJob ¶ added in v0.1.62
func (c *CodeArtsBuildClient) StopBuildJob(request *model.StopBuildJobRequest) (*model.StopBuildJobResponse, error)
StopBuildJob 停止构建任务
停止构建任务
Please refer to HUAWEI cloud API Explorer for details.
func (*CodeArtsBuildClient) StopBuildJobInvoker ¶ added in v0.1.62
func (c *CodeArtsBuildClient) StopBuildJobInvoker(request *model.StopBuildJobRequest) *StopBuildJobInvoker
StopBuildJobInvoker 停止构建任务
type DeleteBuildJobInvoker ¶ added in v0.1.62
type DeleteBuildJobInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteBuildJobInvoker) Invoke ¶ added in v0.1.62
func (i *DeleteBuildJobInvoker) Invoke() (*model.DeleteBuildJobResponse, error)
type DisableBuildJobInvoker ¶ added in v0.1.62
type DisableBuildJobInvoker struct {
*invoker.BaseInvoker
}
func (*DisableBuildJobInvoker) Invoke ¶ added in v0.1.62
func (i *DisableBuildJobInvoker) Invoke() (*model.DisableBuildJobResponse, error)
type DownloadKeystoreInvoker ¶
type DownloadKeystoreInvoker struct {
*invoker.BaseInvoker
}
func (*DownloadKeystoreInvoker) Invoke ¶
func (i *DownloadKeystoreInvoker) Invoke() (*model.DownloadKeystoreResponse, error)
type DownloadLogByRecordIdInvoker ¶ added in v0.1.62
type DownloadLogByRecordIdInvoker struct {
*invoker.BaseInvoker
}
func (*DownloadLogByRecordIdInvoker) Invoke ¶ added in v0.1.62
func (i *DownloadLogByRecordIdInvoker) Invoke() (*model.DownloadLogByRecordIdResponse, error)
type ResumeBuildJobInvoker ¶ added in v0.1.62
type ResumeBuildJobInvoker struct {
*invoker.BaseInvoker
}
func (*ResumeBuildJobInvoker) Invoke ¶ added in v0.1.62
func (i *ResumeBuildJobInvoker) Invoke() (*model.ResumeBuildJobResponse, 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)
type ShowRecordInfoInvoker ¶ added in v0.1.62
type ShowRecordInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ShowRecordInfoInvoker) Invoke ¶ added in v0.1.62
func (i *ShowRecordInfoInvoker) Invoke() (*model.ShowRecordInfoResponse, error)
type StopBuildJobInvoker ¶ added in v0.1.62
type StopBuildJobInvoker struct {
*invoker.BaseInvoker
}
func (*StopBuildJobInvoker) Invoke ¶ added in v0.1.62
func (i *StopBuildJobInvoker) Invoke() (*model.StopBuildJobResponse, error)