Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoGithubToken = errors.New("the env var 'GITHUB_TOKEN' does not exist")
Functions ¶
func ProcessDoNothing ¶
Types ¶
type GithubClient ¶
type GithubClient struct {
// contains filtered or unexported fields
}
func NewGithubClient ¶
func (*GithubClient) ListPullRequests ¶
func (c *GithubClient) ListPullRequests(ctx context.Context, owner, repo string, processFunc paginator.Process[*github.PullRequest]) ([]model.PullRequest, error)
func (*GithubClient) ListRepositoriesByOrg ¶
func (c *GithubClient) ListRepositoriesByOrg(ctx context.Context, owner string, processFunc paginator.Process[*github.Repository]) ([]model.Repository, error)
type GithubClientOpts ¶
type GithubClientOpts struct {
// contains filtered or unexported fields
}
type OptsFunc ¶
type OptsFunc func(o *GithubClientOpts)
func WithTransport ¶
func WithTransport(transport http.RoundTripper) OptsFunc
Source Files
¶
Click to show internal directories.
Click to hide internal directories.