Documentation ¶
Index ¶
Constants ¶
View Source
const CheckResultEnd = "end"
View Source
const CheckResultFailed = "failed"
View Source
const CheckResultSuccess = "success"
View Source
const HookType = "before-run-check"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRunResult ¶
type CheckRunResult struct { CheckResult string `json:"checkResult"` RetryOption RetryOption `json:"retryOption"` Message string `json:"message"` }
type CheckRunResultRequest ¶
type CheckRunResultResponse ¶
type CheckRunResultResponse struct { apistructs.Header CheckRunResult CheckRunResult `json:"data"` }
type HookBeforeCheckRun ¶
type HookBeforeCheckRun interface { CheckRun() (*CheckRunResult, error) GetPipelineWithTasks() }
type HttpBeforeCheckRun ¶
func (HttpBeforeCheckRun) CheckRun ¶
func (beforeCheckRun HttpBeforeCheckRun) CheckRun() (result *CheckRunResult, err error)
type RetryOption ¶
Click to show internal directories.
Click to hide internal directories.