Documentation ¶
Index ¶
- Constants
- func HandleAll(log *logrus.Entry, ghc githubClient, config *plugins.Configuration, ...) error
- func HandleIssueCommentEvent(log *logrus.Entry, ghc githubClient, ice *github.IssueCommentEvent, ...) error
- func HandlePushEvent(log *logrus.Entry, ghc githubClient, pe *github.PushEvent, ...) error
- func HelpProvider(epa *tiexternalplugins.ConfigAgent) externalplugins.ExternalPluginHelpProvider
Constants ¶
View Source
const (
// PluginName is the name of this plugin.
PluginName = "ti-community-tars"
)
Variables ¶
This section is empty.
Functions ¶
func HandleAll ¶
func HandleAll(log *logrus.Entry, ghc githubClient, config *plugins.Configuration, externalConfig *tiexternalplugins.Configuration) error
HandleAll checks all orgs and repos that enabled this plugin for open PRs to determine if the issue is a PR based on whether the PR out-of-date.
func HandleIssueCommentEvent ¶
func HandleIssueCommentEvent(log *logrus.Entry, ghc githubClient, ice *github.IssueCommentEvent, cfg *tiexternalplugins.Configuration) error
HandleIssueCommentEvent handles a GitHub issue comment event and update the PR if the issue is a PR based on whether the PR out-of-date.
func HandlePushEvent ¶ added in v1.3.2
func HandlePushEvent(log *logrus.Entry, ghc githubClient, pe *github.PushEvent, cfg *tiexternalplugins.Configuration) error
HandlePushEvent handles a GitHub push event and update the PR.
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.