mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 5 Imported by: 0

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 context.Context, arg1 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, arg1 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