github

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	HooksEndpointPrefix = "hooks?gitwebhookId="
	GitWebHookParam     = "gitwebhookId"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHub

type GitHub struct {
	scmprovider.SCM
	// contains filtered or unexported fields
}

func NewGitHub

func NewGitHub(secrets v12.SecretCache, apply apply.Apply) *GitHub

func (*GitHub) Create

func (*GitHub) HandleHook

func (w *GitHub) HandleHook(gitCommits v1.GitWatcherCache, req *http.Request) (*webhookv1.GitWatcher, scm.Webhook, bool, int, error)

func (*GitHub) Supports

func (w *GitHub) Supports(obj *webhookv1.GitWatcher) bool

Jump to

Keyboard shortcuts

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