github

package
v1.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package github contains webhook.Plugin implementation of github webhooks according to https://developer.github.com/webhooks/

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoGitHubEvent = errors.New("missing X-GitHub-Event or X-Gogs-Event")
)

Functions

This section is empty.

Types

type WebHook added in v0.2.1

type WebHook struct{}

WebHook used for processing github webhook requests.

func New

func New() *WebHook

New returns github webhook plugin.

func (*WebHook) Extract added in v0.2.1

func (p *WebHook) Extract(buildCfg *api.BuildConfig, secret, path string, req *http.Request) (revision *api.SourceRevision, envvars []kapi.EnvVar, proceed bool, err error)

Extract services webhooks from github.com

Jump to

Keyboard shortcuts

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