mocks

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeConfigLoader added in v0.4.1

type FakeConfigLoader struct {
	LoadStub func(context.Context) (config.Config, error)
	// contains filtered or unexported fields
}

func (*FakeConfigLoader) Invocations added in v0.4.1

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

func (*FakeConfigLoader) Load added in v0.4.1

func (fake *FakeConfigLoader) Load(arg1 context.Context) (config.Config, error)

func (*FakeConfigLoader) LoadArgsForCall added in v0.4.1

func (fake *FakeConfigLoader) LoadArgsForCall(i int) context.Context

func (*FakeConfigLoader) LoadCallCount added in v0.4.1

func (fake *FakeConfigLoader) LoadCallCount() int

func (*FakeConfigLoader) LoadCalls added in v0.4.1

func (fake *FakeConfigLoader) LoadCalls(stub func(context.Context) (config.Config, error))

func (*FakeConfigLoader) LoadReturns added in v0.4.1

func (fake *FakeConfigLoader) LoadReturns(result1 config.Config, result2 error)

func (*FakeConfigLoader) LoadReturnsOnCall added in v0.4.1

func (fake *FakeConfigLoader) LoadReturnsOnCall(i int, result1 config.Config, result2 error)

type FakeNotifier added in v0.4.1

type FakeNotifier struct {
	NotifyStub func(context.Context, notify.Notification) error
	// contains filtered or unexported fields
}

func (*FakeNotifier) Invocations added in v0.4.1

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

func (*FakeNotifier) Notify added in v0.4.1

func (fake *FakeNotifier) Notify(arg1 context.Context, arg2 notify.Notification) error

func (*FakeNotifier) NotifyArgsForCall added in v0.4.1

func (fake *FakeNotifier) NotifyArgsForCall(i int) (context.Context, notify.Notification)

func (*FakeNotifier) NotifyCallCount added in v0.4.1

func (fake *FakeNotifier) NotifyCallCount() int

func (*FakeNotifier) NotifyCalls added in v0.4.1

func (fake *FakeNotifier) NotifyCalls(stub func(context.Context, notify.Notification) error)

func (*FakeNotifier) NotifyReturns added in v0.4.1

func (fake *FakeNotifier) NotifyReturns(result1 error)

func (*FakeNotifier) NotifyReturnsOnCall added in v0.4.1

func (fake *FakeNotifier) NotifyReturnsOnCall(i int, result1 error)

type FakeWatcher added in v0.4.1

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

func (*FakeWatcher) Invocations added in v0.4.1

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

func (*FakeWatcher) Watch added in v0.4.1

func (fake *FakeWatcher) Watch(arg1 context.Context) error

func (*FakeWatcher) WatchArgsForCall added in v0.4.1

func (fake *FakeWatcher) WatchArgsForCall(i int) context.Context

func (*FakeWatcher) WatchCallCount added in v0.4.1

func (fake *FakeWatcher) WatchCallCount() int

func (*FakeWatcher) WatchCalls added in v0.4.1

func (fake *FakeWatcher) WatchCalls(stub func(context.Context) error)

func (*FakeWatcher) WatchReturns added in v0.4.1

func (fake *FakeWatcher) WatchReturns(result1 error)

func (*FakeWatcher) WatchReturnsOnCall added in v0.4.1

func (fake *FakeWatcher) WatchReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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