Documentation
¶
Overview ¶
Package docker holds the local docker-compose shell-out primitives the stack / project / migrate commands drive. Seams (RunComposeFn / RunComposeEnvFn) let tests stub the shell-out.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CaptureComposeFn = realCaptureCompose
CaptureComposeFn is the seam tests stub; production runs realCaptureCompose. It captures a compose subcommand's stdout (e.g. `ps --format json`) for programmatic inspection rather than streaming it to the terminal. Stderr is discarded — callers treat any error as "no data" and degrade gracefully.
View Source
var RunComposeEnvFn = realRunComposeEnv
RunComposeEnvFn is the seam tests stub; production runs realRunComposeEnv.
View Source
var RunComposeFn = realRunCompose
RunComposeFn is the seam tests stub; production runs realRunCompose.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.