Documentation
¶
Index ¶
- type Client
- func (c *Client) GetIssue(ctx context.Context, owner, repo string, number int, reporter Reporter) (map[string]any, error)
- func (c *Client) GetPull(ctx context.Context, owner, repo string, number int, reporter Reporter) (map[string]any, error)
- func (c *Client) GetRepo(ctx context.Context, owner, repo string, reporter Reporter) (map[string]any, error)
- func (c *Client) ListCommitCheckRuns(ctx context.Context, owner, repo, ref string, reporter Reporter) ([]map[string]any, error)
- func (c *Client) ListIssueComments(ctx context.Context, owner, repo string, number int, reporter Reporter) ([]map[string]any, error)
- func (c *Client) ListPullCommits(ctx context.Context, owner, repo string, number int, reporter Reporter) ([]map[string]any, error)
- func (c *Client) ListPullFiles(ctx context.Context, owner, repo string, number int, reporter Reporter) ([]map[string]any, error)
- func (c *Client) ListPullReviewComments(ctx context.Context, owner, repo string, number int, reporter Reporter) ([]map[string]any, error)
- func (c *Client) ListPullReviewThreads(ctx context.Context, owner, repo string, number int, reporter Reporter) ([]map[string]any, error)
- func (c *Client) ListPullReviews(ctx context.Context, owner, repo string, number int, reporter Reporter) ([]map[string]any, error)
- func (c *Client) ListRepositoryIssues(ctx context.Context, owner, repo string, options ListIssuesOptions, ...) ([]map[string]any, error)
- func (c *Client) ListWorkflowRuns(ctx context.Context, owner, repo string, options ListWorkflowRunsOptions, ...) ([]map[string]any, error)
- type ListIssuesOptions
- type ListWorkflowRunsOptions
- type Options
- type RateLimitObserver
- type RateLimitSnapshot
- type Reporter
- type RequestError
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) ListCommitCheckRuns ¶ added in v0.2.0
func (*Client) ListIssueComments ¶
func (*Client) ListPullCommits ¶ added in v0.2.0
func (*Client) ListPullFiles ¶
func (*Client) ListPullReviewComments ¶
func (*Client) ListPullReviewThreads ¶ added in v0.3.3
func (c *Client) ListPullReviewThreads(ctx context.Context, owner, repo string, number int, reporter Reporter) ([]map[string]any, error)
ListPullReviewThreads fetches GitHub's review-thread graph for a pull request.
func (*Client) ListPullReviews ¶
func (*Client) ListRepositoryIssues ¶
type ListIssuesOptions ¶
type ListWorkflowRunsOptions ¶ added in v0.2.0
type RateLimitObserver ¶ added in v0.3.2
type RateLimitObserver func(RateLimitSnapshot)
type RateLimitSnapshot ¶ added in v0.3.2
Click to show internal directories.
Click to hide internal directories.