Documentation ¶
Index ¶
- type Manager
- type Manager_Expecter
- func (_e *Manager_Expecter) GetPoolByKey(key interface{}) *Manager_GetPoolByKey_Call
- func (_e *Manager_Expecter) GetPools() *Manager_GetPools_Call
- func (_e *Manager_Expecter) RemovePool(key interface{}) *Manager_RemovePool_Call
- func (_e *Manager_Expecter) UpdatePool(key interface{}, _a1 interface{}) *Manager_UpdatePool_Call
- type Manager_GetPoolByKey_Call
- type Manager_GetPools_Call
- type Manager_RemovePool_Call
- type Manager_UpdatePool_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶
func NewManager(t mockConstructorTestingTNewManager) *Manager
NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Manager) EXPECT ¶
func (_m *Manager) EXPECT() *Manager_Expecter
func (*Manager) GetPoolByKey ¶ added in v0.2.0
GetPoolByKey provides a mock function with given fields: key
func (*Manager) RemovePool ¶ added in v0.2.0
RemovePool provides a mock function with given fields: key
type Manager_Expecter ¶
type Manager_Expecter struct {
// contains filtered or unexported fields
}
func (*Manager_Expecter) GetPoolByKey ¶ added in v0.2.0
func (_e *Manager_Expecter) GetPoolByKey(key interface{}) *Manager_GetPoolByKey_Call
GetPoolByKey is a helper method to define mock.On call
- key string
func (*Manager_Expecter) GetPools ¶
func (_e *Manager_Expecter) GetPools() *Manager_GetPools_Call
GetPools is a helper method to define mock.On call
func (*Manager_Expecter) RemovePool ¶ added in v0.2.0
func (_e *Manager_Expecter) RemovePool(key interface{}) *Manager_RemovePool_Call
RemovePool is a helper method to define mock.On call
- key string
func (*Manager_Expecter) UpdatePool ¶ added in v0.2.0
func (_e *Manager_Expecter) UpdatePool(key interface{}, _a1 interface{}) *Manager_UpdatePool_Call
UpdatePool is a helper method to define mock.On call
- key string
- _a1 *pool.Pool
type Manager_GetPoolByKey_Call ¶ added in v0.2.0
Manager_GetPoolByKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPoolByKey'
func (*Manager_GetPoolByKey_Call) Return ¶ added in v0.2.0
func (_c *Manager_GetPoolByKey_Call) Return(_a0 *pool.Pool) *Manager_GetPoolByKey_Call
func (*Manager_GetPoolByKey_Call) Run ¶ added in v0.2.0
func (_c *Manager_GetPoolByKey_Call) Run(run func(key string)) *Manager_GetPoolByKey_Call
func (*Manager_GetPoolByKey_Call) RunAndReturn ¶ added in v0.2.0
func (_c *Manager_GetPoolByKey_Call) RunAndReturn(run func(string) *pool.Pool) *Manager_GetPoolByKey_Call
type Manager_GetPools_Call ¶
Manager_GetPools_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPools'
func (*Manager_GetPools_Call) Return ¶
func (_c *Manager_GetPools_Call) Return(_a0 map[string]*pool.Pool) *Manager_GetPools_Call
func (*Manager_GetPools_Call) Run ¶
func (_c *Manager_GetPools_Call) Run(run func()) *Manager_GetPools_Call
func (*Manager_GetPools_Call) RunAndReturn ¶
func (_c *Manager_GetPools_Call) RunAndReturn(run func() map[string]*pool.Pool) *Manager_GetPools_Call
type Manager_RemovePool_Call ¶ added in v0.2.0
Manager_RemovePool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemovePool'
func (*Manager_RemovePool_Call) Return ¶ added in v0.2.0
func (_c *Manager_RemovePool_Call) Return() *Manager_RemovePool_Call
func (*Manager_RemovePool_Call) Run ¶ added in v0.2.0
func (_c *Manager_RemovePool_Call) Run(run func(key string)) *Manager_RemovePool_Call
func (*Manager_RemovePool_Call) RunAndReturn ¶ added in v0.2.0
func (_c *Manager_RemovePool_Call) RunAndReturn(run func(string)) *Manager_RemovePool_Call
type Manager_UpdatePool_Call ¶ added in v0.2.0
Manager_UpdatePool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdatePool'
func (*Manager_UpdatePool_Call) Return ¶ added in v0.2.0
func (_c *Manager_UpdatePool_Call) Return() *Manager_UpdatePool_Call
func (*Manager_UpdatePool_Call) Run ¶ added in v0.2.0
func (_c *Manager_UpdatePool_Call) Run(run func(key string, _a1 *pool.Pool)) *Manager_UpdatePool_Call
func (*Manager_UpdatePool_Call) RunAndReturn ¶ added in v0.2.0
func (_c *Manager_UpdatePool_Call) RunAndReturn(run func(string, *pool.Pool)) *Manager_UpdatePool_Call