redistest

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) BRPopLPush

func (_m *MockClient) BRPopLPush(_param0 string, _param1 string, _param2 time.Duration) ([]byte, error)

BRPopLPush mocks base method

func (*MockClient) ConnectionState

func (_m *MockClient) ConnectionState() string

ConnectionState mocks base method

func (*MockClient) EXPECT

func (_m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Endpoint

func (_m *MockClient) Endpoint() string

Endpoint mocks base method

func (*MockClient) IsRunning added in v1.5.0

func (_m *MockClient) IsRunning() bool

IsRunning mocks base method

func (*MockClient) LPush

func (_m *MockClient) LPush(_param0 string, _param1 []byte) error

LPush mocks base method

func (*MockClient) LRem

func (_m *MockClient) LRem(_param0 string, _param1 []byte) error

LRem mocks base method

func (*MockClient) Start

func (_m *MockClient) Start() error

Start mocks base method

func (*MockClient) Stop

func (_m *MockClient) Stop() error

Stop mocks base method

type MockClientMockRecorder added in v1.10.0

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) BRPopLPush added in v1.10.0

func (_mr *MockClientMockRecorder) BRPopLPush(arg0, arg1, arg2 interface{}) *gomock.Call

BRPopLPush indicates an expected call of BRPopLPush

func (*MockClientMockRecorder) ConnectionState added in v1.10.0

func (_mr *MockClientMockRecorder) ConnectionState() *gomock.Call

ConnectionState indicates an expected call of ConnectionState

func (*MockClientMockRecorder) Endpoint added in v1.10.0

func (_mr *MockClientMockRecorder) Endpoint() *gomock.Call

Endpoint indicates an expected call of Endpoint

func (*MockClientMockRecorder) IsRunning added in v1.10.0

func (_mr *MockClientMockRecorder) IsRunning() *gomock.Call

IsRunning indicates an expected call of IsRunning

func (*MockClientMockRecorder) LPush added in v1.10.0

func (_mr *MockClientMockRecorder) LPush(arg0, arg1 interface{}) *gomock.Call

LPush indicates an expected call of LPush

func (*MockClientMockRecorder) LRem added in v1.10.0

func (_mr *MockClientMockRecorder) LRem(arg0, arg1 interface{}) *gomock.Call

LRem indicates an expected call of LRem

func (*MockClientMockRecorder) Start added in v1.10.0

func (_mr *MockClientMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockClientMockRecorder) Stop added in v1.10.0

func (_mr *MockClientMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop

Jump to

Keyboard shortcuts

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