internal/

directory
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0

Directories

Path Synopsis
Package app holds mutti's use cases (up, down, list, ...).
Package app holds mutti's use cases (up, down, list, ...).
Package apptest builds an app.App on fakes over a real git repository, for the tests of the packages that serve the app: command line, MCP, HTTP.
Package apptest builds an app.App on fakes over a real git repository, for the tests of the packages that serve the app: command line, MCP, HTTP.
Package cli maps mutti's commands and flags onto the use cases in app and renders their results.
Package cli maps mutti's commands and flags onto the use cases in app and renders their results.
Package compose runs the user's installed `docker compose` CLI.
Package compose runs the user's installed `docker compose` CLI.
composetest
Package composetest provides a compose.Runner that simulates `docker compose` on top of the in-memory engine from enginetest.
Package composetest provides a compose.Runner that simulates `docker compose` on top of the in-memory engine from enginetest.
Package docgen generates the reference documentation from the code, so it cannot drift: the CLI reference from the cobra commands, and the x-mutti reference and JSON Schemas from the configuration structs and their comments.
Package docgen generates the reference documentation from the code, so it cannot drift: the CLI reference from the cobra commands, and the x-mutti reference and JSON Schemas from the configuration structs and their comments.
Package engine is mutti's narrow view of the Docker Engine API.
Package engine is mutti's narrow view of the Docker Engine API.
enginetest
Package enginetest provides an in-memory engine.Engine and a contract suite that keeps it honest: the same suite runs against the fake and against a real daemon.
Package enginetest provides an in-memory engine.Engine and a contract suite that keeps it honest: the same suite runs against the fake and against a real daemon.
Package extend finds the extensions a project or user adds to mutti without changing it: custom commands in .mutti/commands.
Package extend finds the extensions a project or user adds to mutti without changing it: custom commands in .mutti/commands.
Package gitdir asks the installed git binary where a worktree and its admin directories are.
Package gitdir asks the installed git binary where a worktree and its admin directories are.
Package home resolves ~/.mutti, the directory mutti keeps its own files in: the local CA, the router's configuration, locks and the user's own commands.
Package home resolves ~/.mutti, the directory mutti keeps its own files in: the local CA, the router's configuration, locks and the user's own commands.
Package hostenv tells whether mutti runs inside a container and maps paths of that container to paths on the Docker host, which is what the daemon needs for bind mounts.
Package hostenv tells whether mutti runs inside a container and maps paths of that container to paths on the Docker host, which is what the daemon needs for bind mounts.
Package identity derives, stores and validates instance names.
Package identity derives, stores and validates instance names.
Package lock provides host-wide, cross-process locks backed by flock(2).
Package lock provides host-wide, cross-process locks backed by flock(2).
Package mcpserver offers mutti's use cases as tools of a Model Context Protocol server, for AI coding agents: start and inspect environments, run commands and tests in them.
Package mcpserver offers mutti's use cases as tools of a Model Context Protocol server, for AI coding agents: start and inspect environments, run commands and tests in them.
Package project finds a project's Compose files and reads its x-mutti configuration.
Package project finds a project's Compose files and reads its x-mutti configuration.
Package reaper talks to Ryuk, the Testcontainers resource reaper: a container that removes everything matching the filters it was given once its client's connection is gone.
Package reaper talks to Ryuk, the Testcontainers resource reaper: a container that removes everything matching the filters it was given once its client's connection is gone.
Package router describes mutti's machine-wide reverse proxy: one Traefik container that owns the HTTP(S) ports on loopback and routes hostnames to instances.
Package router describes mutti's machine-wide reverse proxy: one Traefik container that owns the HTTP(S) ports on loopback and routes hostnames to instances.
Package server serves mutti over HTTP on the loopback interface: a web UI, a JSON API with the envelopes of --json, server-sent events, and the MCP server for agents that speak HTTP.
Package server serves mutti over HTTP on the loopback interface: a web UI, a JSON API with the envelopes of --json, server-sent events, and the MCP server for agents that speak HTTP.
Package tlsca runs mutti's local certificate authority: one root per machine, one leaf certificate per instance.
Package tlsca runs mutti's local certificate authority: one root per machine, one leaf certificate per instance.
Package tui is mutti's terminal UI: every instance at a glance, its services, what is wrong with them, and every mutti command a key or a short search away.
Package tui is mutti's terminal UI: every instance at a glance, its services, what is wrong with them, and every mutti command a key or a short search away.

Jump to

Keyboard shortcuts

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