mock_shellcommand

package
v0.0.0-...-ed2735e Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommand

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

Mock of Command interface

func NewMockCommand

func NewMockCommand(ctrl *gomock.Controller) *MockCommand

func (*MockCommand) EXPECT

func (_m *MockCommand) EXPECT() *_MockCommandRecorder

func (*MockCommand) ExecuteCommand

func (_m *MockCommand) ExecuteCommand(command string, args ...string) (string, error)

type MockshellInnerInterface

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

Mock of shellInnerInterface interface

func NewMockshellInnerInterface

func NewMockshellInnerInterface(ctrl *gomock.Controller) *MockshellInnerInterface

func (*MockshellInnerInterface) EXPECT

func (_m *MockshellInnerInterface) EXPECT() *_MockshellInnerInterfaceRecorder

Jump to

Keyboard shortcuts

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