Documentation
¶
Overview ¶
Package autoflowz contains test helpers that emulate an AutoFlow module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteEcho ¶
type RemoteEcho struct {
TB testing.TB
RegistryClient autoflow_rpc.ModuleRegistryClient
APIClient autoflow_rpc.ModuleAPIClient
}
RemoteEcho is a mock AutoFlow module that registers a "version" variable and an "echo_input" action that echoes its input back. It is used both by the integration tests and by the run-local command test. The module name is determined by the transport/routing the supplied clients use, so RemoteEcho itself is module-name-agnostic.
func (*RemoteEcho) Run ¶
func (e *RemoteEcho) Run(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.