endpoints

package
v0.0.0-...-bd111a6 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HEADER Message key containing request headers
	HEADER = "header"
	// BODY Message key containing request payload
	BODY = "body"
	// WEBHOOKDESTINATION GitHub event destination
	WEBHOOKDESTINATION = "github"
)

Variables

This section is empty.

Functions

func NewListener

func NewListener(messageService *messages.Service) error

NewListener creates a new event listener on port 9080

func NewListenerTLS

func NewListenerTLS(messageService *messages.Service, tlsCertPath, tlsKeyPath string) error

NewListenerTLS creates a new TLS event listener on port 9443

Types

type Environment

type Environment struct {
	MessageService *messages.Service
	KubeClient     *kubernetes.Clientset
	DynamicClient  dynamic.Interface
}

Environment stores clients and such that will need to be shared.

Jump to

Keyboard shortcuts

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