Versions in this module Expand all Collapse all v0 v0.0.5 Sep 7, 2018 v0.0.4 Sep 7, 2018 v0.0.3 Sep 7, 2018 v0.0.2 Sep 7, 2018 v0.0.1 Sep 7, 2018 Changes in this version + const AboutThisBot + const AboutThisBotCommands + const AboutThisBotWithoutCommands + func EventsForPlugin(name string) []string + func FormatICResponse(ic github.IssueComment, s string) string + func FormatResponse(to, message, reason string) string + func FormatResponseRaw(body, bodyURL, login, reply string) string + func FormatSimpleResponse(to, message string) string + func HelpProviders() map[string]HelpProvider + func RegisterGenericCommentHandler(name string, fn GenericCommentHandler, help HelpProvider) + func RegisterIssueCommentHandler(name string, fn IssueCommentHandler, help HelpProvider) + func RegisterIssueHandler(name string, fn IssueHandler, help HelpProvider) + func RegisterPullRequestHandler(name string, fn PullRequestHandler, help HelpProvider) + func RegisterPushEventHandler(name string, fn PushEventHandler, help HelpProvider) + func RegisterReviewCommentEventHandler(name string, fn ReviewCommentEventHandler, help HelpProvider) + func RegisterReviewEventHandler(name string, fn ReviewEventHandler, help HelpProvider) + func RegisterStatusEventHandler(name string, fn StatusEventHandler, help HelpProvider) + type Approve struct + ImplicitSelfApprove bool + IssueRequired bool + LgtmActsAsApprove bool + Repos []string + ReviewActsAsApprove bool + type Blockade struct + BlockRegexps []string + ExceptionRegexps []string + Explanation string + Repos []string + type Blunderbuss struct + ExcludeApprovers bool + FileWeightCount *int + MaxReviewerCount int + ReviewerCount *int + type Cat struct + KeyPath string + type ConfigMapSpec struct + Key string + Name string + Namespace string + type ConfigUpdater struct + ConfigFile string + Maps map[string]ConfigMapSpec + PluginFile string + type Configuration struct + Approve []Approve + Blockades []Blockade + Blunderbuss Blunderbuss + Cat Cat + ConfigUpdater ConfigUpdater + ExternalPlugins map[string][]ExternalPlugin + Heart Heart + Label *Label + Lgtm []Lgtm + Owners Owners + Plugins map[string][]string + RepoMilestone map[string]Milestone + RequireSIG RequireSIG + SigMention SigMention + Slack Slack + Triggers []Trigger + Welcome Welcome + func (c *Configuration) EnabledReposForExternalPlugin(plugin string) (orgs, repos []string) + func (c *Configuration) EnabledReposForPlugin(plugin string) (orgs, repos []string) + func (c *Configuration) TriggerFor(org, repo string) *Trigger + type ExternalPlugin struct + Endpoint string + Events []string + Name string + type GenericCommentHandler func(PluginClient, github.GenericCommentEvent) error + type Heart struct + Adorees []string + type HelpProvider func(config *Configuration, enabledRepos []string) (*pluginhelp.PluginHelp, error) + type IssueCommentHandler func(PluginClient, github.IssueCommentEvent) error + type IssueHandler func(PluginClient, github.IssueEvent) error + type Label struct + AdditionalLabels []string + type Lgtm struct + Repos []string + ReviewActsAsLgtm bool + type MergeWarning struct + BranchWhiteList map[string][]string + Channels []string + Repos []string + WhiteList []string + type Milestone struct + MaintainersID int + MaintainersTeam string + type Owners struct + LabelsBlackList []string + MDYAMLRepos []string + SkipCollaborators []string + type PluginAgent struct + func (pa *PluginAgent) Config() *Configuration + func (pa *PluginAgent) GenericCommentHandlers(owner, repo string) map[string]GenericCommentHandler + func (pa *PluginAgent) IssueCommentHandlers(owner, repo string) map[string]IssueCommentHandler + func (pa *PluginAgent) IssueHandlers(owner, repo string) map[string]IssueHandler + func (pa *PluginAgent) Load(path string) error + func (pa *PluginAgent) MDYAMLEnabled(org, repo string) bool + func (pa *PluginAgent) PullRequestHandlers(owner, repo string) map[string]PullRequestHandler + func (pa *PluginAgent) PushEventHandlers(owner, repo string) map[string]PushEventHandler + func (pa *PluginAgent) ReviewCommentEventHandlers(owner, repo string) map[string]ReviewCommentEventHandler + func (pa *PluginAgent) ReviewEventHandlers(owner, repo string) map[string]ReviewEventHandler + func (pa *PluginAgent) Set(pc *Configuration) + func (pa *PluginAgent) SkipCollaborators(org, repo string) bool + func (pa *PluginAgent) Start(path string) error + func (pa *PluginAgent) StatusEventHandlers(owner, repo string) map[string]StatusEventHandler + type PluginClient struct + CommentPruner *commentpruner.EventClient + Config *config.Config + GitClient *git.Client + GitHubClient *github.Client + KubeClient *kube.Client + Logger *logrus.Entry + OwnersClient repoowners.Interface + PluginConfig *Configuration + SlackClient *slack.Client + type PullRequestHandler func(PluginClient, github.PullRequestEvent) error + type PushEventHandler func(PluginClient, github.PushEvent) error + type RequireSIG struct + GroupListURL string + type ReviewCommentEventHandler func(PluginClient, github.ReviewCommentEvent) error + type ReviewEventHandler func(PluginClient, github.ReviewEvent) error + type SigMention struct + Re *regexp.Regexp + Regexp string + type Slack struct + MentionChannels []string + MergeWarnings []MergeWarning + type StatusEventHandler func(PluginClient, github.StatusEvent) error + type Trigger struct + JoinOrgURL string + OnlyOrgMembers bool + Repos []string + TrustedOrg string + type Welcome struct + MessageTemplate string