Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(bot Robot, o options.ServiceOptions)
Types ¶
type CommitCommentEventHandler ¶
type CommitCommentEventHandler func(e *github.CommitCommentEvent, cfg config.Config, log *logrus.Entry) error
CommitCommentEventHandler defines the function contract for a github.CommitCommentEvent handler.
type HandlerRegister ¶
type HandlerRegister interface { RegisterIssueHandler(IssueHandler) RegisterPullRequestHandler(PullRequestHandler) RegisterPushEventHandler(PushEventHandler) RegisterIssueCommentHandler(IssueCommentHandler) RegisterStatusEventHandler(StatusEventHandler) RegisterReviewEventHandler(ReviewEventHandler) RegisterReviewCommentEventHandler(ReviewCommentEventHandler) RegisterCommitCommentEventHandler(CommitCommentEventHandler) }
type IssueCommentHandler ¶
type IssueCommentHandler func(e *github.IssueCommentEvent, cfg config.Config, log *logrus.Entry) error
IssueCommentHandler defines the function contract for a github.IssueCommentEvent handler.
type IssueHandler ¶
IssueHandler defines the function contract for a github.IssuesEvent handler.
type PullRequestHandler ¶
type PullRequestHandler func(e *github.PullRequestEvent, cfg config.Config, log *logrus.Entry) error
PullRequestHandler defines the function contract for a github.PullRequestEvent handler.
type PushEventHandler ¶
PushEventHandler defines the function contract for a github.PushEvent handler.
type ReviewCommentEventHandler ¶
type ReviewCommentEventHandler func(e *github.PullRequestReviewCommentEvent, cfg config.Config, log *logrus.Entry) error
ReviewCommentEventHandler defines the function contract for a github.PullRequestReviewCommentEvent handler.
type ReviewEventHandler ¶
type ReviewEventHandler func(e *github.PullRequestReviewEvent, cfg config.Config, log *logrus.Entry) error
ReviewEventHandler defines the function contract for a github.PullRequestReviewEvent handler.
type Robot ¶
type Robot interface { NewConfig() config.Config RegisterEventHandler(HandlerRegister) }
type StatusEventHandler ¶
StatusEventHandler defines the function contract for a github.StatusEvent handler.