emitterfakes

package
v1.71.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 FakeEmitterInterface

type FakeEmitterInterface struct {
	EmitStub func(string, ...interface{}) chan struct{}

	ListenersStub func(string) []<-chan emittera.Event

	OffStub func(string, ...<-chan emittera.Event)

	OnStub func(string, ...func(*emittera.Event)) <-chan emittera.Event
	// contains filtered or unexported fields
}

func (*FakeEmitterInterface) Emit

func (fake *FakeEmitterInterface) Emit(arg1 string, arg2 ...interface{}) chan struct{}

func (*FakeEmitterInterface) EmitArgsForCall

func (fake *FakeEmitterInterface) EmitArgsForCall(i int) (string, []interface{})

func (*FakeEmitterInterface) EmitCallCount

func (fake *FakeEmitterInterface) EmitCallCount() int

func (*FakeEmitterInterface) EmitCalls

func (fake *FakeEmitterInterface) EmitCalls(stub func(string, ...interface{}) chan struct{})

func (*FakeEmitterInterface) EmitReturns

func (fake *FakeEmitterInterface) EmitReturns(result1 chan struct{})

func (*FakeEmitterInterface) EmitReturnsOnCall

func (fake *FakeEmitterInterface) EmitReturnsOnCall(i int, result1 chan struct{})

func (*FakeEmitterInterface) Invocations

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

func (*FakeEmitterInterface) Listeners

func (fake *FakeEmitterInterface) Listeners(arg1 string) []<-chan emittera.Event

func (*FakeEmitterInterface) ListenersArgsForCall

func (fake *FakeEmitterInterface) ListenersArgsForCall(i int) string

func (*FakeEmitterInterface) ListenersCallCount

func (fake *FakeEmitterInterface) ListenersCallCount() int

func (*FakeEmitterInterface) ListenersCalls

func (fake *FakeEmitterInterface) ListenersCalls(stub func(string) []<-chan emittera.Event)

func (*FakeEmitterInterface) ListenersReturns

func (fake *FakeEmitterInterface) ListenersReturns(result1 []<-chan emittera.Event)

func (*FakeEmitterInterface) ListenersReturnsOnCall

func (fake *FakeEmitterInterface) ListenersReturnsOnCall(i int, result1 []<-chan emittera.Event)

func (*FakeEmitterInterface) Off

func (fake *FakeEmitterInterface) Off(arg1 string, arg2 ...<-chan emittera.Event)

func (*FakeEmitterInterface) OffArgsForCall

func (fake *FakeEmitterInterface) OffArgsForCall(i int) (string, []<-chan emittera.Event)

func (*FakeEmitterInterface) OffCallCount

func (fake *FakeEmitterInterface) OffCallCount() int

func (*FakeEmitterInterface) OffCalls

func (fake *FakeEmitterInterface) OffCalls(stub func(string, ...<-chan emittera.Event))

func (*FakeEmitterInterface) On

func (fake *FakeEmitterInterface) On(arg1 string, arg2 ...func(*emittera.Event)) <-chan emittera.Event

func (*FakeEmitterInterface) OnArgsForCall

func (fake *FakeEmitterInterface) OnArgsForCall(i int) (string, []func(*emittera.Event))

func (*FakeEmitterInterface) OnCallCount

func (fake *FakeEmitterInterface) OnCallCount() int

func (*FakeEmitterInterface) OnCalls

func (fake *FakeEmitterInterface) OnCalls(stub func(string, ...func(*emittera.Event)) <-chan emittera.Event)

func (*FakeEmitterInterface) OnReturns

func (fake *FakeEmitterInterface) OnReturns(result1 <-chan emittera.Event)

func (*FakeEmitterInterface) OnReturnsOnCall

func (fake *FakeEmitterInterface) OnReturnsOnCall(i int, result1 <-chan emittera.Event)

Jump to

Keyboard shortcuts

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