Versions in this module Expand all Collapse all v0 v0.1.3 Nov 16, 2017 Changes in this version + type Client interface + CreateComment func(repo models.Repo, pull models.PullRequest, comment string) error + GetModifiedFiles func(repo models.Repo, pull models.PullRequest) ([]string, error) + GetPullRequest func(repo models.Repo, num int) (*github.PullRequest, *github.Response, error) + PullIsApproved func(repo models.Repo, pull models.PullRequest) (bool, error) + UpdateStatus func(repo models.Repo, pull models.PullRequest, state string, description string, ...) error + type ConcreteClient struct + func NewClient(hostname string, user string, pass string) (*ConcreteClient, error) + func (c *ConcreteClient) CreateComment(repo models.Repo, pull models.PullRequest, comment string) error + func (c *ConcreteClient) GetModifiedFiles(repo models.Repo, pull models.PullRequest) ([]string, error) + func (c *ConcreteClient) GetPullRequest(repo models.Repo, num int) (*github.PullRequest, *github.Response, error) + func (c *ConcreteClient) PullIsApproved(repo models.Repo, pull models.PullRequest) (bool, error) + func (c *ConcreteClient) UpdateStatus(repo models.Repo, pull models.PullRequest, state string, description string, ...) error