tasks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAll added in v0.0.5

func RunAll(cfg *config.Config, proj *project.Project, ui *termui.UI) error

Types

type Context added in v0.0.5

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

type Custom

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

func (*Custom) Load

func (c *Custom) Load(definition interface{}) (bool, error)

func (*Custom) Perform

func (c *Custom) Perform(ctx *Context) error

type Pip

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

func (*Pip) Load

func (p *Pip) Load(definition interface{}) (bool, error)

func (*Pip) Perform

func (p *Pip) Perform(ctx *Context) (err error)

type Python added in v0.0.3

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

func (*Python) CreateVirtualEnv added in v0.0.5

func (p *Python) CreateVirtualEnv(ctx *Context) (acted bool, err error)

func (*Python) Feature added in v0.0.5

func (p *Python) Feature(proj *project.Project) (string, string)

func (*Python) InstallPython added in v0.0.5

func (p *Python) InstallPython(ctx *Context) (acted bool, err error)

func (*Python) InstallVirtualEnv added in v0.0.5

func (p *Python) InstallVirtualEnv(ctx *Context) (acted bool, err error)

func (*Python) Load added in v0.0.3

func (p *Python) Load(definition interface{}) (bool, error)

func (*Python) Perform added in v0.0.3

func (p *Python) Perform(ctx *Context) (err error)

type Task

type Task interface {
	Load(interface{}) (bool, error)
	Perform(*Context) error
}

func GetTasksFromProject added in v0.0.5

func GetTasksFromProject(proj *project.Project) (taskList []Task, err error)

func NewCustom added in v0.0.5

func NewCustom() Task

func NewPip added in v0.0.5

func NewPip() Task

func NewPython added in v0.0.5

func NewPython() Task

func NewUnknown added in v0.0.5

func NewUnknown() Task

type TaskBuilder added in v0.0.5

type TaskBuilder func() Task

type TaskWithFeature added in v0.0.4

type TaskWithFeature interface {
	Task
	Feature(*project.Project) (string, string)
}

type Unknown added in v0.0.4

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

func (*Unknown) Load added in v0.0.4

func (u *Unknown) Load(definition interface{}) (bool, error)

func (*Unknown) Perform added in v0.0.4

func (u *Unknown) Perform(ctx *Context) (err error)

Jump to

Keyboard shortcuts

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