Versions in this module Expand all Collapse all v0 v0.10.4 Feb 19, 2020 Changes in this version + type Bundle struct + Destination string + Source string + type ClusterInfo struct + ConsulClient *capi.Client + ID string + Name string + NomadClient *napi.Client + VaultClient *vapi.Client + type Deployment struct + Bundles []Bundle + NomadLocalBinary string + NomadSha string + NomadVersion string + Platform string + RemoteBinaryPath string + Steps []string + type LinuxRunner struct + func (runner *LinuxRunner) Close() + func (runner *LinuxRunner) Copy(local, remote string) error + func (runner *LinuxRunner) LogOutput(output string) + func (runner *LinuxRunner) Logf(format string, args ...interface{}) + func (runner *LinuxRunner) Open(t *testing.T) error + func (runner *LinuxRunner) Run(script string) error + type Provisioner interface + SetupTestCase func(t *testing.T, opts SetupOptions) (*ClusterInfo, error) + SetupTestRun func(t *testing.T, opts SetupOptions) (*ClusterInfo, error) + SetupTestSuite func(t *testing.T, opts SetupOptions) (*ClusterInfo, error) + TearDownTestCase func(t *testing.T, clusterID string) error + TearDownTestRun func(t *testing.T, clusterID string) error + TearDownTestSuite func(t *testing.T, clusterID string) error + var DefaultProvisioner Provisioner = new(singleClusterProvisioner) + func NewProvisioner(config ProvisionerConfig) Provisioner + func PreProvisioner(targets *ProvisioningTargets) Provisioner + type ProvisionerConfig struct + IsLocal bool + NomadLocalBinary string + NomadSha string + NomadVersion string + TerraformConfig string + VagrantBox string + type ProvisioningRunner interface + Close func() + Copy func(string, string) error + Open func(t *testing.T) error + Run func(string) error + type ProvisioningTarget struct + Deployment Deployment + Runner map[string]interface{} + type ProvisioningTargets struct + Clients []*ProvisioningTarget + Servers []*ProvisioningTarget + func ProvisionerConfigTerraform(config ProvisionerConfig) *ProvisioningTargets + func ProvisionerConfigVagrant(config ProvisionerConfig) *ProvisioningTargets + type SSHRunner struct + Host string + Key string + Port int + User string + func (runner *SSHRunner) Close() + func (runner *SSHRunner) Copy(local, remote string) error + func (runner *SSHRunner) Log(args ...interface{}) + func (runner *SSHRunner) LogErrOutput(output string) + func (runner *SSHRunner) LogOutput(output string) + func (runner *SSHRunner) Logf(format string, args ...interface{}) + func (runner *SSHRunner) Open(t *testing.T) error + func (runner *SSHRunner) Run(script string) error + type SetupOptions struct + ExpectConsul bool + ExpectVault bool + Name string v0.10.4-rc1 Feb 12, 2020