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

# Functions

GetAllContainerIDs returns all container IDs.
GetAllImageIDs returns all image IDs.
GetAllImageNames returns all image names.
GetAllNetworkNames returns all network names.
GetAllVolumeNames returns all volume names.
New creates a command with the default configuration.
RemoveAll removes all containers and images in the testing environment specified by o.
RemoveContainers removes all containers in the testing environment specified by o.
RemoveImages removes all container images in the testing environment specified by o.
RemoveNetworks removes all networks in the testing environment specified by o.
RemoveVolumes removes all unused local volumes in the testing environment specified by o.
Run starts a session, waits for it to finish, ensures the exit code to be 0, and returns the ended session to be used for assertions.
RunWithoutSuccessfulExit starts a session, waits for it to finish, ensures the exit code not to be 0, and returns the ended session to be used for assertions.
RunWithoutWait starts a session without waiting for it to finish.
SetLocalRegistryContainerID sets the ID for the local registry.
SetLocalRegistryImageID sets the ID for local registry image.
SetLocalRegistryImageName sets the local registry image name.
Stderr invokes Run and returns the stderr.
StderrAsLines invokes Run and returns the stderr as lines.
StderrStr invokes Run and returns the output in string format.
Stdout invokes Run and returns the stdout.
StdoutAsLines invokes Run and returns the stdout as lines.
StdoutStr invokes Run and returns the output in string format.

# Structs

Command represents a to-be-executed shell command.