mocks

package
v0.0.0-...-d389d3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthChecker

type HealthChecker struct {
	mock.Mock
}

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

type HealthChecker_Check_Call struct {
	*mock.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 (*HealthChecker_Check_Call) Run

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL