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: 4 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 ChannelCreator

type ChannelCreator struct {
	CreateChannelStub func(context.Context, discord.ChannelName) (*pkg.Channel, error)
	// contains filtered or unexported fields
}

func (*ChannelCreator) CreateChannel

func (fake *ChannelCreator) CreateChannel(arg1 context.Context, arg2 discord.ChannelName) (*pkg.Channel, error)

func (*ChannelCreator) CreateChannelArgsForCall

func (fake *ChannelCreator) CreateChannelArgsForCall(i int) (context.Context, discord.ChannelName)

func (*ChannelCreator) CreateChannelCallCount

func (fake *ChannelCreator) CreateChannelCallCount() int

func (*ChannelCreator) CreateChannelCalls

func (fake *ChannelCreator) CreateChannelCalls(stub func(context.Context, discord.ChannelName) (*pkg.Channel, error))

func (*ChannelCreator) CreateChannelReturns

func (fake *ChannelCreator) CreateChannelReturns(result1 *pkg.Channel, result2 error)

func (*ChannelCreator) CreateChannelReturnsOnCall

func (fake *ChannelCreator) CreateChannelReturnsOnCall(i int, result1 *pkg.Channel, result2 error)

func (*ChannelCreator) Invocations

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

type ChannelExistsChecker

type ChannelExistsChecker struct {
	ExistsStub func(context.Context, pkg.ChannelID) (bool, error)
	// contains filtered or unexported fields
}

func (*ChannelExistsChecker) Exists

func (fake *ChannelExistsChecker) Exists(arg1 context.Context, arg2 pkg.ChannelID) (bool, error)

func (*ChannelExistsChecker) ExistsArgsForCall

func (fake *ChannelExistsChecker) ExistsArgsForCall(i int) (context.Context, pkg.ChannelID)

func (*ChannelExistsChecker) ExistsCallCount

func (fake *ChannelExistsChecker) ExistsCallCount() int

func (*ChannelExistsChecker) ExistsCalls

func (fake *ChannelExistsChecker) ExistsCalls(stub func(context.Context, pkg.ChannelID) (bool, error))

func (*ChannelExistsChecker) ExistsReturns

func (fake *ChannelExistsChecker) ExistsReturns(result1 bool, result2 error)

func (*ChannelExistsChecker) ExistsReturnsOnCall

func (fake *ChannelExistsChecker) ExistsReturnsOnCall(i int, result1 bool, result2 error)

func (*ChannelExistsChecker) Invocations

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

type ChannelIDFinder

type ChannelIDFinder struct {
	FindByNameStub func(context.Context, discord.ChannelName) (pkg.Channels, error)
	// contains filtered or unexported fields
}

func (*ChannelIDFinder) FindByName

func (fake *ChannelIDFinder) FindByName(arg1 context.Context, arg2 discord.ChannelName) (pkg.Channels, error)

func (*ChannelIDFinder) FindByNameArgsForCall

func (fake *ChannelIDFinder) FindByNameArgsForCall(i int) (context.Context, discord.ChannelName)

func (*ChannelIDFinder) FindByNameCallCount

func (fake *ChannelIDFinder) FindByNameCallCount() int

func (*ChannelIDFinder) FindByNameCalls

func (fake *ChannelIDFinder) FindByNameCalls(stub func(context.Context, discord.ChannelName) (pkg.Channels, error))

func (*ChannelIDFinder) FindByNameReturns

func (fake *ChannelIDFinder) FindByNameReturns(result1 pkg.Channels, result2 error)

func (*ChannelIDFinder) FindByNameReturnsOnCall

func (fake *ChannelIDFinder) FindByNameReturnsOnCall(i int, result1 pkg.Channels, result2 error)

func (*ChannelIDFinder) Invocations

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

Jump to

Keyboard shortcuts

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