mocks

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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 MockQueuedMessage

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

MockQueuedMessage is a mock of QueuedMessage interface.

func NewMockQueuedMessage

func NewMockQueuedMessage(ctrl *gomock.Controller) *MockQueuedMessage

NewMockQueuedMessage creates a new mock instance.

func (*MockQueuedMessage) Bytes

func (m *MockQueuedMessage) Bytes() []byte

Bytes mocks base method.

func (*MockQueuedMessage) EXPECT

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

type MockQueuedMessageMockRecorder

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

MockQueuedMessageMockRecorder is the mock recorder for MockQueuedMessage.

func (*MockQueuedMessageMockRecorder) Bytes

Bytes indicates an expected call of Bytes.

type MockWorker

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

MockWorker is a mock of Worker interface.

func NewMockWorker

func NewMockWorker(ctrl *gomock.Controller) *MockWorker

NewMockWorker creates a new mock instance.

func (*MockWorker) EXPECT

func (m *MockWorker) EXPECT() *MockWorkerMockRecorder

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

func (*MockWorker) Queue

func (m *MockWorker) Queue(arg0 core.QueuedMessage) error

Queue mocks base method.

func (*MockWorker) Request

func (m *MockWorker) Request() (core.QueuedMessage, error)

Request mocks base method.

func (*MockWorker) Run

func (m *MockWorker) Run(arg0 core.QueuedMessage) error

Run mocks base method.

func (*MockWorker) Shutdown

func (m *MockWorker) Shutdown() error

Shutdown mocks base method.

type MockWorkerMockRecorder

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

MockWorkerMockRecorder is the mock recorder for MockWorker.

func (*MockWorkerMockRecorder) Queue

func (mr *MockWorkerMockRecorder) Queue(arg0 interface{}) *gomock.Call

Queue indicates an expected call of Queue.

func (*MockWorkerMockRecorder) Request

func (mr *MockWorkerMockRecorder) Request() *gomock.Call

Request indicates an expected call of Request.

func (*MockWorkerMockRecorder) Run

func (mr *MockWorkerMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockWorkerMockRecorder) Shutdown

func (mr *MockWorkerMockRecorder) Shutdown() *gomock.Call

Shutdown indicates an expected call of Shutdown.

Jump to

Keyboard shortcuts

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