mocks

package
v0.0.0-...-8449c67 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2016 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 MockCLI

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

Mock of CLI interface

func NewMockCLI

func NewMockCLI(ctrl *gomock.Controller) *MockCLI

func (*MockCLI) CliCommandWithoutTerminalOutput

func (_m *MockCLI) CliCommandWithoutTerminalOutput(_param0 ...string) ([]string, error)

func (*MockCLI) EXPECT

func (_m *MockCLI) EXPECT() *_MockCLIRecorder

type MockSession

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

Mock of Session interface

func NewMockSession

func NewMockSession(ctrl *gomock.Controller) *MockSession

func (*MockSession) Connect

func (_m *MockSession) Connect(_param0 string, _param1 string, _param2 string) error

func (*MockSession) EXPECT

func (_m *MockSession) EXPECT() *_MockSessionRecorder

func (*MockSession) Send

func (_m *MockSession) Send(_param0 string, _param1 io.ReadCloser, _param2 os.FileMode, _param3 int64) error

type MockUI

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

Mock of UI interface

func NewMockUI

func NewMockUI(ctrl *gomock.Controller) *MockUI

func (*MockUI) EXPECT

func (_m *MockUI) EXPECT() *_MockUIRecorder

func (*MockUI) Failed

func (_m *MockUI) Failed(_param0 string, _param1 ...interface{})

Jump to

Keyboard shortcuts

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