Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultCacher = "plugins/drone-cache"
Default cache plugin.
View Source
const DefaultCloner = "plugins/drone-git"
Default clone plugin.
Variables ¶
View Source
var ErrNoImage = errors.New("Yaml must specify an image for every step")
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct { sync.Mutex Repo *plugin.Repo Build *plugin.Build BuildLast *plugin.Build Job *plugin.Job System *plugin.System Workspace *plugin.Workspace // Client is an instance of the Docker client // used to spawn container tasks. Client dockerclient.Client Stdout, Stderr io.Writer }
State represents the state of an execution.
func (*State) Exit ¶
Exit writes the exit code. A non-zero value indicates the build exited with errors.
Click to show internal directories.
Click to hide internal directories.