package
1.12.2
Repository: https://github.com/miketheprogrammer/deis.git
Documentation: pkg.go.dev

# Functions

AppsDestroyTest destroys a Deis app and checks that it was successful.
BuildTag returns the $BUILD_TAG environment variable or `git rev-parse` output.
Chdir sets the current working directory to the relative path specified.
CheckList executes a command and optionally tests whether its output does or does not contain a given string.
CreateFile creates an empty file at the specified path.
Curl connects to an endpoint to see if the endpoint is responding.
CurlApp is a convenience function to see if the example app is running.
CurlWithFail connects to a Deis endpoint to see if the example app is running.
Execute takes command string and parameters required to execute the command, a failflag to check whether the command is expected to fail, and an expect string to check whether the command has failed according to failflag.
GetGlobalConfig returns a test configuration object.
GetRandomApp returns a known working example app at random for testing.
HostAddress returns the host IP for accessing etcd and Deis services.
Hostname returns the hostname of the machine running the container, *not* the local machine We infer the hostname because we don't necessarily know how to log in.
HTTPClient returns a client for use with the integration tests.
ImagePrefix returns the $IMAGE_PREFIX environment variable or `deis/`.
NewID returns the first part of a random RFC 4122 UUID See http://play.golang.org/p/4FkNSiUDMg.
RandomPort returns an unused TCP listen port on the host.
Rmdir removes a directory and its contents.
RunCommandWithStdoutStderr execs a command and returns its output.

# Variables

Deis points to the CLI used to run tests.

# Structs

DeisTestConfig allows tests to be repeated against different targets, with different example apps, using specific credentials, and so on.