Documentation ¶
Index ¶
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 *tiexternalplugins.Configuration, log *logrus.Entry) error
HandleIssueEvent handles a GitHub issue event.
func HandlePullRequestEvent ¶
func HandlePullRequestEvent(gc githubClient, pullRequestEvent *github.PullRequestEvent, cfg *tiexternalplugins.Configuration, log *logrus.Entry) error
HandlePullRequestEvent handles a GitHub pull request event.
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.