inproc

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package inproc provides an in-process node.Factory: each node executes tools on the calling goroutine, resolving them from a shared registry and confining each call through the deployment's policy decision point. It is the execution substrate for both the single-binary control plane and the `dispatch work` consumer that Kubernetes or serverless containers scale out.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

Factory creates in-process nodes over a shared tool registry and workspace backend.

func NewFactory

func NewFactory(registry *tool.Registry, ws workspace.Workspace) *Factory

NewFactory returns a factory whose nodes resolve tools from registry and reach ws only through the deployment's policy decisions.

func (*Factory) New

func (f *Factory) New(_ context.Context, spec node.Spec) (node.Node, error)

New implements node.Factory.

Jump to

Keyboard shortcuts

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