docker

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Step

type Step struct {
	Task      string
	Name      string
	Image     string
	Command   []string
	Env       []string
	WorkDir   string
	Volumes   map[string]string
	ExtMounts []mount.Mount
	Args      []string
}

Step describes the information required to run one task in docker container

func (Step) Exec

func (step Step) Exec() (*io.ReadCloser, error)

Exec method is used to execute the task described in the corresponding step

Jump to

Keyboard shortcuts

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