Documentation ¶
Index ¶
- Constants
- func HandleIssueEvent(gc githubClient, issueEvent *github.IssueEvent, ...) error
- func HandlePullRequestEvent(gc githubClient, pullRequestEvent *github.PullRequestEvent, ...) error
- func HelpProvider(epa *externalplugins.ConfigAgent) func(enabledRepos []config.OrgRepo) (*pluginhelp.PluginHelp, error)
Constants ¶
View Source
const ( LabeledAction = "labeled" UnlabeledAction = "unlabeled" )
View Source
const PluginName = "ti-community-label-blocker"
Variables ¶
This section is empty.
Functions ¶
func HandleIssueEvent ¶ added in v1.1.1
func HandleIssueEvent(gc githubClient, issueEvent *github.IssueEvent, cfg *externalplugins.Configuration, log *logrus.Entry) error
HandleIssueEvent handles a GitHub issue event.
func HandlePullRequestEvent ¶
func HandlePullRequestEvent(gc githubClient, pullRequestEvent *github.PullRequestEvent, cfg *externalplugins.Configuration, log *logrus.Entry) error
HandlePullRequestEvent handles a GitHub pull request event.
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.