Documentation
¶
Index ¶
- Constants
- Variables
- func Bundle(_ map[string]string) compiler.Bundle
- func ResolveInput(ctx context.Context, fields map[string]any) (map[string]any, error)
- func WithInvocation(ctx context.Context, command string, explicitPack bool, _ string) context.Context
- func WithRemoteSession(ctx context.Context) (context.Context, func() error)
Constants ¶
View Source
const (
ID = "srcpack_pack"
)
Variables ¶
View Source
var FS embed.FS
Functions ¶
func ResolveInput ¶
ResolveInput accepts only typed fields produced by tcli (or a test adapter); it never interprets raw argv.
func WithInvocation ¶
func WithRemoteSession ¶
WithRemoteSession scopes downloaded source trees to one runner invocation. The host must defer the returned cleanup on both success and failure. Keeping this in the host also covers errors in downstream parsing/rendering.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.