Initializer
Properties
| Name | Type | Description |
|---|---|---|
Defaults | *map[string]interface{} | No description. |
Workspace | *string | No description. |
AccessToken | *string | (Required) Access token. |
Path | *string | (Required) Path in the Consul KV store. |
Address | *string | (Optional) DNS name and port of your Consul endpoint specified in the format dnsname:port. |
CaFile | *string | (Optional) A path to a PEM-encoded certificate authority used to verify the remote agent’s certificate. |
CertFile | *string | (Optional) A path to a PEM-encoded certificate provided to the remote agent; |
Datacenter | *string | (Optional) The datacenter to use. |
Gzip | *bool | (Optional) true to compress the state data using gzip, or false (the default) to leave it uncompressed. |
HttpAuth | *string | (Optional) HTTP Basic Authentication credentials to be used when communicating with Consul, in the format of either user or user:pass. |
KeyFile | *string | (Optional) A path to a PEM-encoded private key, required if cert_file is specified. |
Lock | *bool | (Optional) false to disable locking. |
Scheme | *string | (Optional) Specifies what protocol to use when talking to the given address,either http or https. |
DefaultsOptional
- Type: *map[string]interface{}
WorkspaceOptional
- Type: *string
AccessTokenRequired
- Type: *string
PathRequired
- Type: *string
AddressOptional
- Type: *string
CaFileOptional
- Type: *string
CertFileOptional
- Type: *string
DatacenterOptional
- Type: *string
GzipOptional
- Type: *bool
HttpAuthOptional
- Type: *string
KeyFileOptional
- Type: *string
LockOptional
- Type: *bool
SchemeOptional
- Type: *string