ra

package
v0.0.0-...-ffb4000 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	GLHeaderEvent = "Gitlab-Event"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GitLabReceiveAdapter

type GitLabReceiveAdapter struct {
	Sink   string
	Client *http.Client
}

GitLabReceiveAdapter converts incoming GitLab webhook events to CloudEvents and then sends them to the specified Sink

func (*GitLabReceiveAdapter) HandleEvent

func (ra *GitLabReceiveAdapter) HandleEvent(payload interface{}, header webhooks.Header)

HandleEvent is invoked whenever an event comes in from GitHub

Jump to

Keyboard shortcuts

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