Versions in this module Expand all Collapse all v0 v0.1.4 Sep 11, 2018 Changes in this version + const EnvBaseURL type Config + BaseURL string v0.1.3 Jun 30, 2018 v0.1.2 May 29, 2018 v0.1.1 May 29, 2018 v0.1.0 Apr 6, 2018 Changes in this version + const EnvToken + type API interface + IssuesCreateComment func(ctx context.Context, number int, comment *github.IssueComment) (*github.IssueComment, *github.Response, error) + IssuesDeleteComment func(ctx context.Context, commentID int64) (*github.Response, error) + IssuesListComments func(ctx context.Context, number int, opt *github.IssueListCommentsOptions) ([]*github.IssueComment, *github.Response, error) + RepositoriesCreateComment func(ctx context.Context, sha string, comment *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error) + RepositoriesListCommits func(ctx context.Context, opt *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error) + type Client struct + API API + Comment *CommentService + Commits *CommitsService + Config Config + Debug bool + Notify *NotifyService + func NewClient(cfg Config) (*Client, error) + type CommentService service + func (g *CommentService) Delete(id int) error + func (g *CommentService) DeleteDuplicates(title string) + func (g *CommentService) List(number int) ([]*github.IssueComment, error) + func (g *CommentService) Post(body string, opt PostOptions) error + type CommitsService service + func (g *CommitsService) List(revision string) ([]string, error) + type Config struct + CI string + Owner string + PR PullRequest + Parser terraform.Parser + Repo string + Template terraform.Template + Token string + type GitHub struct + func (g *GitHub) IssuesCreateComment(ctx context.Context, number int, comment *github.IssueComment) (*github.IssueComment, *github.Response, error) + func (g *GitHub) IssuesDeleteComment(ctx context.Context, commentID int64) (*github.Response, error) + func (g *GitHub) IssuesListComments(ctx context.Context, number int, opt *github.IssueListCommentsOptions) ([]*github.IssueComment, *github.Response, error) + func (g *GitHub) RepositoriesCreateComment(ctx context.Context, sha string, comment *github.RepositoryComment) (*github.RepositoryComment, *github.Response, error) + func (g *GitHub) RepositoriesListCommits(ctx context.Context, opt *github.CommitsListOptions) ([]*github.RepositoryCommit, *github.Response, error) + type NotifyService service + func (g *NotifyService) Notify(body string) (exit int, err error) + type PostOptions struct + Number int + Revision string + type PullRequest struct + Message string + Number int + Revision string + func (pr *PullRequest) IsNumber() bool