mock

package
v0.0.0-...-388d6c9 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockScheduler

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

MockScheduler is a mock of Scheduler interface.

func NewMockScheduler

func NewMockScheduler(ctrl *gomock.Controller) *MockScheduler

NewMockScheduler creates a new mock instance.

func (*MockScheduler) Close

func (m *MockScheduler) Close() error

Close mocks base method.

func (*MockScheduler) EXPECT

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

func (*MockScheduler) NewConsumer

func (m *MockScheduler) NewConsumer(topic, group string, batchSize int, fn types0.HandleMessage) error

NewConsumer mocks base method.

func (*MockScheduler) Produce

func (m *MockScheduler) Produce(ctx context.Context, msg *types.Message) error

Produce mocks base method.

func (*MockScheduler) Run

func (m *MockScheduler) Run()

Run mocks base method.

type MockSchedulerMockRecorder

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

MockSchedulerMockRecorder is the mock recorder for MockScheduler.

func (*MockSchedulerMockRecorder) Close

func (mr *MockSchedulerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockSchedulerMockRecorder) NewConsumer

func (mr *MockSchedulerMockRecorder) NewConsumer(topic, group, batchSize, fn interface{}) *gomock.Call

NewConsumer indicates an expected call of NewConsumer.

func (*MockSchedulerMockRecorder) Produce

func (mr *MockSchedulerMockRecorder) Produce(ctx, msg interface{}) *gomock.Call

Produce indicates an expected call of Produce.

func (*MockSchedulerMockRecorder) Run

Run indicates an expected call of Run.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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