package
0.3.0
Repository: https://github.com/ygrebnov/testutils.git
Documentation: pkg.go.dev

# Functions

CreateContainer creates a new Docker container and returns its id.
CreateStartContainer creates a new Docker container and starts it.
ExecCommand executes given shell command in Docker container.
NewContainer creates a new [Container] object.
NewContainerWithOptions creates a new [Container] object with optional attributes values specified.
NewDatabaseContainer creates a new [DatabaseContainer] object.
NewDatabaseContainerWithOptions creates a new [DatabaseContainer] object with optional attributes values specified.
PullImage pulls a Docker image with the given name.
RemoveContainer removes Docker container.
StartContainer starts Docker container.
StopContainer stops Docker container.
StopRemoveContainer stops and removes Docker container.

# Structs

Database holds database metadata.
Options holds container optional attributes values which can be set on new container object creation.

# Interfaces

Container defines container methods.
DatabaseContainer extends [Container] interface with database interaction methods.