package
0.0.1290
Repository: https://github.com/jenkins-x/lighthouse-client.git
Documentation: pkg.go.dev

# Functions

Action returns a ConditionFunc that checks event action.
Always is a condition that always evaluates to true.
FormatICResponse nicely formats a response to an issue comment.
FormatResponse nicely formats a response to a generic reason.
FormatResponseRaw nicely formats a response for one does not have an issue comment.
FormatSimpleResponse formats a response that does not warrant additional explanation in the details section.
HelpProviders returns the map of registered plugins with their associated HelpProvider.
Invoke creates a CommandAction from a handler and a condition.
IsNotPR returns a ConditionFunc that checks if event doesn't concerns a pull request.
IsPR returns a ConditionFunc that checks if event concerns a pull request.
IssueState returns a ConditionFunc that checks event issue state.
Never is a condition that always evaluates to false.
NewAgent bootstraps a new Agent struct from the passed dependencies.
Not negates a condition.
NotIssueState returns a ConditionFunc that checks event issue state.
RegisterPlugin registers a plugin.

# Constants

AboutThisBot contains the text of both AboutThisBotWithoutCommands and AboutThisBotCommands.
AboutThisBotCommands contains the message that links to the commands the bot understand.
AboutThisBotWithoutCommands contains the message that explains how to interact with the bot.

# Structs

Agent may be used concurrently, so each entry must be thread-safe.
Approve specifies a configuration for a single approve.
Blockade specifies a configuration for a single blockade.
Cat contains the configuration for the cat plugin.
CherryPickUnapproved is the config for the cherrypick-unapproved plugin.
ClientAgent contains the various clients that are attached to the Agent.
Command defines a plugin command sent through a comment.
CommandArg defines a plugin command argument.
CommandInvoker defines a plugin command handler and the condition needed for the handler to be invoked.
CommandMatch defines a plugin command match to be passed to the command handler.
ConfigAgent contains the agent mutex and the Agent configuration.
ConfigMapSpec contains configuration options for the configMap being updated by the config-updater plugin.
ConfigUpdater contains the configuration for the config-updater plugin.
Configuration is the top-level serialization target for plugin Configuration.
ExternalPlugin holds configuration for registering an external plugin in prow.
Label contains the configuration for the label plugin.
Lgtm specifies a configuration for a single lgtm.
Milestone contains the configuration options for the milestone and milestonestatus plugins.
Owners contains configuration related to handling OWNERS files.
Plugin defines a plugin and its handlers.
RequireMatchingLabel is the config for the require-matching-label plugin.
RequireSIG specifies configuration for the require-sig plugin.
SigMention specifies configuration for the sigmention plugin.
Size specifies configuration for the size plugin, defining lower bounds (in # lines changed) for each size label.
Trigger specifies a configuration for a single trigger.
Welcome is config for the welcome plugin.

# Type aliases

CommandEventHandler defines the function contract for a command handler.
ConditionFunc defines a condition used for invoking commands.
ConfigHelpProvider defines the function type that constructs help about a plugin configuration.
No description provided by the author
GenericCommentHandler defines the function contract for a scm.Comment handler.
HelpProvider defines the function type that construct a pluginhelp.PluginHelp for enabled plugins.
IssueHandler defines the function contract for a scm.Issue handler.
PullRequestHandler defines the function contract for a scm.PullRequest handler.
PushEventHandler defines the function contract for a scm.PushHook handler.
ReviewEventHandler defines the function contract for a ReviewHook handler.
StatusEventHandler defines the function contract for a scm.Status handler.