Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusQueued = "queued" StatusInProgress = "in_progress" StatusCompleted = "completed" )
View Source
const ( StateError = "error" StateFailure = "failure" StatePending = "pending" StateSuccess = "success" )
Variables ¶
This section is empty.
Functions ¶
func GetTaskLink ¶
func GetTaskLink(baseURI, productName, pipelineName, displayName string, pipelineType config.PipelineType, taskID int64) string
func UIType ¶
func UIType(pipelineType config.PipelineType) string
Types ¶
type Client ¶
func (*Client) UpdateCheckStatus ¶
func (c *Client) UpdateCheckStatus(opt *StatusOptions) error
type GitCheck ¶
type GitCheck struct {
Owner string
Repo string
Branch string // The name of the branch to perform a check against. (Required.)
Ref string // The SHA of the commit. (Required.)
IsPr bool
AslanURL string
PipeName string
DisplayName string
ProductName string
PipeType config.PipelineType
TaskID int64
TestReports []*types.TestSuite
}
Click to show internal directories.
Click to hide internal directories.