Documentation ¶
Index ¶
- type Check
- func (_m *Check) Cleanup()
- func (_m *Check) Init(syscfg *checks.SysProbeConfig, info *checks.HostInfo, oneShot bool) error
- func (_m *Check) IsEnabled() bool
- func (_m *Check) Name() string
- func (_m *Check) Realtime() bool
- func (_m *Check) Run(nextGroupID func() int32, options *checks.RunOptions) (checks.RunResult, error)
- func (_m *Check) ShouldSaveLastRun() bool
- func (_m *Check) SupportsRunOptions() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
Check is an autogenerated mock type for the Check type
func NewCheck ¶
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) 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 ¶
ShouldSaveLastRun provides a mock function with no fields
func (*Check) SupportsRunOptions ¶
SupportsRunOptions provides a mock function with no fields
Click to show internal directories.
Click to hide internal directories.