channels

package
v0.246.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 3 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 FakeChannel

type FakeChannel struct {
	NameStub func() string

	SendStub func(context.Context, channels.OutboundMessage) error

	StartStub func(context.Context, chan<- channels.InboundMessage) error

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

func (*FakeChannel) CallOrder added in v0.246.1

func (fake *FakeChannel) CallOrder() []string

func (*FakeChannel) Invocations

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

func (*FakeChannel) Name

func (fake *FakeChannel) Name() string

func (*FakeChannel) NameCallCount

func (fake *FakeChannel) NameCallCount() int

func (*FakeChannel) NameCalls

func (fake *FakeChannel) NameCalls(stub func() string)

func (*FakeChannel) NameReturns

func (fake *FakeChannel) NameReturns(result1 string)

func (*FakeChannel) NameReturnsOnCall

func (fake *FakeChannel) NameReturnsOnCall(i int, result1 string)

func (*FakeChannel) Send

func (fake *FakeChannel) Send(arg1 context.Context, arg2 channels.OutboundMessage) error

func (*FakeChannel) SendArgs added in v0.246.1

func (fake *FakeChannel) SendArgs() []FakeChannelSendArgs

func (*FakeChannel) SendArgsForCall

func (fake *FakeChannel) SendArgsForCall(i int) (context.Context, channels.OutboundMessage)

func (*FakeChannel) SendCallCount

func (fake *FakeChannel) SendCallCount() int

func (*FakeChannel) SendCalls

func (fake *FakeChannel) SendCalls(stub func(context.Context, channels.OutboundMessage) error)

func (*FakeChannel) SendReturns

func (fake *FakeChannel) SendReturns(result1 error)

func (*FakeChannel) SendReturnsOnCall

func (fake *FakeChannel) SendReturnsOnCall(i int, result1 error)

func (*FakeChannel) Start

func (fake *FakeChannel) Start(arg1 context.Context, arg2 chan<- channels.InboundMessage) error

func (*FakeChannel) StartArgs added in v0.246.1

func (fake *FakeChannel) StartArgs() []FakeChannelStartArgs

func (*FakeChannel) StartArgsForCall

func (fake *FakeChannel) StartArgsForCall(i int) (context.Context, chan<- channels.InboundMessage)

func (*FakeChannel) StartCallCount

func (fake *FakeChannel) StartCallCount() int

func (*FakeChannel) StartCalls

func (fake *FakeChannel) StartCalls(stub func(context.Context, chan<- channels.InboundMessage) error)

func (*FakeChannel) StartReturns

func (fake *FakeChannel) StartReturns(result1 error)

func (*FakeChannel) StartReturnsOnCall

func (fake *FakeChannel) StartReturnsOnCall(i int, result1 error)

func (*FakeChannel) Stop

func (fake *FakeChannel) Stop() error

func (*FakeChannel) StopCallCount

func (fake *FakeChannel) StopCallCount() int

func (*FakeChannel) StopCalls

func (fake *FakeChannel) StopCalls(stub func() error)

func (*FakeChannel) StopReturns

func (fake *FakeChannel) StopReturns(result1 error)

func (*FakeChannel) StopReturnsOnCall

func (fake *FakeChannel) StopReturnsOnCall(i int, result1 error)

type FakeChannelSendArgs added in v0.246.1

type FakeChannelSendArgs struct {
	Arg1 context.Context
	Arg2 channels.OutboundMessage
}

FakeChannelSendArgs holds the arguments of one call to Send.

type FakeChannelStartArgs added in v0.246.1

type FakeChannelStartArgs struct {
	Arg1 context.Context
	Arg2 chan<- channels.InboundMessage
}

FakeChannelStartArgs holds the arguments of one call to Start.

type FakeHistoryCleaner

type FakeHistoryCleaner struct {
	ClearHistoryStub func(context.Context, string) error
	// contains filtered or unexported fields
}

func (*FakeHistoryCleaner) CallOrder added in v0.246.1

func (fake *FakeHistoryCleaner) CallOrder() []string

func (*FakeHistoryCleaner) ClearHistory

func (fake *FakeHistoryCleaner) ClearHistory(arg1 context.Context, arg2 string) error

func (*FakeHistoryCleaner) ClearHistoryArgs added in v0.246.1

func (fake *FakeHistoryCleaner) ClearHistoryArgs() []FakeHistoryCleanerClearHistoryArgs

func (*FakeHistoryCleaner) ClearHistoryArgsForCall

func (fake *FakeHistoryCleaner) ClearHistoryArgsForCall(i int) (context.Context, string)

func (*FakeHistoryCleaner) ClearHistoryCallCount

func (fake *FakeHistoryCleaner) ClearHistoryCallCount() int

func (*FakeHistoryCleaner) ClearHistoryCalls

func (fake *FakeHistoryCleaner) ClearHistoryCalls(stub func(context.Context, string) error)

func (*FakeHistoryCleaner) ClearHistoryReturns

func (fake *FakeHistoryCleaner) ClearHistoryReturns(result1 error)

func (*FakeHistoryCleaner) ClearHistoryReturnsOnCall

func (fake *FakeHistoryCleaner) ClearHistoryReturnsOnCall(i int, result1 error)

func (*FakeHistoryCleaner) Invocations

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

type FakeHistoryCleanerClearHistoryArgs added in v0.246.1

type FakeHistoryCleanerClearHistoryArgs struct {
	Arg1 context.Context
	Arg2 string
}

FakeHistoryCleanerClearHistoryArgs holds the arguments of one call to ClearHistory.

Jump to

Keyboard shortcuts

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