remote

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package remote is a generated GoMock package.

Package remote is a generated GoMock package.

Package remote is a generated GoMock package.

Package remote is a generated GoMock package.

Package remote is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCodec added in v0.4.0

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

MockCodec is a mock of Codec interface.

func NewMockCodec added in v0.4.0

func NewMockCodec(ctrl *gomock.Controller) *MockCodec

NewMockCodec creates a new mock instance.

func (*MockCodec) Decode added in v0.4.0

func (m *MockCodec) Decode(arg0 context.Context, arg1 remote.Message, arg2 remote.ByteBuffer) error

Decode mocks base method.

func (*MockCodec) EXPECT added in v0.4.0

func (m *MockCodec) EXPECT() *MockCodecMockRecorder

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

func (*MockCodec) Encode added in v0.4.0

func (m *MockCodec) Encode(arg0 context.Context, arg1 remote.Message, arg2 remote.ByteBuffer) error

Encode mocks base method.

func (*MockCodec) Name added in v0.4.0

func (m *MockCodec) Name() string

Name mocks base method.

type MockCodecMockRecorder added in v0.4.0

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

MockCodecMockRecorder is the mock recorder for MockCodec.

func (*MockCodecMockRecorder) Decode added in v0.4.0

func (mr *MockCodecMockRecorder) Decode(arg0, arg1, arg2 interface{}) *gomock.Call

Decode indicates an expected call of Decode.

func (*MockCodecMockRecorder) Encode added in v0.4.0

func (mr *MockCodecMockRecorder) Encode(arg0, arg1, arg2 interface{}) *gomock.Call

Encode indicates an expected call of Encode.

func (*MockCodecMockRecorder) Name added in v0.4.0

func (mr *MockCodecMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

type MockConnPool added in v0.4.0

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

MockConnPool is a mock of ConnPool interface.

func NewMockConnPool added in v0.4.0

func NewMockConnPool(ctrl *gomock.Controller) *MockConnPool

NewMockConnPool creates a new mock instance.

func (*MockConnPool) Close added in v0.4.0

func (m *MockConnPool) Close() error

Close mocks base method.

func (*MockConnPool) Discard added in v0.4.0

func (m *MockConnPool) Discard(arg0 net.Conn) error

Discard mocks base method.

func (*MockConnPool) EXPECT added in v0.4.0

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

func (*MockConnPool) Get added in v0.4.0

func (m *MockConnPool) Get(arg0 context.Context, arg1, arg2 string, arg3 remote.ConnOption) (net.Conn, error)

Get mocks base method.

func (*MockConnPool) Put added in v0.4.0

func (m *MockConnPool) Put(arg0 net.Conn) error

Put mocks base method.

type MockConnPoolMockRecorder added in v0.4.0

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

MockConnPoolMockRecorder is the mock recorder for MockConnPool.

func (*MockConnPoolMockRecorder) Close added in v0.4.0

func (mr *MockConnPoolMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockConnPoolMockRecorder) Discard added in v0.4.0

func (mr *MockConnPoolMockRecorder) Discard(arg0 interface{}) *gomock.Call

Discard indicates an expected call of Discard.

func (*MockConnPoolMockRecorder) Get added in v0.4.0

func (mr *MockConnPoolMockRecorder) Get(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockConnPoolMockRecorder) Put added in v0.4.0

func (mr *MockConnPoolMockRecorder) Put(arg0 interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockMetaHandler added in v0.4.0

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

MockMetaHandler is a mock of MetaHandler interface.

func NewMockMetaHandler added in v0.4.0

func NewMockMetaHandler(ctrl *gomock.Controller) *MockMetaHandler

NewMockMetaHandler creates a new mock instance.

func (*MockMetaHandler) EXPECT added in v0.4.0

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

func (*MockMetaHandler) ReadMeta added in v0.4.0

func (m *MockMetaHandler) ReadMeta(arg0 context.Context, arg1 remote.Message) (context.Context, error)

ReadMeta mocks base method.

func (*MockMetaHandler) WriteMeta added in v0.4.0

func (m *MockMetaHandler) WriteMeta(arg0 context.Context, arg1 remote.Message) (context.Context, error)

WriteMeta mocks base method.

type MockMetaHandlerMockRecorder added in v0.4.0

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

MockMetaHandlerMockRecorder is the mock recorder for MockMetaHandler.

func (*MockMetaHandlerMockRecorder) ReadMeta added in v0.4.0

func (mr *MockMetaHandlerMockRecorder) ReadMeta(arg0, arg1 interface{}) *gomock.Call

ReadMeta indicates an expected call of ReadMeta.

func (*MockMetaHandlerMockRecorder) WriteMeta added in v0.4.0

func (mr *MockMetaHandlerMockRecorder) WriteMeta(arg0, arg1 interface{}) *gomock.Call

WriteMeta indicates an expected call of WriteMeta.

type MockOutboundHandler added in v0.4.0

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

MockOutboundHandler is a mock of OutboundHandler interface.

func NewMockOutboundHandler added in v0.4.0

func NewMockOutboundHandler(ctrl *gomock.Controller) *MockOutboundHandler

NewMockOutboundHandler creates a new mock instance.

func (*MockOutboundHandler) EXPECT added in v0.4.0

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

func (*MockOutboundHandler) Write added in v0.4.0

func (m *MockOutboundHandler) Write(arg0 context.Context, arg1 net.Conn, arg2 remote.Message) (context.Context, error)

Write mocks base method.

type MockOutboundHandlerMockRecorder added in v0.4.0

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

MockOutboundHandlerMockRecorder is the mock recorder for MockOutboundHandler.

func (*MockOutboundHandlerMockRecorder) Write added in v0.4.0

func (mr *MockOutboundHandlerMockRecorder) Write(arg0, arg1, arg2 interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockPayloadCodec added in v0.4.0

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

MockPayloadCodec is a mock of PayloadCodec interface.

func NewMockPayloadCodec added in v0.4.0

func NewMockPayloadCodec(ctrl *gomock.Controller) *MockPayloadCodec

NewMockPayloadCodec creates a new mock instance.

func (*MockPayloadCodec) EXPECT added in v0.4.0

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

func (*MockPayloadCodec) Marshal added in v0.4.0

func (m *MockPayloadCodec) Marshal(arg0 context.Context, arg1 remote.Message, arg2 remote.ByteBuffer) error

Marshal mocks base method.

func (*MockPayloadCodec) Name added in v0.4.0

func (m *MockPayloadCodec) Name() string

Name mocks base method.

func (*MockPayloadCodec) Unmarshal added in v0.4.0

func (m *MockPayloadCodec) Unmarshal(arg0 context.Context, arg1 remote.Message, arg2 remote.ByteBuffer) error

Unmarshal mocks base method.

type MockPayloadCodecMockRecorder added in v0.4.0

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

MockPayloadCodecMockRecorder is the mock recorder for MockPayloadCodec.

func (*MockPayloadCodecMockRecorder) Marshal added in v0.4.0

func (mr *MockPayloadCodecMockRecorder) Marshal(arg0, arg1, arg2 interface{}) *gomock.Call

Marshal indicates an expected call of Marshal.

func (*MockPayloadCodecMockRecorder) Name added in v0.4.0

Name indicates an expected call of Name.

func (*MockPayloadCodecMockRecorder) Unmarshal added in v0.4.0

func (mr *MockPayloadCodecMockRecorder) Unmarshal(arg0, arg1, arg2 interface{}) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

Jump to

Keyboard shortcuts

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