package
0.20.0
Repository: https://github.com/drud/ddev.git
Documentation: pkg.go.dev

# Functions

CaptureStdOut captures Stdout to a string.
CaptureUserOut captures output written to UserOut to a string.
Chdir will change to the directory for the site specified by TestSite.
CleanupDir removes a directory specified by string.
ClearDockerEnv unsets env vars set in platform DockerEnv() so that they can be set by another test run.
ContainerCheck determines if a given container name exists and matches a given state.
CreateTmpDir creates a temporary directory and returns its path as a string.
GetCachedArchive returns a directory populated with the contents of the specified archive, either from cache or from downloading and creating cache.
OsTempDir gets os.TempDir() (usually provided by $TMPDIR) but expands any symlinks found within it.
TimeTrack determines the amount of time a function takes to return.

# Structs

TestSite describes a site for testing, with name, URL of tarball, and optional dir.