alias

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTaskConfig

func GetTaskConfig(name, act string, conf *config.AliasConfig) (types.TaskConfig, error)

GetTaskConfig returns a new TaskConfig for the action

func NewTask

func NewTask(name task.Name, conf config.Resource) types.Task

NewTask creates a new Task object

func RemoveDeps

func RemoveDeps(conf config.Resource) func() []string

RemoveDeps returns the dependencies for the remove action

func RunDeps

func RunDeps(conf config.Resource) func() []string

RunDeps returns the dependencies for the run action

Types

type Task

type Task struct {
	types.NoStop
	// contains filtered or unexported fields
}

Task is an alias task

func (*Task) Name

func (t *Task) Name() task.Name

Name returns the name of the task

func (*Task) Repr

func (t *Task) Repr() string

Repr formats the task for logging

func (*Task) Run

func (t *Task) Run(ctx *context.ExecuteContext, depsModified bool) (bool, error)

Run does nothing. Dependencies were already run.

Jump to

Keyboard shortcuts

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