Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthMonitor ¶
HealthMonitor is an autogenerated mock type for the HealthMonitor type
func NewHealthMonitor ¶
func NewHealthMonitor(t interface { mock.TestingT Cleanup(func()) }) *HealthMonitor
NewHealthMonitor creates a new instance of HealthMonitor. 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 (*HealthMonitor) EXPECT ¶
func (_m *HealthMonitor) EXPECT() *HealthMonitor_Expecter
func (*HealthMonitor) Start ¶
func (_m *HealthMonitor) Start() error
Start provides a mock function with given fields:
func (*HealthMonitor) Stop ¶
func (_m *HealthMonitor) Stop() error
Stop provides a mock function with given fields:
func (*HealthMonitor) Subscribe ¶
func (_m *HealthMonitor) Subscribe() <-chan error
Subscribe provides a mock function with given fields:
type HealthMonitor_Expecter ¶
type HealthMonitor_Expecter struct {
// contains filtered or unexported fields
}
func (*HealthMonitor_Expecter) Start ¶
func (_e *HealthMonitor_Expecter) Start() *HealthMonitor_Start_Call
Start is a helper method to define mock.On call
func (*HealthMonitor_Expecter) Stop ¶
func (_e *HealthMonitor_Expecter) Stop() *HealthMonitor_Stop_Call
Stop is a helper method to define mock.On call
func (*HealthMonitor_Expecter) Subscribe ¶
func (_e *HealthMonitor_Expecter) Subscribe() *HealthMonitor_Subscribe_Call
Subscribe is a helper method to define mock.On call
type HealthMonitor_Start_Call ¶
HealthMonitor_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*HealthMonitor_Start_Call) Return ¶
func (_c *HealthMonitor_Start_Call) Return(_a0 error) *HealthMonitor_Start_Call
func (*HealthMonitor_Start_Call) Run ¶
func (_c *HealthMonitor_Start_Call) Run(run func()) *HealthMonitor_Start_Call
func (*HealthMonitor_Start_Call) RunAndReturn ¶
func (_c *HealthMonitor_Start_Call) RunAndReturn(run func() error) *HealthMonitor_Start_Call
type HealthMonitor_Stop_Call ¶
HealthMonitor_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*HealthMonitor_Stop_Call) Return ¶
func (_c *HealthMonitor_Stop_Call) Return(_a0 error) *HealthMonitor_Stop_Call
func (*HealthMonitor_Stop_Call) Run ¶
func (_c *HealthMonitor_Stop_Call) Run(run func()) *HealthMonitor_Stop_Call
func (*HealthMonitor_Stop_Call) RunAndReturn ¶
func (_c *HealthMonitor_Stop_Call) RunAndReturn(run func() error) *HealthMonitor_Stop_Call
type HealthMonitor_Subscribe_Call ¶
HealthMonitor_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*HealthMonitor_Subscribe_Call) Return ¶
func (_c *HealthMonitor_Subscribe_Call) Return(_a0 <-chan error) *HealthMonitor_Subscribe_Call
func (*HealthMonitor_Subscribe_Call) Run ¶
func (_c *HealthMonitor_Subscribe_Call) Run(run func()) *HealthMonitor_Subscribe_Call
func (*HealthMonitor_Subscribe_Call) RunAndReturn ¶
func (_c *HealthMonitor_Subscribe_Call) RunAndReturn(run func() <-chan error) *HealthMonitor_Subscribe_Call