Versions in this module Expand all Collapse all v0 v0.1.0 Feb 26, 2026 Changes in this version + var ErrImageNotAllowed = errors.New("runner: image not in allowlist") + var ErrNotImplemented = errors.New("runner: not implemented") + var ErrSkillNotFound = errors.New("runner: skill not found") + var ErrTimeout = errors.New("runner: execution timed out") + func CleanupOrphans(ctx context.Context, docker *client.Client) error + func ParseCPULimit(limit string) (int64, error) + func ParseMemoryLimit(limit string) (int64, error) + func ValidateImage(image string, allowlist []string) error + type RunRequest struct + Env map[string]string + Input json.RawMessage + Skill string + TenantID string + Version string + type RunResult struct + DurationMs int64 + Error *string + ExecutionID string + FilesList []string + FilesURL string + Logs string + Output json.RawMessage + Status string + type Runner struct + func New(cfg *config.Config, docker *client.Client, reg *registry.Registry, ...) *Runner + func (r *Runner) Run(ctx context.Context, req RunRequest) (result *RunResult, err error)