Documentation ¶
Index ¶
- type FakeHandler
- func (h *FakeHandler) KeepOnRunning()
- func (h *FakeHandler) RegisterAdditionalFunc(handlerFunc boshhandler.Func)
- func (h *FakeHandler) Run(handlerFunc boshhandler.Func) error
- func (h *FakeHandler) Send(target boshhandler.Target, topic boshhandler.Topic, message interface{}) error
- func (h *FakeHandler) SendInputs() []SendInput
- func (h *FakeHandler) Start(handlerFunc boshhandler.Func) error
- func (h *FakeHandler) Stop()
- type SendInput
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{} }
Click to show internal directories.
Click to hide internal directories.