drivers

package
v2.2.3-rc6+incompatible Latest Latest
Warning

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

Go to latest
Published: May 6, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RefsBranchPrefix = "refs/heads/"
	RefsTagPrefix    = "refs/tags/"
)
View Source
const (
	GitlabWebhookHeader = "X-Gitlab-Event"
	GitlabTokenHeader   = "X-Gitlab-Token"
)
View Source
const (
	BitbucketCloudWebhookHeader = "X-Hook-UUID"
)
View Source
const (
	BitbucketServerWebhookHeader = "X-Request-Id"
)
View Source
const (
	GithubWebhookHeader = "X-GitHub-Event"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BitbucketCloudDriver

type BitbucketCloudDriver struct {
	PipelineLister             v3.PipelineLister
	PipelineExecutions         v3.PipelineExecutionInterface
	SourceCodeCredentials      v3.SourceCodeCredentialInterface
	SourceCodeCredentialLister v3.SourceCodeCredentialLister
}

func (BitbucketCloudDriver) Execute

func (b BitbucketCloudDriver) Execute(req *http.Request) (int, error)

type BitbucketServerDriver

type BitbucketServerDriver struct {
	PipelineLister             v3.PipelineLister
	PipelineExecutions         v3.PipelineExecutionInterface
	SourceCodeCredentials      v3.SourceCodeCredentialInterface
	SourceCodeCredentialLister v3.SourceCodeCredentialLister
}

func (BitbucketServerDriver) Execute

func (b BitbucketServerDriver) Execute(req *http.Request) (int, error)

type GithubDriver

type GithubDriver struct {
	PipelineLister             v3.PipelineLister
	PipelineExecutions         v3.PipelineExecutionInterface
	SourceCodeCredentials      v3.SourceCodeCredentialInterface
	SourceCodeCredentialLister v3.SourceCodeCredentialLister
}

func (GithubDriver) Execute

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

type GitlabDriver

type GitlabDriver struct {
	PipelineLister             v3.PipelineLister
	PipelineExecutions         v3.PipelineExecutionInterface
	SourceCodeCredentials      v3.SourceCodeCredentialInterface
	SourceCodeCredentialLister v3.SourceCodeCredentialLister
}

func (GitlabDriver) Execute

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

Jump to

Keyboard shortcuts

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