mock_cmd

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_cmd is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRunner

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

MockRunner is a mock of Runner interface

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRunner) Kill

func (m *MockRunner) Kill(arg0 *os.Process) error

Kill mocks base method

func (*MockRunner) Output

func (m *MockRunner) Output(arg0 *cmd.Command) (string, error)

Output mocks base method

func (*MockRunner) Request

func (m *MockRunner) Request(arg0 *http.Request) (string, int, error)

Request mocks base method

func (*MockRunner) Run

func (m *MockRunner) Run(arg0 *cmd.Command) error

Run mocks base method

func (*MockRunner) Stream

func (m *MockRunner) Stream(arg0 *cmd.Command) (*cmd.CommandStreamHandler, error)

Stream mocks base method

type MockRunnerMockRecorder

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

MockRunnerMockRecorder is the mock recorder for MockRunner

func (*MockRunnerMockRecorder) Kill

func (mr *MockRunnerMockRecorder) Kill(arg0 interface{}) *gomock.Call

Kill indicates an expected call of Kill

func (*MockRunnerMockRecorder) Output

func (mr *MockRunnerMockRecorder) Output(arg0 interface{}) *gomock.Call

Output indicates an expected call of Output

func (*MockRunnerMockRecorder) Request

func (mr *MockRunnerMockRecorder) Request(arg0 interface{}) *gomock.Call

Request indicates an expected call of Request

func (*MockRunnerMockRecorder) Run

func (mr *MockRunnerMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run

func (*MockRunnerMockRecorder) Stream

func (mr *MockRunnerMockRecorder) Stream(arg0 interface{}) *gomock.Call

Stream indicates an expected call of Stream

Jump to

Keyboard shortcuts

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