line

package
v0.0.0-...-5666d16 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePRJob

func DeletePRJob(k *kube.Client, jobName string, pr github.PullRequest) error

func SetJobStatus

func SetJobStatus(k *kube.Client, podName, jobName, state, desc, url string) error

func StartJob

func StartJob(k *kube.Client, jobName, context string, br BuildRequest) error

func StartPRJob

func StartPRJob(k *kube.Client, jobName, context string, pr github.PullRequest, baseSHA string) error

func StartPushJob

func StartPushJob(k *kube.Client, jobName string, pe github.PushEvent) error

Types

type BuildRequest

type BuildRequest struct {
	Org  string
	Repo string

	BaseRef string
	BaseSHA string

	Pulls []Pull
}

func (BuildRequest) GetRefs

func (b BuildRequest) GetRefs() string

type Pull

type Pull struct {
	Number int
	Author string
	SHA    string
}

Jump to

Keyboard shortcuts

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