env

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTaskConfig

func GetTaskConfig(name, action string, conf *config.EnvConfig) (types.TaskConfig, error)

GetTaskConfig returns a new task for the action

Types

type Task

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

Task sets environment variables

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, _ bool) (bool, error)

Run sets environment variables

Jump to

Keyboard shortcuts

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