mock_execwrapper

package
v0.0.0-...-2a71758 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCmd

type MockCmd struct {
	// contains filtered or unexported fields
}

Mock of Cmd interface

func NewMockCmd

func NewMockCmd(ctrl *gomock.Controller) *MockCmd

func (*MockCmd) CombinedOutput

func (_m *MockCmd) CombinedOutput() ([]byte, error)

func (*MockCmd) EXPECT

func (_m *MockCmd) EXPECT() *_MockCmdRecorder

func (*MockCmd) Output

func (_m *MockCmd) Output() ([]byte, error)

func (*MockCmd) Run

func (_m *MockCmd) Run() error

func (*MockCmd) Start

func (_m *MockCmd) Start() error

func (*MockCmd) StderrPipe

func (_m *MockCmd) StderrPipe() (io.ReadCloser, error)

func (*MockCmd) StdinPipe

func (_m *MockCmd) StdinPipe() (io.WriteCloser, error)

func (*MockCmd) StdoutPipe

func (_m *MockCmd) StdoutPipe() (io.ReadCloser, error)

func (*MockCmd) Wait

func (_m *MockCmd) Wait() error

type MockExec

type MockExec struct {
	// contains filtered or unexported fields
}

Mock of Exec interface

func NewMockExec

func NewMockExec(ctrl *gomock.Controller) *MockExec

func (*MockExec) Command

func (_m *MockExec) Command(_param0 string, _param1 ...string) execwrapper.Cmd

func (*MockExec) EXPECT

func (_m *MockExec) EXPECT() *_MockExecRecorder

func (*MockExec) LookPath

func (_m *MockExec) LookPath(_param0 string) (string, error)

Jump to

Keyboard shortcuts

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