package
Version:
v1.3.0-alpha.0
Opens a new window with list of versions in this module.
Published: Apr 25, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package generic contains webhook.Plugin implementation of a generic webhooks
for use in testing and/or other ad/hoc usage
type WebHookPlugin struct{}
WebHookPlugin used for processing manual(or other) webhook requests.
func New() *WebHookPlugin
New returns a generic webhook plugin.
func (p *WebHookPlugin) Extract(buildCfg *api.BuildConfig, secret, path string, req *http.Request) (revision *api.SourceRevision, proceed bool, err error)
Extract services generic webhooks.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.