server

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TemplateConfigMapName = "report-template"
	TemplateConfigMapKey  = "template"

	ErrorLogNotExist = "log does not exist... maybe the pod does not exist"
)

Variables

This section is empty.

Functions

func AddPlugin

func AddPlugin(events []git.EventType, p Plugin)

Types

type Plugin

type Plugin interface {
	Handle(git.Webhook, *cicdv1.IntegrationConfig) error
}

func GetPlugins

func GetPlugins(ev git.EventType) []Plugin

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(c client.Client, cfg *rest.Config) *Server

func (*Server) Start

func (s *Server) Start()

Jump to

Keyboard shortcuts

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