execshim

package
v0.0.0-...-77f688e Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter with command: counterfeiter -p os/exec BUT THEN WE MODIFIED IT SO MAKE SURE TO COPY THOSE MODIFICATIONS FORWARDS

This file was generated by counterfeiter with command: counterfeiter -p os/exec BUT THEN WE MODIFIED IT SO MAKE SURE TO COPY THOSE MODIFICATIONS FORWARDS

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd interface {
	Start() error
	StdoutPipe() (io.ReadCloser, error)
	StderrPipe() (io.ReadCloser, error)
	Wait() error
	Run() error
	CombinedOutput() ([]byte, error)

	SysProcAttr() *syscall.SysProcAttr
}

type Exec

type Exec interface {
	Command(name string, arg ...string) Cmd
	CommandContext(ctx context.Context, name string, arg ...string) Cmd
	LookPath(file string) (string, error)
}

type ExecShim

type ExecShim struct{}

func (*ExecShim) Command

func (sh *ExecShim) Command(name string, arg ...string) Cmd

func (*ExecShim) CommandContext

func (sh *ExecShim) CommandContext(ctx context.Context, name string, arg ...string) Cmd

func (*ExecShim) LookPath

func (sh *ExecShim) LookPath(file string) (string, error)

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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