package
0.8.0
Repository: https://github.com/runfinch/common-tests.git
Documentation: pkg.go.dev

# Functions

Build command building an image.
BuilderPrune tests the "builder prune" command that prunes the builder cache.
CleanupLocalRegistry removes the local registry container and image.
ComposeBuild tests functionality of `compose build` command.
ComposeDown tests functionality of `compose down` command.
ComposeKill tests functionality of `compose` command.
ComposeLogs tests functionality of `compose logs` command.
ComposePs tests functionality of `compose ps` command.
ComposePull tests functionality of `compose pull` command.
Cp tests `finch cp` command to copy files between container and host filesystems.
Create tests creating a container.
Events tests "events" command that gets real time events from server, synonyms to "system events" command.
Exec tests executing a command in a running container.
ImageHistory tests "image history" command that shows the history of an image.
ImageInspect tests "image inspect" command that displays detailed information on one or more images.
ImagePrune tests "image prune" command that removes unused images.
Images tests functionality of `images` command that lists container images.
Info tests "info" command that displays system-wide information, synonyms to "system info" command.
Inspect tests displaying the detailed information of image or container.
Kill tests killing a running container.
Load tests loading images from tar file or stdin.
Login tests logging in a container registry.
Logout tests logging out a container registry.
Logs tests fetching logs of a container.
NetworkCreate tests the "network create" command that creates a network.
NetworkInspect tests the "network inspect" command that displays detailed information on one or more networks.
NetworkLs tests the "network ls" command that list networks.
NetworkRm tests the "network rm" command that removes one or more networks.
Port tests listing port mappings or a specific mapping for a container.
Ps tests functionality of `ps` command.
Pull tests pulling a container image.
Push tests pushing an image to a registry.
Restart tests "restart" command that will restart one or more running containers.
Rm tests removing a container.
Rmi tests removing a container image.
Run tests running a container image.
Save tests saving an image to a tar archive.
SetupLocalRegistry can be invoked before running the tests to save time when pulling images during tests.
Start tests starting a container.
Stats tests displaying container resource usage statistics.
Stop tests stopping a container.
Tag tests tagging a container image.
VolumeCreate tests "volume create" command that creates a volume.
VolumeInspect tests "volume inspect" command that displays detailed information on one or more volumes.
VolumeLs tests "volume ls" command that lists volumes.
VolumePrune tests "volume prune" command that removes all unused volumes.
VolumeRm tests "volume rm" command that removes one or more volumes.

# Constants

Hybrid with cgroups v1 and v2 controllers mounted.
Legacy cgroups v1.
Unavailable cgroup mountpoint.
Unified with only cgroups v2 mounted.

# Structs

MountJSON is used to parse the json from the command images inspect --format "{{json .Mounts}}".
RunOption is the custom option to run tests in run.go.

# Type aliases

CGMode is the cgroups mode of the host system.