Documentation ¶
Index ¶
- Constants
- func NewGithubHookHandler(ctx context.Context, clientCreator githubapp.ClientCreator) *githubHookHandler
- type CommitCommentHandler
- type GitBot
- type IssueCommentHandler
- type IssuesHandler
- type Plugin
- type PullRequestHandler
- type PullRequestReviewHandler
- type Registry
- func (r *Registry) CallCommitCommentPlugins(ctx context.Context, client *github.Client, event *github.CommitCommentEvent)
- func (r *Registry) CallIssueCommentPlugins(ctx context.Context, client *github.Client, event *github.IssueCommentEvent)
- func (r *Registry) CallIssuesPlugins(ctx context.Context, client *github.Client, event *github.IssuesEvent)
- func (r *Registry) CallPrPlugins(ctx context.Context, client *github.Client, event *github.PullRequestEvent)
- func (r *Registry) CallReleasePlugins(ctx context.Context, client *github.Client, event *github.ReleaseEvent)
- func (r *Registry) PullRequestReviewPlugins(ctx context.Context, client *github.Client, ...)
- func (r *Registry) RegisterPlugin(p Plugin)
- type ReleaseHandler
- type StaticBotConfig
Constants ¶
View Source
const ( PrType = "pull_request" PrReviewType = "pull_request_review" IssueCommentType = "issue_comment" CommitCommentType = "commit_comment" ReleaseType = "release" IssuesType = "issues" )
Variables ¶
This section is empty.
Functions ¶
func NewGithubHookHandler ¶
func NewGithubHookHandler(ctx context.Context, clientCreator githubapp.ClientCreator) *githubHookHandler
Types ¶
type CommitCommentHandler ¶
type GitBot ¶
func NewSimpleGitBot ¶
func NewSimpleGitBot(staticConfig StaticBotConfig) (GitBot, error)
type IssueCommentHandler ¶
type IssuesHandler ¶ added in v0.9.7
type PullRequestHandler ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) CallCommitCommentPlugins ¶
func (*Registry) CallIssueCommentPlugins ¶
func (*Registry) CallIssuesPlugins ¶ added in v0.9.7
func (*Registry) CallPrPlugins ¶
func (*Registry) CallReleasePlugins ¶
func (*Registry) PullRequestReviewPlugins ¶
func (*Registry) RegisterPlugin ¶
type ReleaseHandler ¶
type StaticBotConfig ¶
Click to show internal directories.
Click to hide internal directories.