Documentation

Overview

Package thrifttest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnvelopeAgnosticProtocol

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

MockEnvelopeAgnosticProtocol is a mock of EnvelopeAgnosticProtocol interface

func NewMockEnvelopeAgnosticProtocol

func NewMockEnvelopeAgnosticProtocol(ctrl *gomock.Controller) *MockEnvelopeAgnosticProtocol

NewMockEnvelopeAgnosticProtocol creates a new mock instance

func (*MockEnvelopeAgnosticProtocol) Decode

func (m *MockEnvelopeAgnosticProtocol) Decode(arg0 io.ReaderAt, arg1 wire.Type) (wire.Value, error)

Decode mocks base method

func (*MockEnvelopeAgnosticProtocol) DecodeEnveloped

func (m *MockEnvelopeAgnosticProtocol) DecodeEnveloped(arg0 io.ReaderAt) (wire.Envelope, error)

DecodeEnveloped mocks base method

func (*MockEnvelopeAgnosticProtocol) DecodeRequest

DecodeRequest mocks base method

func (*MockEnvelopeAgnosticProtocol) EXPECT

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

func (*MockEnvelopeAgnosticProtocol) Encode

func (m *MockEnvelopeAgnosticProtocol) Encode(arg0 wire.Value, arg1 io.Writer) error

Encode mocks base method

func (*MockEnvelopeAgnosticProtocol) EncodeEnveloped

func (m *MockEnvelopeAgnosticProtocol) EncodeEnveloped(arg0 wire.Envelope, arg1 io.Writer) error

EncodeEnveloped mocks base method

type MockEnvelopeAgnosticProtocolMockRecorder

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

MockEnvelopeAgnosticProtocolMockRecorder is the mock recorder for MockEnvelopeAgnosticProtocol

func (*MockEnvelopeAgnosticProtocolMockRecorder) Decode

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

Decode indicates an expected call of Decode

func (*MockEnvelopeAgnosticProtocolMockRecorder) DecodeEnveloped

func (mr *MockEnvelopeAgnosticProtocolMockRecorder) DecodeEnveloped(arg0 interface{}) *gomock.Call

DecodeEnveloped indicates an expected call of DecodeEnveloped

func (*MockEnvelopeAgnosticProtocolMockRecorder) DecodeRequest

func (mr *MockEnvelopeAgnosticProtocolMockRecorder) DecodeRequest(arg0, arg1 interface{}) *gomock.Call

DecodeRequest indicates an expected call of DecodeRequest

func (*MockEnvelopeAgnosticProtocolMockRecorder) Encode

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

Encode indicates an expected call of Encode

func (*MockEnvelopeAgnosticProtocolMockRecorder) EncodeEnveloped

func (mr *MockEnvelopeAgnosticProtocolMockRecorder) EncodeEnveloped(arg0, arg1 interface{}) *gomock.Call

EncodeEnveloped indicates an expected call of EncodeEnveloped

type MockProtocol

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

MockProtocol is a mock of Protocol interface

func NewMockProtocol

func NewMockProtocol(ctrl *gomock.Controller) *MockProtocol

NewMockProtocol creates a new mock instance

func (*MockProtocol) Decode

func (m *MockProtocol) Decode(arg0 io.ReaderAt, arg1 wire.Type) (wire.Value, error)

Decode mocks base method

func (*MockProtocol) DecodeEnveloped

func (m *MockProtocol) DecodeEnveloped(arg0 io.ReaderAt) (wire.Envelope, error)

DecodeEnveloped mocks base method

func (*MockProtocol) EXPECT

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

func (*MockProtocol) Encode

func (m *MockProtocol) Encode(arg0 wire.Value, arg1 io.Writer) error

Encode mocks base method

func (*MockProtocol) EncodeEnveloped

func (m *MockProtocol) EncodeEnveloped(arg0 wire.Envelope, arg1 io.Writer) error

EncodeEnveloped mocks base method

type MockProtocolMockRecorder

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

MockProtocolMockRecorder is the mock recorder for MockProtocol

func (*MockProtocolMockRecorder) Decode

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

Decode indicates an expected call of Decode

func (*MockProtocolMockRecorder) DecodeEnveloped

func (mr *MockProtocolMockRecorder) DecodeEnveloped(arg0 interface{}) *gomock.Call

DecodeEnveloped indicates an expected call of DecodeEnveloped

func (*MockProtocolMockRecorder) Encode

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

Encode indicates an expected call of Encode

func (*MockProtocolMockRecorder) EncodeEnveloped

func (mr *MockProtocolMockRecorder) EncodeEnveloped(arg0, arg1 interface{}) *gomock.Call

EncodeEnveloped indicates an expected call of EncodeEnveloped

type MockResponder

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

MockResponder is a mock of Responder interface

func NewMockResponder

func NewMockResponder(ctrl *gomock.Controller) *MockResponder

NewMockResponder creates a new mock instance

func (*MockResponder) EXPECT

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

func (*MockResponder) EncodeResponse

func (m *MockResponder) EncodeResponse(arg0 wire.Value, arg1 wire.EnvelopeType, arg2 io.Writer) error

EncodeResponse mocks base method

type MockResponderMockRecorder

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

MockResponderMockRecorder is the mock recorder for MockResponder

func (*MockResponderMockRecorder) EncodeResponse

func (mr *MockResponderMockRecorder) EncodeResponse(arg0, arg1, arg2 interface{}) *gomock.Call

EncodeResponse indicates an expected call of EncodeResponse