package
0.7.1
Repository: https://github.com/golang-cloud/nomad.git
Documentation: pkg.go.dev

# Functions

AssertUntil asserts the test function passes throughout the given duration.
No description provided by the author
NewTestServer creates a new TestServer, and makes a call to an optional callback function to modify the configuration.
NewTestVault returns a new TestVault instance that has yet to be started.
NewTestVaultDelayed returns a test Vault server that has not been started.
TestMultiplier returns a multiplier for retries and waits given environment the tests are being run under.
VaultVersion returns the Vault version as a string or an error if it couldn't be determined.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

TravisRunEnv is an environment variable that is set if being run by Travis.

# Structs

ACLConfig is used to configure ACLs.
Advertise is used to configure the addresses to advertise.
ClientConfig is used to configure the client.
PortsConfig is used to configure the network ports we use.
ServerConfig is used to configure the nomad server.
TestServer is the main server wrapper struct.
TestServerConfig is the main server configuration struct.
TestVault wraps a test Vault server launched in dev mode, suitable for testing.
VaultConfig is used to configure Vault.

# Type aliases

ServerConfigCallback is a function interface which can be passed to NewTestServerConfig to modify the server config.