Documentation
¶
Index ¶
- type Client
- func (c *Client) CompareCommits(ctx context.Context, owner, repo, base, head string) (*github.CommitsComparison, error)
- func (c *Client) CreatePullRequestComment(ctx context.Context, owner, repo string, number int, ...) (*github.PullRequestComment, error)
- func (c *Client) CreateReview(ctx context.Context, owner, repo string, number int, ...) (*github.PullRequestReview, error)
- func (c *Client) GetPullRequest(ctx context.Context, owner, repo string, number int) (*github.PullRequest, error)
- func (c *Client) GetPullRequestDiff(ctx context.Context, owner, repo string, number int) (string, error)
- func (c *Client) GetPullRequestFiles(ctx context.Context, owner, repo string, prNumber int) ([]*github.CommitFile, error)
- func (c *Client) UpdatePullRequest(ctx context.Context, owner, repo string, number int, pr *github.PullRequest) (*github.PullRequest, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CompareCommits ¶
func (*Client) CreatePullRequestComment ¶
func (c *Client) CreatePullRequestComment(ctx context.Context, owner, repo string, number int, comment *github.PullRequestComment) (*github.PullRequestComment, error)
func (*Client) CreateReview ¶
func (c *Client) CreateReview(ctx context.Context, owner, repo string, number int, comment *github.PullRequestReviewRequest) (*github.PullRequestReview, error)
func (*Client) GetPullRequest ¶
func (*Client) GetPullRequestDiff ¶
func (*Client) GetPullRequestFiles ¶
func (*Client) UpdatePullRequest ¶
func (c *Client) UpdatePullRequest(ctx context.Context, owner, repo string, number int, pr *github.PullRequest) (*github.PullRequest, error)
Click to show internal directories.
Click to hide internal directories.