Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthChecker ¶
HealthChecker is an autogenerated mock type for the HealthChecker type
func NewHealthChecker ¶
func NewHealthChecker(t mockConstructorTestingTNewHealthChecker) *HealthChecker
NewHealthChecker creates a new instance of HealthChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*HealthChecker) Check ¶
func (_m *HealthChecker) Check(ctx context.Context) checker.Health
Check provides a mock function with given fields: ctx
func (*HealthChecker) EXPECT ¶
func (_m *HealthChecker) EXPECT() *HealthChecker_Expecter
type HealthChecker_Check_Call ¶
HealthChecker_Check_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Check'
func (*HealthChecker_Check_Call) Return ¶
func (_c *HealthChecker_Check_Call) Return(_a0 checker.Health) *HealthChecker_Check_Call
func (*HealthChecker_Check_Call) Run ¶
func (_c *HealthChecker_Check_Call) Run(run func(ctx context.Context)) *HealthChecker_Check_Call
type HealthChecker_Expecter ¶
type HealthChecker_Expecter struct {
// contains filtered or unexported fields
}
func (*HealthChecker_Expecter) Check ¶
func (_e *HealthChecker_Expecter) Check(ctx interface{}) *HealthChecker_Check_Call
Check is a helper method to define mock.On call
- ctx context.Context
Click to show internal directories.
Click to hide internal directories.