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 WebHook ¶ added in v0.2.1
type WebHook struct{}
WebHook used for processing github webhook requests.
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, dockerStrategyOptions *api.DockerStrategyOptions, proceed bool, err error)
Extract services webhooks from github.com
Click to show internal directories.
Click to hide internal directories.