plugintest

package
v1.14.0 Latest Latest
Warning

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

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

Documentation

Overview

Package plugintest runs the real example_a2a_repeater service plugin under a service plugin Host for end-to-end tests outside internal/services/plugin.

Index

Constants

View Source
const RepeaterKey = "example_a2a_repeater"

RepeaterKey is the service key of example_a2a_repeater.

Variables

This section is empty.

Functions

func StartRepeater

func StartRepeater(t *testing.T) *serviceplugin.Host

StartRepeater builds plugins/service/example_a2a_repeater, runs it under a fresh host (stopped on cleanup) and returns the host once it is running. Skipped with -short.

func Transport

func Transport(h *serviceplugin.Host) func(string) (http.RoundTripper, error)

Transport is the pluginremote transport of h's services.

Types

This section is empty.

Jump to

Keyboard shortcuts

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