Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAborted = errors.New("build aborted")
View Source
var ErrNoImageSpecified = errors.New("no image specified")
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { // begin execution of a build, fetching all inputs and spawning the process Start(turbine.Build, event.Emitter, <-chan struct{}) (RunningBuild, error) // attach to a running build, forwarding output events // // this will be called again after turbine restarts Attach(RunningBuild, event.Emitter, <-chan struct{}) (ExitedBuild, error) // execute an arbitrary process in a running container Hijack(string, gapi.ProcessSpec, gapi.ProcessIO) (gapi.Process, error) // process an exited build's outputs Finish(ExitedBuild, event.Emitter, <-chan struct{}) (turbine.Build, error) }
type ExitedBuild ¶
type RunningBuild ¶
type UnsatisfiedInputError ¶
type UnsatisfiedInputError struct {
InputName string
}
func (UnsatisfiedInputError) Error ¶
func (err UnsatisfiedInputError) Error() string
Click to show internal directories.
Click to hide internal directories.