mocks

package
v0.0.0-...-4d13c9b Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

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 MockQueue

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

MockQueue is a mock of Queue interface

func NewMockQueue

func NewMockQueue(ctrl *gomock.Controller) *MockQueue

NewMockQueue creates a new mock instance

func (*MockQueue) Commit

func (m *MockQueue) Commit(arg0 models.Transaction) (queue.Result, error)

Commit mocks base method

func (*MockQueue) Dequeue

func (m *MockQueue) Dequeue() ([]models.Record, error)

Dequeue mocks base method

func (*MockQueue) EXPECT

func (m *MockQueue) EXPECT() *MockQueueMockRecorder

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

func (*MockQueue) Enqueue

func (m *MockQueue) Enqueue(arg0 models.Record) error

Enqueue mocks base method

func (*MockQueue) Failed

func (m *MockQueue) Failed(arg0 models.Transaction) (queue.Result, error)

Failed mocks base method

type MockQueueMockRecorder

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

MockQueueMockRecorder is the mock recorder for MockQueue

func (*MockQueueMockRecorder) Commit

func (mr *MockQueueMockRecorder) Commit(arg0 interface{}) *gomock.Call

Commit indicates an expected call of Commit

func (*MockQueueMockRecorder) Dequeue

func (mr *MockQueueMockRecorder) Dequeue() *gomock.Call

Dequeue indicates an expected call of Dequeue

func (*MockQueueMockRecorder) Enqueue

func (mr *MockQueueMockRecorder) Enqueue(arg0 interface{}) *gomock.Call

Enqueue indicates an expected call of Enqueue

func (*MockQueueMockRecorder) Failed

func (mr *MockQueueMockRecorder) Failed(arg0 interface{}) *gomock.Call

Failed indicates an expected call of Failed

Source Files

  • queue.go

Jump to

Keyboard shortcuts

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