Documentation
¶
Index ¶
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) GetPoolByName ¶
GetPoolByName provides a mock function with given fields: name
type Manager_Expecter ¶
type Manager_Expecter struct {
// contains filtered or unexported fields
}
func (*Manager_Expecter) GetPoolByName ¶
func (_e *Manager_Expecter) GetPoolByName(name interface{}) *Manager_GetPoolByName_Call
GetPoolByName is a helper method to define mock.On call
- name 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) Reset ¶
func (_e *Manager_Expecter) Reset() *Manager_Reset_Call
Reset is a helper method to define mock.On call
func (*Manager_Expecter) Update ¶
func (_e *Manager_Expecter) Update(node interface{}) *Manager_Update_Call
Update is a helper method to define mock.On call
- node *v1.Node
type Manager_GetPoolByName_Call ¶
Manager_GetPoolByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPoolByName'
func (*Manager_GetPoolByName_Call) Return ¶
func (_c *Manager_GetPoolByName_Call) Return(_a0 *pool.IPPool) *Manager_GetPoolByName_Call
func (*Manager_GetPoolByName_Call) Run ¶
func (_c *Manager_GetPoolByName_Call) Run(run func(name string)) *Manager_GetPoolByName_Call
func (*Manager_GetPoolByName_Call) RunAndReturn ¶
func (_c *Manager_GetPoolByName_Call) RunAndReturn(run func(string) *pool.IPPool) *Manager_GetPoolByName_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.IPPool) *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.IPPool) *Manager_GetPools_Call
type Manager_Reset_Call ¶
Manager_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*Manager_Reset_Call) Return ¶
func (_c *Manager_Reset_Call) Return() *Manager_Reset_Call
func (*Manager_Reset_Call) Run ¶
func (_c *Manager_Reset_Call) Run(run func()) *Manager_Reset_Call
func (*Manager_Reset_Call) RunAndReturn ¶
func (_c *Manager_Reset_Call) RunAndReturn(run func()) *Manager_Reset_Call
type Manager_Update_Call ¶
Manager_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*Manager_Update_Call) Return ¶
func (_c *Manager_Update_Call) Return(_a0 error) *Manager_Update_Call
func (*Manager_Update_Call) Run ¶
func (_c *Manager_Update_Call) Run(run func(node *v1.Node)) *Manager_Update_Call
func (*Manager_Update_Call) RunAndReturn ¶
func (_c *Manager_Update_Call) RunAndReturn(run func(*v1.Node) error) *Manager_Update_Call