generic

package
v0.9.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package generic is a generated GoMock package.

Package generic is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMessageReader

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

MockMessageReader is a mock of MessageReader interface.

func NewMockMessageReader

func NewMockMessageReader(ctrl *gomock.Controller) *MockMessageReader

NewMockMessageReader creates a new mock instance.

func (*MockMessageReader) EXPECT

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

func (*MockMessageReader) Read

func (m *MockMessageReader) Read(ctx context.Context, method string, in thrift.TProtocol) (interface{}, error)

Read mocks base method.

type MockMessageReaderMockRecorder

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

MockMessageReaderMockRecorder is the mock recorder for MockMessageReader.

func (*MockMessageReaderMockRecorder) Read

func (mr *MockMessageReaderMockRecorder) Read(ctx, method, in interface{}) *gomock.Call

Read indicates an expected call of Read.

type MockMessageWriter

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

MockMessageWriter is a mock of MessageWriter interface.

func NewMockMessageWriter

func NewMockMessageWriter(ctrl *gomock.Controller) *MockMessageWriter

NewMockMessageWriter creates a new mock instance.

func (*MockMessageWriter) EXPECT

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

func (*MockMessageWriter) Write

func (m *MockMessageWriter) Write(ctx context.Context, out thrift.TProtocol, msg interface{}, requestBase *thrift0.Base) error

Write mocks base method.

type MockMessageWriterMockRecorder

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

MockMessageWriterMockRecorder is the mock recorder for MockMessageWriter.

func (*MockMessageWriterMockRecorder) Write

func (mr *MockMessageWriterMockRecorder) Write(ctx, out, msg, requestBase interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) GenericCall

func (m *MockService) GenericCall(ctx context.Context, method string, request interface{}) (interface{}, error)

GenericCall mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) GenericCall

func (mr *MockServiceMockRecorder) GenericCall(ctx, method, request interface{}) *gomock.Call

GenericCall indicates an expected call of GenericCall.

type MockWithCodec

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

MockWithCodec is a mock of WithCodec interface.

func NewMockWithCodec

func NewMockWithCodec(ctrl *gomock.Controller) *MockWithCodec

NewMockWithCodec creates a new mock instance.

func (*MockWithCodec) EXPECT

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

func (*MockWithCodec) SetCodec

func (m *MockWithCodec) SetCodec(codec interface{})

SetCodec mocks base method.

type MockWithCodecMockRecorder

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

MockWithCodecMockRecorder is the mock recorder for MockWithCodec.

func (*MockWithCodecMockRecorder) SetCodec

func (mr *MockWithCodecMockRecorder) SetCodec(codec interface{}) *gomock.Call

SetCodec indicates an expected call of SetCodec.

Jump to

Keyboard shortcuts

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