github

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitWebHookParam = "gitjobId"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHub

type GitHub struct {
	// contains filtered or unexported fields
}

func NewGitHub

func NewGitHub(rContext *types.Context) *GitHub

func (*GitHub) Handle

func (w *GitHub) Handle(ctx context.Context, obj *v1.GitJob) (v1.GitJobStatus, error)

func (*GitHub) HandleHook

func (w *GitHub) HandleHook(ctx context.Context, req *http.Request) (int, error)

func (*GitHub) Supports

func (w *GitHub) Supports(obj *v1.GitJob) bool

Jump to

Keyboard shortcuts

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