Documentation ¶
Index ¶
Constants ¶
View Source
const DocumentationURL = "http://arquillian.org/ike-prow-plugins"
DocumentationURL is a link to arquillian ike-prow-plugins documentation
Variables ¶
This section is empty.
Functions ¶
func InitPlugin ¶
func InitPlugin(pluginName string, newEventHandler EventHandlerCreator, newServer ServerCreator, helpProvider externalplugins.ExternalPluginHelpProvider)
InitPlugin instantiates logger, loads the secrets from the flags, sets context to background and starts server with the attached event handler.
Types ¶
type EventHandlerCreator ¶
type EventHandlerCreator func(client ghclient.Client, botName string) server.GitHubEventHandler
EventHandlerCreator is a func type that creates server.GitHubEventHandler instance which is the central point for the plugin logic
type ServerCreator ¶
type ServerCreator func(hmacSecret []byte, evenHandler server.GitHubEventHandler) (*server.Server, []error)
ServerCreator is a func type that wires Server and server.GitHubEventHandler together
Click to show internal directories.
Click to hide internal directories.