mocks

package
v0.0.0-...-917b3cb Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCutter

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

MockCutter is a mock of Cutter interface

func NewMockCutter

func NewMockCutter(ctrl *gomock.Controller) *MockCutter

NewMockCutter creates a new mock instance

func (*MockCutter) After

func (m *MockCutter) After(job *tx.Job) cutter.Cut

After mocks base method

func (*MockCutter) Before

func (m *MockCutter) Before(job *tx.Job, next *tx.Item) (cutter.Cut, error)

Before mocks base method

func (*MockCutter) Clear

func (m *MockCutter) Clear()

Clear mocks base method

func (*MockCutter) EXPECT

func (m *MockCutter) EXPECT() *MockCutterMockRecorder

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

type MockCutterMockRecorder

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

MockCutterMockRecorder is the mock recorder for MockCutter

func (*MockCutterMockRecorder) After

func (mr *MockCutterMockRecorder) After(job interface{}) *gomock.Call

After indicates an expected call of After

func (*MockCutterMockRecorder) Before

func (mr *MockCutterMockRecorder) Before(job, next interface{}) *gomock.Call

Before indicates an expected call of Before

func (*MockCutterMockRecorder) Clear

func (mr *MockCutterMockRecorder) Clear() *gomock.Call

Clear indicates an expected call of Clear

type MockEncoder

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

MockEncoder is a mock of Encoder interface

func NewMockEncoder

func NewMockEncoder(ctrl *gomock.Controller) *MockEncoder

NewMockEncoder creates a new mock instance

func (*MockEncoder) DecodeResponse

func (m *MockEncoder) DecodeResponse(arg0 []byte) ([][]byte, error)

DecodeResponse mocks base method

func (*MockEncoder) EXPECT

func (m *MockEncoder) EXPECT() *MockEncoderMockRecorder

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

func (*MockEncoder) EncodeRequest

func (m *MockEncoder) EncodeRequest(arg0 [][][]byte) ([][]byte, error)

EncodeRequest mocks base method

type MockEncoderMockRecorder

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

MockEncoderMockRecorder is the mock recorder for MockEncoder

func (*MockEncoderMockRecorder) DecodeResponse

func (mr *MockEncoderMockRecorder) DecodeResponse(arg0 interface{}) *gomock.Call

DecodeResponse indicates an expected call of DecodeResponse

func (*MockEncoderMockRecorder) EncodeRequest

func (mr *MockEncoderMockRecorder) EncodeRequest(arg0 interface{}) *gomock.Call

EncodeRequest indicates an expected call of EncodeRequest

type MockProcessor

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

MockProcessor is a mock of Processor interface

func NewMockProcessor

func NewMockProcessor(ctrl *gomock.Controller) *MockProcessor

NewMockProcessor creates a new mock instance

func (*MockProcessor) EXPECT

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

func (*MockProcessor) Empty

func (m *MockProcessor) Empty() bool

Empty mocks base method

func (*MockProcessor) Process

func (m *MockProcessor) Process()

Process mocks base method

func (*MockProcessor) Submit

func (m *MockProcessor) Submit(i *tx.Item) bool

Submit mocks base method

type MockProcessorMockRecorder

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

MockProcessorMockRecorder is the mock recorder for MockProcessor

func (*MockProcessorMockRecorder) Empty

func (mr *MockProcessorMockRecorder) Empty() *gomock.Call

Empty indicates an expected call of Empty

func (*MockProcessorMockRecorder) Process

func (mr *MockProcessorMockRecorder) Process() *gomock.Call

Process indicates an expected call of Process

func (*MockProcessorMockRecorder) Submit

func (mr *MockProcessorMockRecorder) Submit(i interface{}) *gomock.Call

Submit indicates an expected call of Submit

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

func (m *MockResponder) JobFailure(job *tx.Job, err error)

JobFailure mocks base method

func (*MockResponder) JobSuccess

func (m *MockResponder) JobSuccess(job *tx.Job, fabresp *channel.Response)

JobSuccess mocks base method

type MockResponderMockRecorder

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

MockResponderMockRecorder is the mock recorder for MockResponder

func (*MockResponderMockRecorder) JobFailure

func (mr *MockResponderMockRecorder) JobFailure(job, err interface{}) *gomock.Call

JobFailure indicates an expected call of JobFailure

func (*MockResponderMockRecorder) JobSuccess

func (mr *MockResponderMockRecorder) JobSuccess(job, fabresp interface{}) *gomock.Call

JobSuccess indicates an expected call of JobSuccess

type MockSender

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

MockSender is a mock of Sender interface

func NewMockSender

func NewMockSender(ctrl *gomock.Controller) *MockSender

NewMockSender creates a new mock instance

func (*MockSender) EXPECT

func (m *MockSender) EXPECT() *MockSenderMockRecorder

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

func (*MockSender) Send

func (m *MockSender) Send(job *tx.Job)

Send mocks base method

type MockSenderMockRecorder

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

MockSenderMockRecorder is the mock recorder for MockSender

func (*MockSenderMockRecorder) Send

func (mr *MockSenderMockRecorder) Send(job interface{}) *gomock.Call

Send indicates an expected call of Send

Jump to

Keyboard shortcuts

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