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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependency

type Dependency struct {
	mock.Mock
}

Dependency is an autogenerated mock type for the Dependency type

func NewDependency added in v1.11.21

func NewDependency(t interface {
	mock.TestingT
	Cleanup(func())
}) *Dependency

NewDependency creates a new instance of Dependency. 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 (*Dependency) AddBroker added in v1.7.0

func (_m *Dependency) AddBroker(brokerType types.Worker, b interfaces.Broker)

AddBroker provides a mock function with given fields: brokerType, b

func (*Dependency) AddExtended

func (_m *Dependency) AddExtended(key string, value interface{})

AddExtended provides a mock function with given fields: key, value

func (*Dependency) FetchBroker added in v1.17.2

func (_m *Dependency) FetchBroker(_a0 func(types.Worker, interfaces.Broker))

FetchBroker provides a mock function with given fields: _a0

func (*Dependency) GetBroker

func (_m *Dependency) GetBroker(_a0 types.Worker) interfaces.Broker

GetBroker provides a mock function with given fields: _a0

func (*Dependency) GetExtended

func (_m *Dependency) GetExtended(key string) interface{}

GetExtended provides a mock function with given fields: key

func (*Dependency) GetKey

func (_m *Dependency) GetKey() interfaces.RSAKey

GetKey provides a mock function with given fields:

func (*Dependency) GetLocker added in v1.14.8

func (_m *Dependency) GetLocker() interfaces.Locker

GetLocker provides a mock function with given fields:

func (*Dependency) GetMiddleware

func (_m *Dependency) GetMiddleware() interfaces.Middleware

GetMiddleware provides a mock function with given fields:

func (*Dependency) GetMongoDatabase

func (_m *Dependency) GetMongoDatabase() interfaces.MongoDatabase

GetMongoDatabase provides a mock function with given fields:

func (*Dependency) GetRedisPool

func (_m *Dependency) GetRedisPool() interfaces.RedisPool

GetRedisPool provides a mock function with given fields:

func (*Dependency) GetSQLDatabase

func (_m *Dependency) GetSQLDatabase() interfaces.SQLDatabase

GetSQLDatabase provides a mock function with given fields:

func (*Dependency) GetValidator

func (_m *Dependency) GetValidator() interfaces.Validator

GetValidator provides a mock function with given fields:

func (*Dependency) SetKey

func (_m *Dependency) SetKey(i interfaces.RSAKey)

SetKey provides a mock function with given fields: i

func (*Dependency) SetLocker added in v1.14.8

func (_m *Dependency) SetLocker(v interfaces.Locker)

SetLocker provides a mock function with given fields: v

func (*Dependency) SetMiddleware

func (_m *Dependency) SetMiddleware(mw interfaces.Middleware)

SetMiddleware provides a mock function with given fields: mw

func (*Dependency) SetValidator

func (_m *Dependency) SetValidator(v interfaces.Validator)

SetValidator provides a mock function with given fields: v

Jump to

Keyboard shortcuts

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