mocks

package
v1.17.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaOptionFunc

type KafkaOptionFunc struct {
	mock.Mock
}

KafkaOptionFunc is an autogenerated mock type for the KafkaOptionFunc type

func NewKafkaOptionFunc added in v1.11.21

func NewKafkaOptionFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *KafkaOptionFunc

NewKafkaOptionFunc creates a new instance of KafkaOptionFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*KafkaOptionFunc) Execute

func (_m *KafkaOptionFunc) Execute(_a0 *broker.KafkaBroker)

Execute provides a mock function with given fields: _a0

type RabbitMQOptionFunc

type RabbitMQOptionFunc struct {
	mock.Mock
}

RabbitMQOptionFunc is an autogenerated mock type for the RabbitMQOptionFunc type

func NewRabbitMQOptionFunc added in v1.11.21

func NewRabbitMQOptionFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *RabbitMQOptionFunc

NewRabbitMQOptionFunc creates a new instance of RabbitMQOptionFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RabbitMQOptionFunc) Execute

func (_m *RabbitMQOptionFunc) Execute(_a0 *broker.RabbitMQBroker)

Execute provides a mock function with given fields: _a0

type RedisOptionFunc added in v1.16.0

type RedisOptionFunc struct {
	mock.Mock
}

RedisOptionFunc is an autogenerated mock type for the RedisOptionFunc type

func NewRedisOptionFunc added in v1.16.0

func NewRedisOptionFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *RedisOptionFunc

NewRedisOptionFunc creates a new instance of RedisOptionFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RedisOptionFunc) Execute added in v1.16.0

func (_m *RedisOptionFunc) Execute(_a0 *broker.RedisBroker)

Execute 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