mocks

package
v0.0.0-...-ab49fd9 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

type Pool struct {
	mock.Mock
}

Pool is an autogenerated mock type for the Pool type

func NewPool

func NewPool(t mockConstructorTestingTNewPool) *Pool

NewPool creates a new instance of Pool. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Pool) Configure

func (_m *Pool) Configure(_a0 context.Context, _a1 *worker.Configuration) error

Configure provides a mock function with given fields: _a0, _a1

func (*Pool) Process

func (_m *Pool) Process(_a0 context.Context, _a1 *message.Request) (*message.Response, error)

Process provides a mock function with given fields: _a0, _a1

func (*Pool) Run

func (_m *Pool) Run(_a0 context.Context, _a1 int) error

Run provides a mock function with given fields: _a0, _a1

func (*Pool) Stop

func (_m *Pool) Stop(_a0 context.Context) error

Stop provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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