tasks

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 17 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(options RunOptions) error

Run one or more tasks

Types

type RunOptions

type RunOptions struct {
	Client    client.DockerClient
	Config    *config.Config
	Tasks     []string
	Quiet     bool
	BindMount bool
}

RunOptions are the options supported by Run

type TaskCollection

type TaskCollection struct {
	// contains filtered or unexported fields
}

TaskCollection is a collection of Task objects

func (*TaskCollection) All

func (c *TaskCollection) All() []types.TaskConfig

All returns all the tasks in the dependency order

func (*TaskCollection) Get

func (c *TaskCollection) Get(name task.Name) types.TaskConfig

Get returns the TaskConfig for the Name

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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