builder

package
v0.0.0-...-4506ac0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder interface {
	Build(*Task, string, string, string) (io.ReadCloser, error)
}
var DefaultBuilder Builder

type JenkinsBuilder

type JenkinsBuilder struct {
	URL string
	Job string
}

func NewJenkinsBuilder

func NewJenkinsBuilder(url, job string) *JenkinsBuilder

func (*JenkinsBuilder) Build

func (b *JenkinsBuilder) Build(t *Task, repo, root, sha string) (io.ReadCloser, error)

type SimpleBuilder

type SimpleBuilder struct {
	URL          string
	BuildTimeout time.Duration
}

func NewSimpleBuilder

func NewSimpleBuilder(url string, timeout time.Duration) *SimpleBuilder

func (*SimpleBuilder) Build

func (b *SimpleBuilder) Build(t *Task, repo, root, sha string) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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