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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 command
cmd command
cmd command

Jump to

Keyboard shortcuts

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