plugin

package
v0.0.0-...-a196a74 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

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

Directories

Path Synopsis
cmd
cmd
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL