Documentation
¶
Overview ¶
Package orchestrator provides shared container lifecycle logic used by both the CLI commands and the MCP server tool handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildEnvVars ¶
BuildEnvVars constructs all container environment variables from config. These mirror the Helm deployment.yaml env section.
func BuildRunOptions ¶
func BuildRunOptions(cfg *config.Config, paths *config.Paths, containerName, image, personalityDir string) (runtime.RunOptions, error)
BuildRunOptions constructs the container runtime options from config. This mirrors the Helm deployment.yaml template, producing the same env vars and volume mounts. personalityDir is the local path to the resolved personality (empty when no personality is configured).
func BuildVolumes ¶
func BuildVolumes(cfg *config.Config, paths *config.Paths, env map[string]string, personalityDir string) []runtime.Volume
BuildVolumes constructs the container volume mounts and sets related env vars. The env map is mutated to add mount-dependent env vars (CLAUDE_WORKSPACE, etc.). personalityDir is the local path to the resolved personality (empty when none).
Types ¶
This section is empty.