generic

package
v3.8.41-1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 9, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

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 New

func New() *WebHookPlugin

New returns a generic webhook plugin.

func (*WebHookPlugin) Extract

func (p *WebHookPlugin) Extract(buildCfg *buildapi.BuildConfig, secret, path string, req *http.Request) (revision *buildapi.SourceRevision, envvars []kapi.EnvVar, dockerStrategyOptions *buildapi.DockerStrategyOptions, proceed bool, err error)

Extract services generic webhooks.

Jump to

Keyboard shortcuts

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