Documentation ¶
Overview ¶
Package bitbucket contains webhook.Plugin implementation of bitbucket webhooks according to https://confluence.atlassian.com/bitbucket/manage-webhooks-735643732.html
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebHookPlugin ¶
type WebHookPlugin struct{}
WebHookPlugin used for processing gitlab webhook requests.
func (*WebHookPlugin) Extract ¶
func (p *WebHookPlugin) Extract(buildCfg *buildapi.BuildConfig, trigger *buildapi.WebHookTrigger, req *http.Request) (revision *buildapi.SourceRevision, envvars []kapi.EnvVar, dockerStrategyOptions *buildapi.DockerStrategyOptions, proceed bool, err error)
Extract services webhooks from bitbucket.com
func (*WebHookPlugin) GetTriggers ¶
func (p *WebHookPlugin) GetTriggers(buildConfig *buildapi.BuildConfig) ([]*buildapi.WebHookTrigger, error)
GetTriggers retrieves the WebHookTriggers for this webhook type (if any)
Click to show internal directories.
Click to hide internal directories.