exec

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 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 CmdRunner

type CmdRunner interface {
	Run(ctx context.Context, cmd string, args ...string) error
}

type FakeCmdRunner

type FakeCmdRunner func(argv []string)

func (FakeCmdRunner) Run

func (f FakeCmdRunner) Run(ctx context.Context, cmd string, args ...string) error

type RealCmdRunner

type RealCmdRunner struct{}

func (RealCmdRunner) Run

func (RealCmdRunner) Run(ctx context.Context, cmd string, args ...string) error

Jump to

Keyboard shortcuts

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