mocks

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: BSD-2-Clause Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FuncRunner added in v1.8.0

type FuncRunner struct {
	RunStub func(run.Func) error
	// contains filtered or unexported fields
}

func (*FuncRunner) Invocations added in v1.8.0

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

func (*FuncRunner) Run added in v1.8.0

func (fake *FuncRunner) Run(arg1 run.Func) error

func (*FuncRunner) RunArgsForCall added in v1.8.0

func (fake *FuncRunner) RunArgsForCall(i int) run.Func

func (*FuncRunner) RunCallCount added in v1.8.0

func (fake *FuncRunner) RunCallCount() int

func (*FuncRunner) RunCalls added in v1.8.0

func (fake *FuncRunner) RunCalls(stub func(run.Func) error)

func (*FuncRunner) RunReturns added in v1.8.0

func (fake *FuncRunner) RunReturns(result1 error)

func (*FuncRunner) RunReturnsOnCall added in v1.8.0

func (fake *FuncRunner) RunReturnsOnCall(i int, result1 error)

type HasCaptureException added in v1.7.6

type HasCaptureException struct {
	CaptureExceptionStub func(error, *sentry.EventHint, sentry.EventModifier) *sentry.EventID
	// contains filtered or unexported fields
}

func (*HasCaptureException) CaptureException added in v1.7.6

func (fake *HasCaptureException) CaptureException(arg1 error, arg2 *sentry.EventHint, arg3 sentry.EventModifier) *sentry.EventID

func (*HasCaptureException) CaptureExceptionArgsForCall added in v1.7.6

func (fake *HasCaptureException) CaptureExceptionArgsForCall(i int) (error, *sentry.EventHint, sentry.EventModifier)

func (*HasCaptureException) CaptureExceptionCallCount added in v1.7.6

func (fake *HasCaptureException) CaptureExceptionCallCount() int

func (*HasCaptureException) CaptureExceptionCalls added in v1.7.6

func (fake *HasCaptureException) CaptureExceptionCalls(stub func(error, *sentry.EventHint, sentry.EventModifier) *sentry.EventID)

func (*HasCaptureException) CaptureExceptionReturns added in v1.7.6

func (fake *HasCaptureException) CaptureExceptionReturns(result1 *sentry.EventID)

func (*HasCaptureException) CaptureExceptionReturnsOnCall added in v1.7.6

func (fake *HasCaptureException) CaptureExceptionReturnsOnCall(i int, result1 *sentry.EventID)

func (*HasCaptureException) Invocations added in v1.7.6

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

type Runnable

type Runnable struct {
	RunStub func(context.Context) error
	// contains filtered or unexported fields
}

func (*Runnable) Invocations

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

func (*Runnable) Run

func (fake *Runnable) Run(arg1 context.Context) error

func (*Runnable) RunArgsForCall

func (fake *Runnable) RunArgsForCall(i int) context.Context

func (*Runnable) RunCallCount

func (fake *Runnable) RunCallCount() int

func (*Runnable) RunCalls

func (fake *Runnable) RunCalls(stub func(context.Context) error)

func (*Runnable) RunReturns

func (fake *Runnable) RunReturns(result1 error)

func (*Runnable) RunReturnsOnCall

func (fake *Runnable) RunReturnsOnCall(i int, result1 error)

type Waiter added in v1.5.0

type Waiter struct {
	WaitStub func(context.Context, time.Duration) error
	// contains filtered or unexported fields
}

func (*Waiter) Invocations added in v1.5.0

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

func (*Waiter) Wait added in v1.5.0

func (fake *Waiter) Wait(arg1 context.Context, arg2 time.Duration) error

func (*Waiter) WaitArgsForCall added in v1.5.0

func (fake *Waiter) WaitArgsForCall(i int) (context.Context, time.Duration)

func (*Waiter) WaitCallCount added in v1.5.0

func (fake *Waiter) WaitCallCount() int

func (*Waiter) WaitCalls added in v1.5.0

func (fake *Waiter) WaitCalls(stub func(context.Context, time.Duration) error)

func (*Waiter) WaitReturns added in v1.5.0

func (fake *Waiter) WaitReturns(result1 error)

func (*Waiter) WaitReturnsOnCall added in v1.5.0

func (fake *Waiter) WaitReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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