manager

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adder

type Adder interface {
	Add(ctx context.Context, pkgs []string, verbose bool) error
}

Adder is an interface to add new development tools.

type Builder

type Builder interface {
	Build(ctx context.Context, binPath, pkg string, verbose bool) error
}

Builder is an interface to build vendored development tools.

type Executor

type Executor interface {
	Exec(ctx context.Context, name string, args ...string) error
}

Executor is an interface for executing managers.

func NewExecutor

func NewExecutor(execer exec.Interface, outW, errW io.Writer, inR io.Reader, cwd string, verbose bool, log *log.Logger) Executor

NewExecutor creates a new Executor instance.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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