Versions in this module Expand all Collapse all v0 v0.6.0 Dec 4, 2026 v0.5.0 Dec 2, 2026 Changes in this version + var FramesContract = plugin.ContractRef + var FramesHostRef = plugin.ContractRef + func Descriptor() plugin.Descriptor + func FramesDescriptor() plugin.Descriptor + func FramesGuest() (*plugin.Guest, error) + func Guest() (*plugin.Guest, error) + func RegistryCasesPath() (string, error) + func Run(t *testing.T, factory Factory) + func RunFrames(t *testing.T, factory Factory, opts FramesOptions) + func RunFramesWithHost(t *testing.T, factory Factory, openHost OpenFramesHost, opts FramesOptions) + func RunRegistryCases(t *testing.T, cases RegistryCases, open func(t *testing.T) RegistryHost) + func RunWithHost(t *testing.T, factory Factory, openHost OpenHost) + type Factory func(context.Context) (plugin.Backend, error) + type FramesHost interface + Abort func() error + Call func(context.Context, plugin.ContractRef, string, json.RawMessage) (json.RawMessage, error) + CallProgress func(context.Context, plugin.ContractRef, string, json.RawMessage, ...) (json.RawMessage, error) + State func() plugin.State + type FramesOptions struct + Concurrent bool + type Host interface + Abort func() error + Call func(context.Context, plugin.ContractRef, string, json.RawMessage) (json.RawMessage, error) + Close func(context.Context) error + State func() plugin.State + type OpenFramesHost func(context.Context, plugin.Descriptor, plugin.Options) (FramesHost, error) + type OpenHost func(context.Context, plugin.Descriptor, plugin.Options) (Host, error) + type RegistryCase struct + ForwardDeny []string + Name string + ReverseDeny []string + Steps []RegistryStep + type RegistryCases struct + Cases []RegistryCase + Edges []RegistryEdge + Guest struct{ ... } + Guests map[string]string + func ReadRegistryCases(path string) (RegistryCases, error) + func (c RegistryCases) Contract(name string) plugin.ContractRef + func (c RegistryCases) RelayDescriptor(name string) plugin.Descriptor + func (c RegistryCases) RelayGuest(name string) (*plugin.Guest, error) + type RegistryEdge struct + From RegistryEdgeEnd + To RegistryEdgeEnd + type RegistryEdgeEnd struct + Name string + Operation string + Version string + func (e RegistryEdgeEnd) Ref() plugin.ContractRef + type RegistryHost interface + Call func(ctx context.Context, name string, contract plugin.ContractRef, ...) (json.RawMessage, error) + Close func() + Open func(name string, contract plugin.ContractRef, denyForward, denyReverse bool) error + Route func(RegistryEdge) error + Unregister func(contract plugin.ContractRef) error + type RegistryStep struct + Call string + Operation string + Payload json.RawMessage + Result json.RawMessage + ResultError []string + TimeoutMs int + Unregister string