fakes

package
v0.1442.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 FakeHub

type FakeHub struct {
	CloseStub func() error

	EmitStub func(executor.Event)

	SubscribeStub func() (executor.EventSource, error)
	// contains filtered or unexported fields
}

func (*FakeHub) Close

func (fake *FakeHub) Close() error

func (*FakeHub) CloseCallCount

func (fake *FakeHub) CloseCallCount() int

func (*FakeHub) CloseCalls added in v0.1442.0

func (fake *FakeHub) CloseCalls(stub func() error)

func (*FakeHub) CloseReturns

func (fake *FakeHub) CloseReturns(result1 error)

func (*FakeHub) CloseReturnsOnCall added in v0.1442.0

func (fake *FakeHub) CloseReturnsOnCall(i int, result1 error)

func (*FakeHub) Emit

func (fake *FakeHub) Emit(arg1 executor.Event)

func (*FakeHub) EmitArgsForCall

func (fake *FakeHub) EmitArgsForCall(i int) executor.Event

func (*FakeHub) EmitCallCount

func (fake *FakeHub) EmitCallCount() int

func (*FakeHub) EmitCalls added in v0.1442.0

func (fake *FakeHub) EmitCalls(stub func(executor.Event))

func (*FakeHub) Invocations added in v0.1442.0

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

func (*FakeHub) Subscribe

func (fake *FakeHub) Subscribe() (executor.EventSource, error)

func (*FakeHub) SubscribeCallCount

func (fake *FakeHub) SubscribeCallCount() int

func (*FakeHub) SubscribeCalls added in v0.1442.0

func (fake *FakeHub) SubscribeCalls(stub func() (executor.EventSource, error))

func (*FakeHub) SubscribeReturns

func (fake *FakeHub) SubscribeReturns(result1 executor.EventSource, result2 error)

func (*FakeHub) SubscribeReturnsOnCall added in v0.1442.0

func (fake *FakeHub) SubscribeReturnsOnCall(i int, result1 executor.EventSource, result2 error)

Jump to

Keyboard shortcuts

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