Documentation ¶
Index ¶
- Variables
- func MakeInvocation(ctx context.Context, env cfg.Context, planner runtime.Planner, r *Definition, ...) (compute.Computable[*protocol.ToolResponse], error)
- func MakeInvocationNoInjections(ctx context.Context, env cfg.Context, r *Definition, props InvokeProps) (compute.Computable[*protocol.ToolResponse], error)
- func RegisterInjection[V proto.Message](name string, ...)
- type Definition
- type InvokeProps
- type Source
Constants ¶
This section is empty.
Variables ¶
View Source
var InvocationDebug = false
Functions ¶
func MakeInvocation ¶
func MakeInvocation(ctx context.Context, env cfg.Context, planner runtime.Planner, r *Definition, stack *schema.Stack, focus schema.PackageName, props InvokeProps) (compute.Computable[*protocol.ToolResponse], error)
func MakeInvocationNoInjections ¶ added in v0.0.103
func MakeInvocationNoInjections(ctx context.Context, env cfg.Context, r *Definition, props InvokeProps) (compute.Computable[*protocol.ToolResponse], error)
Types ¶
type Definition ¶
type Definition struct { TargetServer schema.PackageName Source Source // Where the invocation was declared. Invocation *invocation.Invocation }
type Source ¶
type Source struct { PackageName schema.PackageName DeclaredStack []schema.PackageName // Handlers can only configure servers that were configured by the source. }
Click to show internal directories.
Click to hide internal directories.