package
0.12.12
Repository: https://github.com/hashicorp/nomad.git
Documentation: pkg.go.dev

# Functions

PreProvisioner returns a provisioner that deploys Nomad to a cluster at the start of the whole test run and leaves it in place.
ProvisionerConfigTerraform targets a Terraform cluster by reading the config from a file, as output by 'terraform output provisioning'.
ProvisionerConfigVagrant targets a single-node Vagrant environment.

# Variables

DefaultProvisioner is a noop provisioner that builds clients from environment variables according to the respective client configuration.

# Structs

Bundle is an arbitrary collection of files to support Nomad, Consul, etc.
ClusterInfo is a handle to a provisioned cluster, along with clients a test run can use to connect to the cluster.
LinuxRunner is a ProvisioningRunner that runs on the executing host only.
ProvisionerConfig defines options for the entire lifecycle of the provisioner.
ProvisioningTarget is a specific host that will get a Nomad and/or Consul deployment.
ProvisioningTargets is a set of hosts that will get a Nomad and/or Consul deployment.
SetupOptions defines options to be given to the Provisioner when calling Setup* methods.
SSHRunner is a ProvisioningRunner that deploys via ssh.

# Interfaces

Provisioner interface is used by the test framework to provision Nomad.
ProvisioningRunner is the interface for how a Provisioner will connect with a target and execute steps.