orchestrator

package
v0.0.15 Latest Latest
Warning

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

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

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

func BuildEnvVars(cfg *config.Config, paths *config.Paths) (map[string]string, error)

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.

Jump to

Keyboard shortcuts

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