fakes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 2 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 Event

type Event struct {
	MessageStub func() interface{}

	TopicStub func() string
	// contains filtered or unexported fields
}

func (*Event) Invocations

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

func (*Event) Message

func (fake *Event) Message() interface{}

func (*Event) MessageCallCount

func (fake *Event) MessageCallCount() int

func (*Event) MessageCalls

func (fake *Event) MessageCalls(stub func() interface{})

func (*Event) MessageReturns

func (fake *Event) MessageReturns(result1 interface{})

func (*Event) MessageReturnsOnCall

func (fake *Event) MessageReturnsOnCall(i int, result1 interface{})

func (*Event) Topic

func (fake *Event) Topic() string

func (*Event) TopicCallCount

func (fake *Event) TopicCallCount() int

func (*Event) TopicCalls

func (fake *Event) TopicCalls(stub func() string)

func (*Event) TopicReturns

func (fake *Event) TopicReturns(result1 string)

func (*Event) TopicReturnsOnCall

func (fake *Event) TopicReturnsOnCall(i int, result1 string)

type Listener

type Listener struct {
	OnReceiveStub func(events.Event)
	// contains filtered or unexported fields
}

func (*Listener) Invocations

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

func (*Listener) OnReceive

func (fake *Listener) OnReceive(arg1 events.Event)

func (*Listener) OnReceiveArgsForCall

func (fake *Listener) OnReceiveArgsForCall(i int) events.Event

func (*Listener) OnReceiveCallCount

func (fake *Listener) OnReceiveCallCount() int

func (*Listener) OnReceiveCalls

func (fake *Listener) OnReceiveCalls(stub func(events.Event))

Jump to

Keyboard shortcuts

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