github

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidContentType = errors.New("form parameter encoding not supported, please change the hook to send JSON payloads")

ErrInvalidContentType is returned when the content-type is not a JSON body.

Functions

Types

type Interceptor

type Interceptor struct {
	KubeClientSet    kubernetes.Interface
	Logger           *zap.SugaredLogger
	GitHub           *triggersv1.GitHubInterceptor
	TriggerNamespace string
}

func (*Interceptor) ExecuteTrigger

func (w *Interceptor) ExecuteTrigger(request *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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