corefakes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 5 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.

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 FakeBotEngine

type FakeBotEngine struct {
	RunStub func(context.Context) <-chan types.Direction
	// contains filtered or unexported fields
}

func (*FakeBotEngine) Invocations

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

func (*FakeBotEngine) Run

func (fake *FakeBotEngine) Run(arg1 context.Context) <-chan types.Direction

func (*FakeBotEngine) RunArgsForCall

func (fake *FakeBotEngine) RunArgsForCall(i int) context.Context

func (*FakeBotEngine) RunCallCount

func (fake *FakeBotEngine) RunCallCount() int

func (*FakeBotEngine) RunCalls

func (fake *FakeBotEngine) RunCalls(stub func(context.Context) <-chan types.Direction)

func (*FakeBotEngine) RunReturns

func (fake *FakeBotEngine) RunReturns(result1 <-chan types.Direction)

func (*FakeBotEngine) RunReturnsOnCall

func (fake *FakeBotEngine) RunReturnsOnCall(i int, result1 <-chan types.Direction)

type FakeBotOperator

type FakeBotOperator struct {
	RunStub func(context.Context)

	StopStub func()
	// contains filtered or unexported fields
}

func (*FakeBotOperator) Invocations

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

func (*FakeBotOperator) Run

func (fake *FakeBotOperator) Run(arg1 context.Context)

func (*FakeBotOperator) RunArgsForCall

func (fake *FakeBotOperator) RunArgsForCall(i int) context.Context

func (*FakeBotOperator) RunCallCount

func (fake *FakeBotOperator) RunCallCount() int

func (*FakeBotOperator) RunCalls

func (fake *FakeBotOperator) RunCalls(stub func(context.Context))

func (*FakeBotOperator) Stop

func (fake *FakeBotOperator) Stop()

func (*FakeBotOperator) StopCallCount

func (fake *FakeBotOperator) StopCallCount() int

func (*FakeBotOperator) StopCalls

func (fake *FakeBotOperator) StopCalls(stub func())

type FakeBotOperatorFactory

type FakeBotOperatorFactory struct {
	NewStub func(int) core.BotOperator
	// contains filtered or unexported fields
}

func (*FakeBotOperatorFactory) Invocations

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

func (*FakeBotOperatorFactory) New

func (fake *FakeBotOperatorFactory) New(arg1 int) core.BotOperator

func (*FakeBotOperatorFactory) NewArgsForCall

func (fake *FakeBotOperatorFactory) NewArgsForCall(i int) int

func (*FakeBotOperatorFactory) NewCallCount

func (fake *FakeBotOperatorFactory) NewCallCount() int

func (*FakeBotOperatorFactory) NewCalls

func (fake *FakeBotOperatorFactory) NewCalls(stub func(int) core.BotOperator)

func (*FakeBotOperatorFactory) NewReturns

func (fake *FakeBotOperatorFactory) NewReturns(result1 core.BotOperator)

func (*FakeBotOperatorFactory) NewReturnsOnCall

func (fake *FakeBotOperatorFactory) NewReturnsOnCall(i int, result1 core.BotOperator)

type FakeConnector

type FakeConnector struct {
	ConnectStub func(context.Context, int) (connect.Connection, error)
	// contains filtered or unexported fields
}

func (*FakeConnector) Connect

func (fake *FakeConnector) Connect(arg1 context.Context, arg2 int) (connect.Connection, error)

func (*FakeConnector) ConnectArgsForCall

func (fake *FakeConnector) ConnectArgsForCall(i int) (context.Context, int)

func (*FakeConnector) ConnectCallCount

func (fake *FakeConnector) ConnectCallCount() int

func (*FakeConnector) ConnectCalls

func (fake *FakeConnector) ConnectCalls(stub func(context.Context, int) (connect.Connection, error))

func (*FakeConnector) ConnectReturns

func (fake *FakeConnector) ConnectReturns(result1 connect.Connection, result2 error)

func (*FakeConnector) ConnectReturnsOnCall

func (fake *FakeConnector) ConnectReturnsOnCall(i int, result1 connect.Connection, result2 error)

func (*FakeConnector) Invocations

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

type FakeParser

type FakeParser struct {
	ParseStub func([]byte) error
	// contains filtered or unexported fields
}

func (*FakeParser) Invocations

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

func (*FakeParser) Parse

func (fake *FakeParser) Parse(arg1 []byte) error

func (*FakeParser) ParseArgsForCall

func (fake *FakeParser) ParseArgsForCall(i int) []byte

func (*FakeParser) ParseCallCount

func (fake *FakeParser) ParseCallCount() int

func (*FakeParser) ParseCalls

func (fake *FakeParser) ParseCalls(stub func([]byte) error)

func (*FakeParser) ParseReturns

func (fake *FakeParser) ParseReturns(result1 error)

func (*FakeParser) ParseReturnsOnCall

func (fake *FakeParser) ParseReturnsOnCall(i int, result1 error)

type FakeRand

type FakeRand struct {
	IntnStub func(int) int
	// contains filtered or unexported fields
}

func (*FakeRand) Intn

func (fake *FakeRand) Intn(arg1 int) int

func (*FakeRand) IntnArgsForCall

func (fake *FakeRand) IntnArgsForCall(i int) int

func (*FakeRand) IntnCallCount

func (fake *FakeRand) IntnCallCount() int

func (*FakeRand) IntnCalls

func (fake *FakeRand) IntnCalls(stub func(int) int)

func (*FakeRand) IntnReturns

func (fake *FakeRand) IntnReturns(result1 int)

func (*FakeRand) IntnReturnsOnCall

func (fake *FakeRand) IntnReturnsOnCall(i int, result1 int)

func (*FakeRand) Invocations

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

Jump to

Keyboard shortcuts

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