autoflowz

package
v19.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 9 Imported by: 0

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)

Jump to

Keyboard shortcuts

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