Versions in this module Expand all Collapse all v0 v0.0.10 Jan 6, 2016 Changes in this version type BuildOptions + ID string v0.0.9 Oct 17, 2015 Changes in this version + const Context + var ErrShuttingDown = errors.New("shutting down") + func NewLogger(w io.Writer) *logger + func UpdateGitHubCommitStatus(b Builder, g GitHubClient) *statusUpdaterBuilder + type BuildCanceledError struct + Err error + Reason error + func (e *BuildCanceledError) Error() string + type BuildOptions struct + Branch string + NoCache bool + Repository string + Sha string + type Builder interface + Build func(ctx context.Context, w io.Writer, opts BuildOptions) (image string, err error) + func CloseWriter(b Builder) Builder + type BuilderFunc func(context.Context, io.Writer, BuildOptions) (string, error) + func (fn BuilderFunc) Build(ctx context.Context, w io.Writer, opts BuildOptions) (string, error) + type CancelBuilder struct + func WithCancel(b Builder) *CancelBuilder + func (b *CancelBuilder) Build(ctx context.Context, w io.Writer, opts BuildOptions) (string, error) + func (b *CancelBuilder) Cancel() error + type GitHubClient interface + CreateStatus func(owner, repo, ref string, status *github.RepoStatus) (*github.RepoStatus, *github.Response, error) + func NewGitHubClient(token string) GitHubClient + type LogFactory func(BuildOptions) (Logger, error) + func S3Logger(bucket string) (LogFactory, error) + type Logger interface + URL func() string + func StdoutLogger(opts BuildOptions) (Logger, error)