Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagAPIToken = "api-token" FlagConfigFile = "config" FlagDryRun = "dry-run" FlagMergeRequestID = "id" FlagUpdatePipeline = "update-pipeline" FlagCommitSHA = "commit" FlagSCMBaseURL = "base-url" FlagSCMProject = "project" FlagServerListen = "listen" FlagWebhookSecret = "webhook-secret" )
Variables ¶
View Source
var GlobalOptionsTemplate = `` /* 133-byte string literal not displayed */
Functions ¶
Types ¶
type MergeRequest ¶ added in v0.4.0
type Payload ¶ added in v0.4.0
type Payload struct { EventType string `json:"event_type"` Project Project `json:"project"` // "project" is sent for all events ObjectAttributes *MergeRequest `json:"object_attributes,omitempty"` // "object_attributes" is sent on "merge_request" events MergeRequest *MergeRequest `json:"merge_request,omitempty"` // "merge_request" is sent on "note" activity }
Click to show internal directories.
Click to hide internal directories.