# Functions

NewConsulClient constructs a consul api client.
NewPrinter creates a new client.
NewTerraformCLI creates a terraform-exec client and configures and initializes a new Terraform client.

# Constants

to be consistent with hcat retries.

# Structs

ConsulClient is a client to the Consul API.
MissingConsulACLError represents an error returned if the error was due to not having the correct ACL for accessing a Consul resource.
NonEnterpriseConsulError represents an error returned if expected enterprise Consul, but enterprise Consul was not found.
Printer is a fake client that only logs out actions.
PrinterConfig configures the log client.
TerraformCLI is the client that wraps around terraform-exec to execute Terraform cli commands.
TerraformCLIConfig configures the Terraform client.

# Interfaces

Client describes the interface for a driver's client that interacts with network infrastructure.
ConsulClientInterface is an interface for a Consul Client If more consul client functionality is required, this interface should be extended with the following considerations: Each request to Consul is: - Retried - Logged at DEBUG-level - Easily mocked.

# Type aliases

ConsulAgentConfig represents the responseCode body from Consul /v1/agent/self API endpoint.