mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: BSD-2-Clause Imports: 8 Imported by: 0

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 NotificationCleaner

type NotificationCleaner struct {
	CleanStub func(context.Context, kv.Tx, time.Duration, int) error
	// contains filtered or unexported fields
}

func (*NotificationCleaner) Clean

func (fake *NotificationCleaner) Clean(arg1 context.Context, arg2 kv.Tx, arg3 time.Duration, arg4 int) error

func (*NotificationCleaner) CleanArgsForCall

func (fake *NotificationCleaner) CleanArgsForCall(i int) (context.Context, kv.Tx, time.Duration, int)

func (*NotificationCleaner) CleanCallCount

func (fake *NotificationCleaner) CleanCallCount() int

func (*NotificationCleaner) CleanCalls

func (fake *NotificationCleaner) CleanCalls(stub func(context.Context, kv.Tx, time.Duration, int) error)

func (*NotificationCleaner) CleanReturns

func (fake *NotificationCleaner) CleanReturns(result1 error)

func (*NotificationCleaner) CleanReturnsOnCall

func (fake *NotificationCleaner) CleanReturnsOnCall(i int, result1 error)

func (*NotificationCleaner) Invocations

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

type NotificationIndexSearcher

type NotificationIndexSearcher struct {
	SearchStub func(context.Context, *time.DateTime, *time.DateTime, core.NotificationTypes, []core.NotificationTarget, []string, []string, []string, string, int) (base.Identifiers, error)
	// contains filtered or unexported fields
}

func (*NotificationIndexSearcher) Invocations

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

func (*NotificationIndexSearcher) Search

func (fake *NotificationIndexSearcher) Search(arg1 context.Context, arg2 *time.DateTime, arg3 *time.DateTime, arg4 core.NotificationTypes, arg5 []core.NotificationTarget, arg6 []string, arg7 []string, arg8 []string, arg9 string, arg10 int) (base.Identifiers, error)

func (*NotificationIndexSearcher) SearchArgsForCall

func (fake *NotificationIndexSearcher) SearchArgsForCall(i int) (context.Context, *time.DateTime, *time.DateTime, core.NotificationTypes, []core.NotificationTarget, []string, []string, []string, string, int)

func (*NotificationIndexSearcher) SearchCallCount

func (fake *NotificationIndexSearcher) SearchCallCount() int

func (*NotificationIndexSearcher) SearchCalls

func (fake *NotificationIndexSearcher) SearchCalls(stub func(context.Context, *time.DateTime, *time.DateTime, core.NotificationTypes, []core.NotificationTarget, []string, []string, []string, string, int) (base.Identifiers, error))

func (*NotificationIndexSearcher) SearchReturns

func (fake *NotificationIndexSearcher) SearchReturns(result1 base.Identifiers, result2 error)

func (*NotificationIndexSearcher) SearchReturnsOnCall

func (fake *NotificationIndexSearcher) SearchReturnsOnCall(i int, result1 base.Identifiers, result2 error)

type NotificationIndexer

type NotificationIndexer struct {
	AddStub func(context.Context, core.Notification) error

	RemoveStub func(context.Context, base.Identifier) error
	// contains filtered or unexported fields
}

func (*NotificationIndexer) Add

func (fake *NotificationIndexer) Add(arg1 context.Context, arg2 core.Notification) error

func (*NotificationIndexer) AddArgsForCall

func (fake *NotificationIndexer) AddArgsForCall(i int) (context.Context, core.Notification)

func (*NotificationIndexer) AddCallCount

func (fake *NotificationIndexer) AddCallCount() int

func (*NotificationIndexer) AddCalls

func (fake *NotificationIndexer) AddCalls(stub func(context.Context, core.Notification) error)

func (*NotificationIndexer) AddReturns

func (fake *NotificationIndexer) AddReturns(result1 error)

func (*NotificationIndexer) AddReturnsOnCall

func (fake *NotificationIndexer) AddReturnsOnCall(i int, result1 error)

func (*NotificationIndexer) Invocations

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

func (*NotificationIndexer) Remove

func (fake *NotificationIndexer) Remove(arg1 context.Context, arg2 base.Identifier) error

func (*NotificationIndexer) RemoveArgsForCall

func (fake *NotificationIndexer) RemoveArgsForCall(i int) (context.Context, base.Identifier)

func (*NotificationIndexer) RemoveCallCount

func (fake *NotificationIndexer) RemoveCallCount() int

func (*NotificationIndexer) RemoveCalls

func (fake *NotificationIndexer) RemoveCalls(stub func(context.Context, base.Identifier) error)

func (*NotificationIndexer) RemoveReturns

func (fake *NotificationIndexer) RemoveReturns(result1 error)

func (*NotificationIndexer) RemoveReturnsOnCall

func (fake *NotificationIndexer) RemoveReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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