# Packages
No description provided by the author
No description provided by the author
Package blockade defines a plugin that adds the 'do-not-merge/blocked-paths' label to PRs that modify protected file paths.
No description provided by the author
Package cat adds cat images to an issue or PR in response to a /meow comment.
Package cherrypickunapproved adds the `do-not-merge/cherry-pick-not-approved` label to PRs against a release branch which do not have the `cherry-pick-approved` label.
Package dog adds dog images to the issue or PR in response to a /woof comment.
No description provided by the author
Package hold contains a plugin which will allow users to label their own pull requests as not ready or ready for merge.
No description provided by the author
Package lgtm implements the lgtm plugin.
No description provided by the author
Package milestone implements the `/milestone` command which allows members of the milestone maintainers team to specify a milestone to be applied to an Issue or PR.
Package milestonestatus implements the `/status` command which allows members of the milestone maintainers team to specify a `status/*` label to be applied to an Issue or PR.
Package override supports the /override context command.
No description provided by the author
Package pony adds pony images to the issue or PR in response to a /pony comment.
No description provided by the author
Package sigmention recognize SIG '@' mentions and adds 'sig/*' and 'kind/*' labels as appropriate.
Package size contains a Prow plugin which counts the number of lines changed in a pull request, buckets this number into a few size classes (S, L, XL, etc), and finally labels the pull request with this size.
Package skip implements the `/skip` command which allows users to clean up commit statuses of non-blocking presubmits on PRs.
Package stage defines a Prow plugin that defines the stage of the issue in the features process.
No description provided by the author
No description provided by the author
Package welcome implements a prow plugin to welcome new contributors.
Package wip will label a PR a work-in-progress if the author provides a prefix to their pull request title to the same effect.
No description provided by the author
# 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.