Documentation
¶
Index ¶
- type Client
- func (c *Client) Checks() platform.CheckService
- func (c *Client) HTTPClient() *http.Client
- func (c *Client) Issues() platform.IssueService
- func (c *Client) Labels() platform.LabelService
- func (c *Client) Milestones() platform.MilestoneService
- func (c *Client) PullRequests() platform.PullRequestService
- func (c *Client) Repository() platform.RepositoryService
- func (c *Client) Runners() platform.RunnerService
- func (c *Client) Workflows() platform.WorkflowService
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
}
Client implements platform.Platform for GitHub.
func New ¶
New creates a new GitHub client. Auth priority: GITHUB_TOKEN env var > gh CLI auth token.
func (*Client) Checks ¶
func (c *Client) Checks() platform.CheckService
func (*Client) HTTPClient ¶ added in v0.2.5
HTTPClient returns the authenticated HTTP client used by this GitHub client.
func (*Client) Issues ¶
func (c *Client) Issues() platform.IssueService
func (*Client) Labels ¶
func (c *Client) Labels() platform.LabelService
func (*Client) Milestones ¶
func (c *Client) Milestones() platform.MilestoneService
func (*Client) PullRequests ¶
func (c *Client) PullRequests() platform.PullRequestService
func (*Client) Repository ¶
func (c *Client) Repository() platform.RepositoryService
func (*Client) Runners ¶
func (c *Client) Runners() platform.RunnerService
func (*Client) Workflows ¶
func (c *Client) Workflows() platform.WorkflowService
Click to show internal directories.
Click to hide internal directories.