mocks

package
v0.0.0-...-2b67f9f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	mock.Mock
}

Check is an autogenerated mock type for the Check type

func NewCheck

func NewCheck(t interface {
	mock.TestingT
	Cleanup(func())
}) *Check

NewCheck creates a new instance of Check. 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 (*Check) Cleanup

func (_m *Check) Cleanup()

Cleanup provides a mock function with no fields

func (*Check) Init

func (_m *Check) Init(syscfg *checks.SysProbeConfig, info *checks.HostInfo, oneShot bool) error

Init provides a mock function with given fields: syscfg, info, oneShot

func (*Check) IsEnabled

func (_m *Check) IsEnabled() bool

IsEnabled provides a mock function with no fields

func (*Check) Name

func (_m *Check) Name() string

Name provides a mock function with no fields

func (*Check) Realtime

func (_m *Check) Realtime() bool

Realtime provides a mock function with no fields

func (*Check) Run

func (_m *Check) Run(nextGroupID func() int32, options *checks.RunOptions) (checks.RunResult, error)

Run provides a mock function with given fields: nextGroupID, options

func (*Check) ShouldSaveLastRun

func (_m *Check) ShouldSaveLastRun() bool

ShouldSaveLastRun provides a mock function with no fields

func (*Check) SupportsRunOptions

func (_m *Check) SupportsRunOptions() bool

SupportsRunOptions provides a mock function with no fields

Jump to

Keyboard shortcuts

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