Documentation
¶
Overview ¶
Package testdocker is a test's docker half of the setup: whether a daemon is reachable, and a tree in a volume. A package rather than a _test.go file because seven packages carried their own copies.
Index ¶
Constants ¶
View Source
const TreePath = "/steps/work"
TreePath is where Tree mounts the volume. Any container path serves; a step's own is shell.BuildDir, GetDir or PutDir.
Variables ¶
This section is empty.
Functions ¶
func ReadTree ¶ added in v0.4.0
ReadTree is rel's bytes and mode as the volume holds them: what a step's fetch would bring home.
Types ¶
type TreeVolume ¶ added in v0.4.0
TreeVolume is a seeded tree: Volumes goes in a RunnerSpec beside MountPath: TreePath. A struct so a package depguard keeps off dockerapi can hold one.
Click to show internal directories.
Click to hide internal directories.