package
0.9.1-rc1
Repository: https://github.com/smithx10/nomad.git
Documentation: pkg.go.dev

# Functions

AssertUntil asserts the test function passes throughout the given duration.
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
No description provided by the author
SkipSlow skips a slow test unless the NOMAD_SLOW_TEST environment variable is set.
TestMultiplier returns a multiplier for retries and waits given environment the tests are being run under.
Timeout takes the desired timeout and increases it if running in Travis.
VaultVersion returns the Vault version as a string or an error if it couldn't be determined.
WaitForLeader blocks until a leader is elected.
No description provided by the author
No description provided by the author
WaitForRunning runs a job and blocks until all allocs are out of pending.

# Structs

ACLConfig is used to configure ACLs.
Advertise is used to configure the addresses to advertise.
ClientConfig is used to configure the client.
Consul is used to configure the communication with Consul.
PortsConfig is used to configure the network ports we use.
ResponseRecorder implements a ResponseWriter which can be written to and read from concurrently.
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.