mirror of https://github.com/hashicorp/consul
67a36e3452
Both 'consul config write' and server bootstrap config entries take a decoding detour through mapstructure on the way from HCL to an actual struct. They both may take in snake_case or CamelCase (for consistency) so need very similar handling. Unfortunately since they are operating on mirror universes of structs (api.* vs structs.*) the code cannot be identitical, so try to share the kind-configuration and duplicate the rest for now. |
||
---|---|---|
.. | ||
file | ||
semaphore | ||
cluster.go | ||
cluster_test.go | ||
eof.go | ||
map_walker.go | ||
map_walker_test.go | ||
math.go | ||
math_test.go | ||
patch_hcl.go | ||
patch_hcl_test.go | ||
path.go | ||
rand.go | ||
retry.go | ||
retry_test.go | ||
rtt.go | ||
rtt_test.go | ||
serf.go | ||
stop_context.go | ||
string.go | ||
string_test.go | ||
telemetry.go | ||
telemetry_test.go | ||
translate.go | ||
translate_test.go | ||
useragent.go | ||
useragent_test.go | ||
uuid.go |