client

package
v0.0.0-...-ea498fe Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2017 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Shutdown(token string) error
	AddStage(stage string, data io.Reader) error
	Build(buildID string) (string, error)
}

Client is a component that can interact with builder server

func New

func New(url string, buildID string) (Client, error)

New creates a new Client

func NewWithoutBuildID

func NewWithoutBuildID(url string) (Client, error)

NewWithoutBuildID creates a new Client

Jump to

Keyboard shortcuts

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