Documentation ¶
Index ¶
- Constants
- func HandleIssueCommentEvent(gc githubClient, ice *github.IssueCommentEvent, ...) error
- func HandleIssueEvent(gc githubClient, issueEvent *github.IssueEvent, ...) error
- func HandlePullRequestEvent(gc githubClient, pullRequestEvent *github.PullRequestEvent, ...) error
- func HandlePullReviewCommentEvent(gc githubClient, pullReviewCommentEvent *github.ReviewCommentEvent, ...) error
- func HandlePullReviewEvent(gc githubClient, pullReviewEvent *github.ReviewEvent, ...) error
- func HelpProvider(epa *tiexternalplugins.ConfigAgent) externalplugins.ExternalPluginHelpProvider
Constants ¶
View Source
const PluginName = "ti-community-autoresponder"
Variables ¶
This section is empty.
Functions ¶
func HandleIssueCommentEvent ¶
func HandleIssueCommentEvent(gc githubClient, ice *github.IssueCommentEvent, cfg *tiexternalplugins.Configuration, log *logrus.Entry) error
HandleIssueCommentEvent handles a GitHub issue comment event and auto respond it.
func HandleIssueEvent ¶
func HandleIssueEvent(gc githubClient, issueEvent *github.IssueEvent, cfg *tiexternalplugins.Configuration, log *logrus.Entry) error
HandleIssueEvent handles a GitHub issue event and auto respond it.
func HandlePullRequestEvent ¶
func HandlePullRequestEvent(gc githubClient, pullRequestEvent *github.PullRequestEvent, cfg *tiexternalplugins.Configuration, log *logrus.Entry) error
HandlePullRequestEvent handles a GitHub pull request event and auto respond it.
func HandlePullReviewCommentEvent ¶
func HandlePullReviewCommentEvent(gc githubClient, pullReviewCommentEvent *github.ReviewCommentEvent, cfg *tiexternalplugins.Configuration, log *logrus.Entry) error
HandlePullReviewCommentEvent handles a GitHub pull request review comment event and auto respond it.
func HandlePullReviewEvent ¶
func HandlePullReviewEvent(gc githubClient, pullReviewEvent *github.ReviewEvent, cfg *tiexternalplugins.Configuration, log *logrus.Entry) error
HandlePullReviewEvent handles a GitHub pull request review event and auto respond it.
func HelpProvider ¶
func HelpProvider(epa *tiexternalplugins.ConfigAgent) externalplugins.ExternalPluginHelpProvider
HelpProvider constructs the PluginHelp for this plugin that takes into account enabled repositories. HelpProvider defines the type for function that construct the PluginHelp for plugins.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.