gitlab

package
v3.7.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package gitlab contains webhook.Plugin implementation of gitlab webhooks according to https://docs.gitlab.com/ce/user/project/integrations/webhooks.html

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebHook

type WebHook struct{}

WebHook used for processing gitlab webhook requests.

func New

func New() *WebHook

New returns gitlab webhook plugin.

func (*WebHook) Extract

func (p *WebHook) 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 webhooks from GitLab server

Jump to

Keyboard shortcuts

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