Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SuccessStatus = Status{ Name: "success", Description: "All the jobs were successful.", } PendingStatus = Status{ Name: "pending", Description: "Currently building the jobs...", } FailureStatus = Status{ Name: "failure", Description: "At least one of the jobs failed.", } ErrorStatus = Status{ Name: "error", Description: "An error occured.", } )
Functions ¶
Types ¶
type BotClient ¶
BotClient refers to the custom GitHub client for this bot
func GetClientFromInstallationID ¶
GetClientFromInstallationID returns the GitHub Client object from the Installation ID
func (BotClient) WriteStatus ¶
WriteStatus creates a new status via the provided client on a specific commit of a client's repository The description is automatically written and the target URL is hard-coded.
Click to show internal directories.
Click to hide internal directories.