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.
Click to show internal directories.
Click to hide internal directories.