Versions in this module Expand all Collapse all v1 v1.0.0 Oct 28, 2020 Changes in this version + func Build(t testing.TestingT, path string, options *BuildOptions) + func BuildE(t testing.TestingT, path string, options *BuildOptions) error + func GetDockerHost() string + func Run(t testing.TestingT, image string, options *RunOptions) string + func RunAndGetID(t testing.TestingT, image string, options *RunOptions) string + func RunAndGetIDE(t testing.TestingT, image string, options *RunOptions) (string, error) + func RunDockerCompose(t testing.TestingT, options *Options, args ...string) string + func RunDockerComposeAndGetStdOut(t testing.TestingT, options *Options, args ...string) string + func RunDockerComposeE(t testing.TestingT, options *Options, args ...string) (string, error) + func RunE(t testing.TestingT, image string, options *RunOptions) (string, error) + func Stop(t testing.TestingT, containers []string, options *StopOptions) string + func StopE(t testing.TestingT, containers []string, options *StopOptions) (string, error) + type BuildOptions struct + BuildArgs []string + Logger *logger.Logger + OtherOptions []string + Tags []string + type ContainerInspect struct + Binds []VolumeBind + Created time.Time + Error string + ExitCode uint8 + Health HealthCheck + ID string + Name string + Ports []Port + Running bool + Status string + func Inspect(t *testing.T, id string) *ContainerInspect + func InspectE(t *testing.T, id string) (*ContainerInspect, error) + type HealthCheck struct + FailingStreak uint8 + Log []HealthLog + Status string + type HealthLog struct + End string + ExitCode uint8 + Output string + Start string + type Options struct + EnvVars map[string]string + Logger *logger.Logger + WorkingDir string + type Port struct + ContainerPort uint16 + HostPort uint16 + Protocol string + type RunOptions struct + Command []string + Detach bool + Entrypoint string + EnvironmentVariables []string + Init bool + Logger *logger.Logger + Name string + OtherOptions []string + Privileged bool + Remove bool + Tty bool + User string + Volumes []string + type StopOptions struct + Logger *logger.Logger + Time int + type VolumeBind struct + Destination string + Source string