fakes

package
v2.929.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeHandler

type FakeHandler struct {
	RunFunc     boshhandler.Func
	RunCallBack func()
	RunErr      error

	ReceivedRun   bool
	ReceivedStart bool
	ReceivedStop  bool

	RegisteredAdditionalFunc boshhandler.Func

	SendCallback func(SendInput)
	SendErr      error
	// contains filtered or unexported fields
}

func NewFakeHandler

func NewFakeHandler() *FakeHandler

func (*FakeHandler) KeepOnRunning

func (h *FakeHandler) KeepOnRunning()

func (*FakeHandler) RegisterAdditionalFunc

func (h *FakeHandler) RegisterAdditionalFunc(handlerFunc boshhandler.Func)

func (*FakeHandler) Run

func (h *FakeHandler) Run(handlerFunc boshhandler.Func) error

func (*FakeHandler) Send

func (h *FakeHandler) Send(target boshhandler.Target, topic boshhandler.Topic, message interface{}) error

func (*FakeHandler) SendInputs

func (h *FakeHandler) SendInputs() []SendInput

func (*FakeHandler) Start

func (h *FakeHandler) Start(handlerFunc boshhandler.Func) error

func (*FakeHandler) Stop

func (h *FakeHandler) Stop()

type SendInput

type SendInput struct {
	Target  boshhandler.Target
	Topic   boshhandler.Topic
	Message interface{}
}

Jump to

Keyboard shortcuts

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