Documentation
¶
Overview ¶
Package docker runs shell snippets inside the local database containers, where the dump/restore tools already ship with a client version matching the local server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sh ¶
Sh builds `docker exec [-i] -e NAME... <container> sh -c <script>`. Values travel in the docker client's own environment; only the variable names appear on argv, so secrets are never visible in `ps` of the docker command. Scripts must reference values as "$NAME".
func SplitLines ¶ added in v0.2.0
SplitLines returns the non-empty lines of out minus those in skip, sorted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.