Versions in this module Expand all Collapse all v0 v0.4.6 Aug 18, 2018 v0.4.5 Aug 10, 2018 v0.4.4 Jul 25, 2018 Changes in this version + const PullCommentCreatedHeader + const PullCreatedHeader + const PullDeclinedHeader + const PullMergedHeader + func ValidateSignature(payload []byte, signature string, secretKey []byte) error + type Actor struct + Username *string + type Changes struct + IsLastPage *bool + NextPageStart *string + Values []struct{ ... } + type Client struct + AtlantisURL string + BaseURL string + HttpClient *http.Client + Password string + Username string + func NewClient(httpClient *http.Client, username string, password string, baseURL string, ...) (*Client, error) + func (b *Client) CreateComment(repo models.Repo, pullNum int, comment string) error + func (b *Client) GetModifiedFiles(repo models.Repo, pull models.PullRequest) ([]string, error) + func (b *Client) GetProjectKey(repoName string, cloneURL string) (string, error) + func (b *Client) PullIsApproved(repo models.Repo, pull models.PullRequest) (bool, error) + func (b *Client) UpdateStatus(repo models.Repo, pull models.PullRequest, status models.CommitStatus, ...) error + type Comment struct + Text *string + type CommentEvent struct + Comment *Comment + type CommonEventData struct + Actor *Actor + PullRequest *PullRequest + type Project struct + Key *string + Name *string + type PullRequest struct + FromRef *Ref + ID *int + Reviewers []struct{ ... } + State *string + ToRef *Ref + type PullRequestEvent struct + type Ref struct + DisplayID *string + LatestCommit *string + Repository *Repository + type Repository struct + Project *Project + Slug *string