Documentation ¶
Index ¶
- func HandleAbort(buildAbortService core.BuildAbortService, logger lumber.Logger) gin.HandlerFunc
- func HandleBuildDetails(buildStore core.BuildStore, logger lumber.Logger) gin.HandlerFunc
- func HandleFetchLogs(azureClient core.AzureBlob, logger lumber.Logger) gin.HandlerFunc
- func HandleFetchMetrics(repoStore core.RepoStore, testExecutionService core.TestExecutionService, ...) gin.HandlerFunc
- func HandleFindDiff(buildStore core.BuildStore, logger lumber.Logger) gin.HandlerFunc
- func HandleFindTimeSaved(buildMonitor core.BuildMonitor, logger lumber.Logger) gin.HandlerFunc
- func HandleList(buildStore core.BuildStore, logger lumber.Logger) gin.HandlerFunc
- func HandleListMeta(buildStore core.BuildStore, logger lumber.Logger) gin.HandlerFunc
- func HandleListTasks(taskStore core.TaskStore, logger lumber.Logger) gin.HandlerFunc
- func HandleRebuild(buildService core.BuildService, taskStore core.TaskStore, logger lumber.Logger, ...) gin.HandlerFunc
- type ReBuildRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAbort ¶
func HandleAbort(buildAbortService core.BuildAbortService, logger lumber.Logger) gin.HandlerFunc
HandleAbort aborts the queued or running build
func HandleBuildDetails ¶
func HandleBuildDetails( buildStore core.BuildStore, logger lumber.Logger) gin.HandlerFunc
HandleBuildDetails return details for a particular build for a repo
func HandleFetchLogs ¶
HandleFetchLogs returns details of logs for a build
func HandleFetchMetrics ¶
func HandleFetchMetrics( repoStore core.RepoStore, testExecutionService core.TestExecutionService, logger lumber.Logger) gin.HandlerFunc
HandleFetchMetrics returns details of test metrics for a repo
func HandleFindDiff ¶
func HandleFindDiff( buildStore core.BuildStore, logger lumber.Logger) gin.HandlerFunc
HandleFindDiff return commit diff for a repo
func HandleFindTimeSaved ¶
func HandleFindTimeSaved( buildMonitor core.BuildMonitor, logger lumber.Logger) gin.HandlerFunc
HandleFindTimeSaved finds the time saved by not running unimpacted tests.
func HandleList ¶
func HandleList( buildStore core.BuildStore, logger lumber.Logger) gin.HandlerFunc
HandleList return builds for a repo
func HandleListMeta ¶
func HandleListMeta( buildStore core.BuildStore, logger lumber.Logger) gin.HandlerFunc
HandleListMeta returns build Meta for a repo
func HandleListTasks ¶
HandleListTasks fetches the list of all tasks which are there in a particular build
func HandleRebuild ¶
func HandleRebuild( buildService core.BuildService, taskStore core.TaskStore, logger lumber.Logger, repoStore core.RepoStore, userStore core.GitUserStore, buildStore core.BuildStore, gitEventStore core.GitEventStore, ) gin.HandlerFunc
HandleRebuild re-builds a particular buildID
Types ¶
type ReBuildRequest ¶
type ReBuildRequest struct { Org string `json:"org"` Repo string `json:"repo"` BuildID string `json:"build_id"` }
ReBuildRequest stores rebuild request
Click to show internal directories.
Click to hide internal directories.