mock

package
v0.0.0-...-f6484e8 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 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 MockRegionClient

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

MockRegionClient is a mock of RegionClient interface

func NewMockRegionClient

func NewMockRegionClient(ctrl *gomock.Controller) *MockRegionClient

NewMockRegionClient creates a new mock instance

func (*MockRegionClient) Addr

func (_m *MockRegionClient) Addr() string

Addr mocks base method

func (*MockRegionClient) Close

func (_m *MockRegionClient) Close()

Close mocks base method

func (*MockRegionClient) EXPECT

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

func (*MockRegionClient) QueueRPC

func (_m *MockRegionClient) QueueRPC(_param0 hrpc.Call)

QueueRPC mocks base method

func (*MockRegionClient) String

func (_m *MockRegionClient) String() string

String mocks base method

type MockRegionClientMockRecorder

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

MockRegionClientMockRecorder is the mock recorder for MockRegionClient

func (*MockRegionClientMockRecorder) Addr

Addr indicates an expected call of Addr

func (*MockRegionClientMockRecorder) Close

Close indicates an expected call of Close

func (*MockRegionClientMockRecorder) QueueRPC

func (_mr *MockRegionClientMockRecorder) QueueRPC(arg0 interface{}) *gomock.Call

QueueRPC indicates an expected call of QueueRPC

func (*MockRegionClientMockRecorder) String

func (_mr *MockRegionClientMockRecorder) String() *gomock.Call

String indicates an expected call of String

Jump to

Keyboard shortcuts

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