Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Webhook ¶
type Webhook struct { ID int `json:"id"` Number string `json:"number"` Type string `json:"type"` State string `json:"state"` Status int `json:"status"` // status and result are the same Result int `json:"result"` StatusMessage string `json:"status_message"` // status_message and result_message are the same ResultMessage string `json:"result_message"` StartedAt time.Time `json:"started_at"` FinishedAt time.Time `json:"finished_at"` Duration int `json:"duration"` BuildURL string `json:"build_url"` CommitID int `json:"commit_id"` Commit string `json:"commit"` BaseCommit string `json:"base_commit"` HeadCommit string `json:"head_commit"` Branch string `json:"branch"` Message string `json:"message"` CompareURL string `json:"compare_url"` CommittedAt time.Time `json:"committed_at"` AuthorName string `json:"author_name"` AuthorEmail string `json:"author_email"` CommitterName string `json:"committer_name"` CommitterEmail string `json:"committer_email"` PullRequest bool `json:"pull_request"` PullRequestNumber int `json:"pull_request_number"` PullRequestTitle string `json:"pull_request_title"` Tag string `json:"tag"` Repository Repository `json:"repository"` }
func (Webhook) DeploySummary ¶
func (Webhook) ShouldDeploy ¶
Click to show internal directories.
Click to hide internal directories.