Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTFStateFile = "terraform/terraform.tfstate"
DefaultTFStateFile is the location of the TF state file, as created for the e2e test framework. This file is used to extract the TF serial number, which is used to determine whether the consul bootstrap process is necessary or has already taken place.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager interface { // Enable Consul ACLs in the Consul cluster. The Consul ACL master token // associated with the Consul cluster is returned. // // A complete bootstrap process will take place if necessary. // // Once enabled, Consul ACLs can be disabled with Disable. Enable(t *testing.T) string // Disable Consul ACLs in the Consul Cluster. // // Once disabled, Consul ACLs can be re-enabled with Enable. Disable(t *testing.T) }
A Manager is used to manipulate whether Consul ACLs are enabled or disabled. Only works with TF provisioned clusters.
Click to show internal directories.
Click to hide internal directories.