mocks

package
v0.2.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: 6 Imported by: 0

Documentation

Overview

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 CommandSendCommandObjectSender

type CommandSendCommandObjectSender struct {
	SendCommandStub func(context.Context, discord.SendCommand) error
	// contains filtered or unexported fields
}

func (*CommandSendCommandObjectSender) Invocations

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

func (*CommandSendCommandObjectSender) SendCommand

func (*CommandSendCommandObjectSender) SendCommandArgsForCall

func (fake *CommandSendCommandObjectSender) SendCommandArgsForCall(i int) (context.Context, discord.SendCommand)

func (*CommandSendCommandObjectSender) SendCommandCallCount

func (fake *CommandSendCommandObjectSender) SendCommandCallCount() int

func (*CommandSendCommandObjectSender) SendCommandCalls

func (fake *CommandSendCommandObjectSender) SendCommandCalls(stub func(context.Context, discord.SendCommand) error)

func (*CommandSendCommandObjectSender) SendCommandReturns

func (fake *CommandSendCommandObjectSender) SendCommandReturns(result1 error)

func (*CommandSendCommandObjectSender) SendCommandReturnsOnCall

func (fake *CommandSendCommandObjectSender) SendCommandReturnsOnCall(i int, result1 error)

type CoreNotificationStoreTx

type CoreNotificationStoreTx struct {
	AddStub func(context.Context, kv.Tx, core.Notification) error

	FindStub func(context.Context, kv.Tx, func(notification core.Notification) bool, chan<- core.Notification) error

	GetStub func(context.Context, kv.Tx, base.Identifier) (*core.Notification, error)

	MapStub func(context.Context, kv.Tx, func(ctx context.Context, notification core.Notification) error) error

	RemoveStub func(context.Context, kv.Tx, base.Identifier) error

	StreamStub func(context.Context, kv.Tx, chan<- core.Notification) error
	// contains filtered or unexported fields
}

func (*CoreNotificationStoreTx) Add

func (fake *CoreNotificationStoreTx) Add(arg1 context.Context, arg2 kv.Tx, arg3 core.Notification) error

func (*CoreNotificationStoreTx) AddArgsForCall

func (fake *CoreNotificationStoreTx) AddArgsForCall(i int) (context.Context, kv.Tx, core.Notification)

func (*CoreNotificationStoreTx) AddCallCount

func (fake *CoreNotificationStoreTx) AddCallCount() int

func (*CoreNotificationStoreTx) AddCalls

func (fake *CoreNotificationStoreTx) AddCalls(stub func(context.Context, kv.Tx, core.Notification) error)

func (*CoreNotificationStoreTx) AddReturns

func (fake *CoreNotificationStoreTx) AddReturns(result1 error)

func (*CoreNotificationStoreTx) AddReturnsOnCall

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

func (*CoreNotificationStoreTx) Find

func (fake *CoreNotificationStoreTx) Find(arg1 context.Context, arg2 kv.Tx, arg3 func(notification core.Notification) bool, arg4 chan<- core.Notification) error

func (*CoreNotificationStoreTx) FindArgsForCall

func (fake *CoreNotificationStoreTx) FindArgsForCall(i int) (context.Context, kv.Tx, func(notification core.Notification) bool, chan<- core.Notification)

func (*CoreNotificationStoreTx) FindCallCount

func (fake *CoreNotificationStoreTx) FindCallCount() int

func (*CoreNotificationStoreTx) FindCalls

func (fake *CoreNotificationStoreTx) FindCalls(stub func(context.Context, kv.Tx, func(notification core.Notification) bool, chan<- core.Notification) error)

func (*CoreNotificationStoreTx) FindReturns

func (fake *CoreNotificationStoreTx) FindReturns(result1 error)

func (*CoreNotificationStoreTx) FindReturnsOnCall

func (fake *CoreNotificationStoreTx) FindReturnsOnCall(i int, result1 error)

func (*CoreNotificationStoreTx) Get

