testingexcmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeExecutor

type FakeExecutor struct {
	Commands []*excmd.Command
}

FakeExecutor do no-ops and records executed commands.

func (*FakeExecutor) Exec

func (e *FakeExecutor) Exec(ctx context.Context, name string, opts ...excmd.Option) (_ []byte, _ error)

Exec implements Executor.Exec.

Jump to

Keyboard shortcuts

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