Documentation ¶
Overview ¶
Package generic contains webhook.Plugin implementation of a generic webhooks for use in testing and/or other ad/hoc usage
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 manual(or other) webhook requests.
func (*WebHookPlugin) Extract ¶
func (p *WebHookPlugin) Extract(buildCfg *buildv1.BuildConfig, trigger *buildv1.WebHookTrigger, req *http.Request) (revision *buildv1.SourceRevision, envvars []corev1.EnvVar, dockerStrategyOptions *buildv1.DockerStrategyOptions, proceed bool, err error)
Extract services generic webhooks.
func (*WebHookPlugin) GetTriggers ¶
func (p *WebHookPlugin) GetTriggers(buildConfig *buildv1.BuildConfig) ([]*buildv1.WebHookTrigger, error)
GetTriggers retrieves the WebHookTriggers for this webhook type (if any)
Click to show internal directories.
Click to hide internal directories.