drivers

package
v2.0.0-beta2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const GithubWebhookHeader = "X-GitHub-Event"

Variables

This section is empty.

Functions

func VerifyBranch

func VerifyBranch(config *v3.SourceCodeConfig, branch string) bool

func VerifyGithubWebhookSignature

func VerifyGithubWebhookSignature(secret []byte, signature string, body []byte) bool

Types

type GithubDriver

type GithubDriver struct {
	Pipelines          v3.PipelineInterface
	PipelineExecutions v3.PipelineExecutionInterface
}

func (GithubDriver) Execute

func (g GithubDriver) Execute(req *http.Request) (int, error)

Jump to

Keyboard shortcuts

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