func (fake *CoreNotificationStoreTx) Get(arg1 context.Context, arg2 kv.Tx, arg3 base.Identifier) (*core.Notification, error)

func (*CoreNotificationStoreTx) GetArgsForCall

func (fake *CoreNotificationStoreTx) GetArgsForCall(i int) (context.Context, kv.Tx, base.Identifier)

func (*CoreNotificationStoreTx) GetCallCount

func (fake *CoreNotificationStoreTx) GetCallCount() int

func (*CoreNotificationStoreTx) GetCalls

func (fake *CoreNotificationStoreTx) GetCalls(stub func(context.Context, kv.Tx, base.Identifier) (*core.Notification, error))

func (*CoreNotificationStoreTx) GetReturns

func (fake *CoreNotificationStoreTx) GetReturns(result1 *core.Notification, result2 error)

func (*CoreNotificationStoreTx) GetReturnsOnCall

func (fake *CoreNotificationStoreTx) GetReturnsOnCall(i int, result1 *core.Notification, result2 error)

func (*CoreNotificationStoreTx) Invocations

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

func (*CoreNotificationStoreTx) Map

func (fake *CoreNotificationStoreTx) Map(arg1 context.Context, arg2 kv.Tx, arg3 func(ctx context.Context, notification core.Notification) error) error

func (*CoreNotificationStoreTx) MapArgsForCall

func (fake *CoreNotificationStoreTx) MapArgsForCall(i int) (context.Context, kv.Tx, func(ctx context.Context, notification core.Notification) error)

func (*CoreNotificationStoreTx) MapCallCount

func (fake *CoreNotificationStoreTx) MapCallCount() int

func (*CoreNotificationStoreTx) MapCalls

func (fake *CoreNotificationStoreTx) MapCalls(stub func(context.Context, kv.Tx, func(ctx context.Context, notification core.Notification) error) error)

func (*CoreNotificationStoreTx) MapReturns

func (fake *CoreNotificationStoreTx) MapReturns(result1 error)

func (*CoreNotificationStoreTx) MapReturnsOnCall

func (fake *CoreNotificationStoreTx) MapReturnsOnCall(i int, result1 error)

func (*CoreNotificationStoreTx) Remove

func (fake *CoreNotificationStoreTx) Remove(arg1 context.Context, arg2 kv.Tx, arg3 base.Identifier) error

func (*CoreNotificationStoreTx) RemoveArgsForCall

func (fake *CoreNotificationStoreTx) RemoveArgsForCall(i int) (context.Context, kv.Tx, base.Identifier)

func (*CoreNotificationStoreTx) RemoveCallCount

func (fake *CoreNotificationStoreTx) RemoveCallCount() int

func (*CoreNotificationStoreTx) RemoveCalls

func (fake *CoreNotificationStoreTx) RemoveCalls(stub func(context.Context, kv.Tx, base.Identifier) error)

func (*CoreNotificationStoreTx) RemoveReturns

func (fake *CoreNotificationStoreTx) RemoveReturns(result1 error)

func (*CoreNotificationStoreTx) RemoveReturnsOnCall

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

func (*CoreNotificationStoreTx) Stream

func (fake *CoreNotificationStoreTx) Stream(arg1 context.Context, arg2 kv.Tx, arg3 chan<- core.Notification) error

func (*CoreNotificationStoreTx) StreamArgsForCall

func (fake *CoreNotificationStoreTx) StreamArgsForCall(i int) (context.Context, kv.Tx, chan<- core.Notification)

func (*CoreNotificationStoreTx) StreamCallCount

func (fake *CoreNotificationStoreTx) StreamCallCount() int

func (*CoreNotificationStoreTx) StreamCalls

func (fake *CoreNotificationStoreTx) StreamCalls(stub func(context.Context, kv.Tx, chan<- core.Notification) error)

func (*CoreNotificationStoreTx) StreamReturns

func (fake *CoreNotificationStoreTx) StreamReturns(result1 error)

func (*CoreNotificationStoreTx) StreamReturnsOnCall

func (fake *CoreNotificationStoreTx) StreamReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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