mock

package
Version: v0.0.0-...-d8e0699 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

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) Dial

func (m *MockRegionClient) Dial(arg0 context.Context) error

Dial 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(arg0 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) Dial

func (mr *MockRegionClientMockRecorder) Dial(arg0 interface{}) *gomock.Call

Dial indicates an expected call of Dial

func (*MockRegionClientMockRecorder) QueueRPC

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

QueueRPC indicates an expected call of QueueRPC

func (*MockRegionClientMockRecorder) String

String indicates an expected call of String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL