monitorfakes

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeMonitor

type FakeMonitor struct {
	FailedStub func() int64

	MonitorStub func(func() error) error

	ReadAndResetDurationMaxStub func() time.Duration

	ReadAndResetInFlightMaxStub func() int64

	SucceededStub func() int64

	TotalStub func() int64
	// contains filtered or unexported fields
}

func (*FakeMonitor) Failed

func (fake *FakeMonitor) Failed() int64

func (*FakeMonitor) FailedCallCount

func (fake *FakeMonitor) FailedCallCount() int

func (*FakeMonitor) FailedCalls

func (fake *FakeMonitor) FailedCalls(stub func() int64)

func (*FakeMonitor) FailedReturns

func (fake *FakeMonitor) FailedReturns(result1 int64)

func (*FakeMonitor) FailedReturnsOnCall

func (fake *FakeMonitor) FailedReturnsOnCall(i int, result1 int64)

func (*FakeMonitor) Invocations

func (fake *FakeMonitor) Invocations() map[string][][]interface{}

func (*FakeMonitor) Monitor

func (fake *FakeMonitor) Monitor(arg1 func() error) error

func (*FakeMonitor) MonitorArgsForCall

func (fake *FakeMonitor) MonitorArgsForCall(i int) func() error

func (*FakeMonitor) MonitorCallCount

func (fake *FakeMonitor) MonitorCallCount() int

func (*FakeMonitor) MonitorCalls

func (fake *FakeMonitor) MonitorCalls(stub func(func() error) error)

func (*FakeMonitor) MonitorReturns

func (fake *FakeMonitor) MonitorReturns(result1 error)

func (*FakeMonitor) MonitorReturnsOnCall

func (fake *FakeMonitor) MonitorReturnsOnCall(i int, result1 error)

func (*FakeMonitor) ReadAndResetDurationMax

func (fake *FakeMonitor) ReadAndResetDurationMax() time.Duration

func (*FakeMonitor) ReadAndResetDurationMaxCallCount

func (fake *FakeMonitor) ReadAndResetDurationMaxCallCount() int

func (*FakeMonitor) ReadAndResetDurationMaxCalls

func (fake *FakeMonitor) ReadAndResetDurationMaxCalls(stub func() time.Duration)

func (*FakeMonitor) ReadAndResetDurationMaxReturns

func (fake *FakeMonitor) ReadAndResetDurationMaxReturns(result1 time.Duration)

func (*FakeMonitor) ReadAndResetDurationMaxReturnsOnCall

func (fake *FakeMonitor) ReadAndResetDurationMaxReturnsOnCall(i int, result1 time.Duration)

func (*FakeMonitor) ReadAndResetInFlightMax

func (fake *FakeMonitor) ReadAndResetInFlightMax() int64

func (*FakeMonitor) ReadAndResetInFlightMaxCallCount

func (fake *FakeMonitor) ReadAndResetInFlightMaxCallCount() int

func (*FakeMonitor) ReadAndResetInFlightMaxCalls

func (fake *FakeMonitor) ReadAndResetInFlightMaxCalls(stub func() int64)

func (*FakeMonitor) ReadAndResetInFlightMaxReturns

func (fake *FakeMonitor) ReadAndResetInFlightMaxReturns(result1 int64)

func (*FakeMonitor) ReadAndResetInFlightMaxReturnsOnCall

func (fake *FakeMonitor) ReadAndResetInFlightMaxReturnsOnCall(i int, result1 int64)

func (*FakeMonitor) Succeeded

func (fake *FakeMonitor) Succeeded() int64

func (*FakeMonitor) SucceededCallCount

func (fake *FakeMonitor) SucceededCallCount() int

func (*FakeMonitor) SucceededCalls

func (fake *FakeMonitor) SucceededCalls(stub func() int64)

func (*FakeMonitor) SucceededReturns

func (fake *FakeMonitor) SucceededReturns(result1 int64)

func (*FakeMonitor) SucceededReturnsOnCall

func (fake *FakeMonitor) SucceededReturnsOnCall(i int, result1 int64)

func (*FakeMonitor) Total

func (fake *FakeMonitor) Total() int64

func (*FakeMonitor) TotalCallCount

func (fake *FakeMonitor) TotalCallCount() int

func (*FakeMonitor) TotalCalls

func (fake *FakeMonitor) TotalCalls(stub func() int64)

func (*FakeMonitor) TotalReturns

func (fake *FakeMonitor) TotalReturns(result1 int64)

func (*FakeMonitor) TotalReturnsOnCall

func (fake *FakeMonitor) TotalReturnsOnCall(i int, result1 int64)

Jump to

Keyboard shortcuts

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