drivers

package
v0.0.0-...-78af6d6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GithubWebhookHeader = "X-GitHub-Event"
	RefsBranchPrefix    = "refs/heads/"
	RefsTagPrefix       = "refs/tags/"
)

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