tars

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 *externalplugins.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 *externalplugins.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 HandlePullRequestEvent

func HandlePullRequestEvent(log *logrus.Entry, ghc githubClient, pre *github.PullRequestEvent,
	cfg *externalplugins.Configuration) error

HandlePullRequestEvent handles a GitHub pull request event and update the PR if the issue is a PR based on whether the PR out-of-date.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL