# Functions
CheckContainerRunning checks if container is running.
CheckContainerStatus asserts the container status.
CheckRespStatus checks the http.Response.Status is equal to status.
CreateBusybox125Container creates busybox with cmd.
CreateBusyboxContainer creates busybox with cmd.
CreateBusyboxContainerOk creates a busybox container with cmd and asserts OK.
CreateExecEchoOk exec process's environment with "echo" CMD.
CreateVolumeOK creates a volume in pouchd.
DelContainerForceMultyTime forcely deletes the container multy times.
DelImageForceOk forcely deletes the image and asserts success.
DelNetworkOk deletes the network and asserts success.
GetMetric get metrics from prometheus server, return total count and success count.
GetMetricLine get metrics from prometheus server, return the single metric.
GetRootDir assign the root dir.
IsTLSExist check if the TLS related file exists.
OsStatErr is used to simplify the error assert way.
PauseContainerOk pauses the container and asserts success..
PullImage pull image if it doesn't exist, image format should be repo:tag.
RemoveVolumeOK removes a volume in pouchd.
RestartDaemon restart daemon.
RunWithSpecifiedDaemon run pouch command with --host parameter.
SkipIfFalse skips the suite, if any of the conditions is not satisfied.
StartContainerExec starts executing a process in the container.
StartContainerOk starts the container and asserts success.
StartDefaultDaemon starts a daemon with all default configuration and debug off.
StopContainerOk stops the container and asserts success..
UnpauseContainerOk unpauses the container and asserts success..
# Variables
DefaultRootDir defines the default root dir for pouchd.
DefaultVolumeMountPath defines the default volume mount path.
# Type aliases
VerifyCondition is used to check the condition value.