mocks

package
v2.12.1-automation-061... Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 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 interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

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(service pkgservices.HealthReporter) error

Register provides a mock function with given fields: 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