Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandResult ¶
type DockerError ¶
type DockerError struct {
Original error
}
DockerError occures when something went wrong with docker and we just want to pass back the original error, but with a fancy wrap. Most of them will be converted to other error types, but if any of them left in there, it will be a DockerError.
func (DockerError) Error ¶
func (e DockerError) Error() string
type Job ¶
type Job struct { Name string Commands [][]string Image string StopOnError bool Environment []string Result *JobResult }
Job is a single job executed in a workflow.
type JobResult ¶
type JobResult struct { Commands []CommandResult Error error }
func (*JobResult) AddCommandResult ¶
func (r *JobResult) AddCommandResult(command CommandResult)
type Workflow ¶
type Workflow struct { Jobs []*Job // contains filtered or unexported fields }
Workflow is a series of Jobs.
func NewWorkflow ¶
NewWorkflow creates a new workflow.
Click to show internal directories.
Click to hide internal directories.