Documentation ¶
Index ¶
- type Dependency
- func (_m *Dependency) AddBroker(brokerType types.Worker, b interfaces.Broker)
- func (_m *Dependency) AddExtended(key string, value interface{})
- func (_m *Dependency) GetBroker(_a0 types.Worker) interfaces.Broker
- func (_m *Dependency) GetExtended(key string) interface{}
- func (_m *Dependency) GetKey() interfaces.RSAKey
- func (_m *Dependency) GetLocker() interfaces.Locker
- func (_m *Dependency) GetMiddleware() interfaces.Middleware
- func (_m *Dependency) GetMongoDatabase() interfaces.MongoDatabase
- func (_m *Dependency) GetRedisPool() interfaces.RedisPool
- func (_m *Dependency) GetSQLDatabase() interfaces.SQLDatabase
- func (_m *Dependency) GetValidator() interfaces.Validator
- func (_m *Dependency) SetKey(i interfaces.RSAKey)
- func (_m *Dependency) SetLocker(v interfaces.Locker)
- func (_m *Dependency) SetMiddleware(mw interfaces.Middleware)
- func (_m *Dependency) SetValidator(v interfaces.Validator)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependency ¶
Dependency is an autogenerated mock type for the Dependency type
func NewDependency ¶ added in v1.11.21
func NewDependency(t mockConstructorTestingTNewDependency) *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.
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) 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