mocks

package
v2.2.0-beta1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	mock.Mock
}

Checker is an autogenerated mock type for the Checker type

func NewChecker

func NewChecker(t mockConstructorTestingTNewChecker) *Checker

NewChecker creates a new instance of Checker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Checker) Close

func (_m *Checker) Close() error

Close provides a mock function with given fields:

func (*Checker) IsHealthy

func (_m *Checker) IsHealthy() (bool, map[string]error)

IsHealthy provides a mock function with given fields:

func (*Checker) IsReady

func (_m *Checker) IsReady() (bool, map[string]error)

IsReady provides a mock function with given fields:

func (*Checker) Register

func (_m *Checker) Register(name string, service services.Checkable) error

Register provides a mock function with given fields: name, service

func (*Checker) Start

func (_m *Checker) Start() error

Start provides a mock function with given fields:

func (*Checker) Unregister

func (_m *Checker) Unregister(name string) error

Unregister provides a mock function with given fields: name

type Config

type Config struct {
	mock.Mock
}

Config is an autogenerated mock type for the Config type

func NewConfig

func NewConfig(t mockConstructorTestingTNewConfig) *Config

NewConfig creates a new instance of Config. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Config) LogSQL

func (_m *Config) LogSQL() bool

LogSQL provides a mock function with given fields:

Jump to

Keyboard shortcuts

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