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 *externalplugins.ConfigAgent) func(enabledRepos []config.OrgRepo) (*pluginhelp.PluginHelp, error)
Constants ¶
View Source
const PluginName = "ti-community-autoresponder"
Variables ¶
This section is empty.
Functions ¶
func HandleIssueCommentEvent ¶
func HandleIssueCommentEvent(gc githubClient, ice *github.IssueCommentEvent, cfg *externalplugins.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 *externalplugins.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 *externalplugins.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 *externalplugins.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 *externalplugins.Configuration, log *logrus.Entry) error
HandlePullReviewEvent handles a GitHub pull request review event and auto respond it.
func HelpProvider ¶
func HelpProvider(epa *externalplugins.ConfigAgent) func( enabledRepos []config.OrgRepo) (*pluginhelp.PluginHelp, error)
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.