Documentation
¶
Index ¶
Constants ¶
View Source
const PluginName = "eksdistroopstool"
Variables ¶
This section is empty.
Functions ¶
func CreateBackportBody ¶
func FormatIEResponse ¶
func FormatIEResponse(ie github.IssueEvent, s string) string
Created based off plugins.FormatICResponse
func HelpProvider ¶
func HelpProvider(_ []config.OrgRepo) (*pluginhelp.PluginHelp, error)
HelpProvider construct the pluginhelp.PluginHelp for this plugin.
Types ¶
type Server ¶
type Server struct { TokenGenerator func() []byte BotUser *github.UserData Email string Gc git.ClientFactory Ghc githubClient Log *logrus.Entry // Labels to apply. Labels []string // Use prow to assign users issues. ProwAssignments bool // Allow anybody to request or trigger event. AllowAll bool // Create an issue on conflict. IssueOnConflict bool // Set a custom label prefix. LabelPrefix string Bare *http.Client PatchURL string Repos []github.Repo // contains filtered or unexported fields }
Server implements http.Handler. It validates incoming GitHub webhooks and then dispatches them to the appropriate plugins.
Click to show internal directories.
Click to hide internal directories.