Documentation
¶
Index ¶
- func IncomingWebhook(ctx context.Context, r *http.Request, payload []byte, client *github.Client) error
- func IssueCommentHandler(ctx context.Context, event *github.IssueCommentEvent, client *github.Client) error
- func PullRequestHandler(ctx context.Context, event *github.PullRequestEvent, client *github.Client) error
- func PullRequestsScheduledJobs(ctx context.Context, client *github.Client)
- type ScehduledJobInformation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncomingWebhook ¶
func IncomingWebhook( ctx context.Context, r *http.Request, payload []byte, client *github.Client, ) error
IncomingWebhook handles an incoming webhook request
func IssueCommentHandler ¶
func IssueCommentHandler( ctx context.Context, event *github.IssueCommentEvent, client *github.Client, ) error
IssueCommentHandler takes an incoming event of type IssueCommentEvent and runs logic against it
func PullRequestHandler ¶
func PullRequestHandler( ctx context.Context, event *github.PullRequestEvent, client *github.Client, ) error
PullRequestHandler handler for the pull request event
Types ¶
type ScehduledJobInformation ¶
type ScehduledJobInformation struct {
Cfg types.PaulConfig
Repo *github.Repository
PullRequests []*github.PullRequest
}
ScehduledPullRequests helper struct to limit calls to repos
Click to show internal directories.
Click to hide internal directories.