Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type CommandSendCommandObjectSender
- func (fake *CommandSendCommandObjectSender) Invocations() map[string][][]interface{}
- func (fake *CommandSendCommandObjectSender) SendCommand(arg1 context.Context, arg2 discord.SendCommand) error
- func (fake *CommandSendCommandObjectSender) SendCommandArgsForCall(i int) (context.Context, discord.SendCommand)
- func (fake *CommandSendCommandObjectSender) SendCommandCallCount() int
- func (fake *CommandSendCommandObjectSender) SendCommandCalls(stub func(context.Context, discord.SendCommand) error)
- func (fake *CommandSendCommandObjectSender) SendCommandReturns(result1 error)
- func (fake *CommandSendCommandObjectSender) SendCommandReturnsOnCall(i int, result1 error)
- type CoreNotificationStoreTx
- func (fake *CoreNotificationStoreTx) Add(arg1 context.Context, arg2 kv.Tx, arg3 core.Notification) error
- func (fake *CoreNotificationStoreTx) AddArgsForCall(i int) (context.Context, kv.Tx, core.Notification)
- func (fake *CoreNotificationStoreTx) AddCallCount() int
- func (fake *CoreNotificationStoreTx) AddCalls(stub func(context.Context, kv.Tx, core.Notification) error)
- func (fake *CoreNotificationStoreTx) AddReturns(result1 error)
- func (fake *CoreNotificationStoreTx) AddReturnsOnCall(i int, result1 error)
- func (fake *CoreNotificationStoreTx) Find(arg1 context.Context, arg2 kv.Tx, ...) error
- func (fake *CoreNotificationStoreTx) FindArgsForCall(i int) (context.Context, kv.Tx, func(notification core.Notification) bool, ...)
- func (fake *CoreNotificationStoreTx) FindCallCount() int
- func (fake *CoreNotificationStoreTx) FindCalls(...)
- func (fake *CoreNotificationStoreTx) FindReturns(result1 error)
- func (fake *CoreNotificationStoreTx) FindReturnsOnCall(i int, result1 error)
- func (fake *CoreNotificationStoreTx) Get(arg1 context.Context, arg2 kv.Tx, arg3 base.Identifier) (*core.Notification, error)
- func (fake *CoreNotificationStoreTx) GetArgsForCall(i int) (context.Context, kv.Tx, base.Identifier)
- func (fake *CoreNotificationStoreTx) GetCallCount() int
- func (fake *CoreNotificationStoreTx) GetCalls(stub func(context.Context, kv.Tx, base.Identifier) (*core.Notification, error))
- func (fake *CoreNotificationStoreTx) GetReturns(result1 *core.Notification, result2 error)
- func (fake *CoreNotificationStoreTx) GetReturnsOnCall(i int, result1 *core.Notification, result2 error)
- func (fake *CoreNotificationStoreTx) Invocations() map[string][][]interface{}
- func (fake *CoreNotificationStoreTx) Map(arg1 context.Context, arg2 kv.Tx, ...) error
- func (fake *CoreNotificationStoreTx) MapArgsForCall(i int) (context.Context, kv.Tx, ...)
- func (fake *CoreNotificationStoreTx) MapCallCount() int
- func (fake *CoreNotificationStoreTx) MapCalls(stub func(context.Context, kv.Tx, ...) error)
- func (fake *CoreNotificationStoreTx) MapReturns(result1 error)
- func (fake *CoreNotificationStoreTx) MapReturnsOnCall(i int, result1 error)
- func (fake *CoreNotificationStoreTx) Remove(arg1 context.Context, arg2 kv.Tx, arg3 base.Identifier) error
- func (fake *CoreNotificationStoreTx) RemoveArgsForCall(i int) (context.Context, kv.Tx, base.Identifier)
- func (fake *CoreNotificationStoreTx) RemoveCallCount() int
- func (fake *CoreNotificationStoreTx) RemoveCalls(stub func(context.Context, kv.Tx, base.Identifier) error)
- func (fake *CoreNotificationStoreTx) RemoveReturns(result1 error)
- func (fake *CoreNotificationStoreTx) RemoveReturnsOnCall(i int, result1 error)
- func (fake *CoreNotificationStoreTx) Stream(arg1 context.Context, arg2 kv.Tx, arg3 chan<- core.Notification) error
- func (fake *CoreNotificationStoreTx) StreamArgsForCall(i int) (context.Context, kv.Tx, chan<- core.Notification)
- func (fake *CoreNotificationStoreTx) StreamCallCount() int
- func (fake *CoreNotificationStoreTx) StreamCalls(stub func(context.Context, kv.Tx, chan<- core.Notification) error)
- func (fake *CoreNotificationStoreTx) StreamReturns(result1 error)
- func (fake *CoreNotificationStoreTx) StreamReturnsOnCall(i int, result1 error)
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 (fake *CommandSendCommandObjectSender) SendCommand(arg1 context.Context, arg2 discord.SendCommand) error
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) AddArgsForCall ¶
func (*CoreNotificationStoreTx) AddCallCount ¶
func (fake *CoreNotificationStoreTx) AddCallCount() int
func (*CoreNotificationStoreTx) AddReturns ¶
func (fake *CoreNotificationStoreTx) AddReturns(result1 error)
func (*CoreNotificationStoreTx) AddReturnsOnCall ¶
func (fake *CoreNotificationStoreTx) AddReturnsOnCall(i int, result1 error)
func (*CoreNotificationStoreTx) FindArgsForCall ¶
func (*CoreNotificationStoreTx) FindCallCount ¶
func (fake *CoreNotificationStoreTx) FindCallCount() int
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) MapArgsForCall ¶
func (*CoreNotificationStoreTx) MapCallCount ¶
func (fake *CoreNotificationStoreTx) MapCallCount() int
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) StreamArgsForCall ¶
func (*CoreNotificationStoreTx) StreamCallCount ¶
func (fake *CoreNotificationStoreTx) StreamCallCount() int
func (*CoreNotificationStoreTx) StreamCalls ¶
func (*CoreNotificationStoreTx) StreamReturns ¶
func (fake *CoreNotificationStoreTx) StreamReturns(result1 error)
func (*CoreNotificationStoreTx) StreamReturnsOnCall ¶
func (fake *CoreNotificationStoreTx) StreamReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.