github

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2014 License: Apache-2.0 Imports: 7 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

This section is empty.

Functions

This section is empty.

Types

type GitHubWebHook

type GitHubWebHook struct{}

GitHubWebHook used for processing github webhook requests.

func New

func New() *GitHubWebHook

New returns github webhook plugin.

func (*GitHubWebHook) Extract

func (p *GitHubWebHook) Extract(buildCfg *buildapi.BuildConfig, path string, req *http.Request) (build *buildapi.Build, proceed bool, err error)

Extract responsible for servicing webhooks from github.com.

Jump to

Keyboard shortcuts

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