consul/lib
R.B. Boyer 67a36e3452
handle structs.ConfigEntry decoding similarly to api.ConfigEntry decoding (#6106)
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.
2019-07-12 12:20:30 -05:00
..
file ACL Token Persistence and Reloading (#5328) 2019-02-27 14:28:31 -05:00
semaphore connect: tame thundering herd of CSRs on CA rotation (#5228) 2019-01-22 17:19:36 +00:00
cluster.go Update cluster.go 2017-10-30 16:51:28 -07:00
cluster_test.go Integer division rounding to zero for rate scaling 2017-10-30 16:46:11 -07:00
eof.go Makes RPC handling more robust when rolling servers. (#3561) 2017-10-10 15:19:50 -07:00
map_walker.go Allow MapWalk to handle []interface{} elements that are []uint8 (#5800) 2019-05-07 11:40:48 -04:00
map_walker_test.go Allow MapWalk to handle []interface{} elements that are []uint8 (#5800) 2019-05-07 11:40:48 -04:00
math.go Add lib.AbsInt() helper function 2016-03-30 11:47:37 -07:00
math_test.go Add lib.AbsInt() helper function 2016-03-30 11:47:37 -07:00
patch_hcl.go handle structs.ConfigEntry decoding similarly to api.ConfigEntry decoding (#6106) 2019-07-12 12:20:30 -05:00
patch_hcl_test.go handle structs.ConfigEntry decoding similarly to api.ConfigEntry decoding (#6106) 2019-07-12 12:20:30 -05:00
path.go Adds basic support for node IDs. 2017-01-17 22:47:59 -08:00
rand.go Use a cryptographically secure seed 2016-05-02 23:52:37 -07:00
retry.go Implement config entry replication (#5706) 2019-04-26 13:38:39 -04:00
retry_test.go Implement config entry replication (#5706) 2019-04-26 13:38:39 -04:00
rtt.go remove golint warnings 2018-01-28 22:40:13 +04:00
rtt_test.go remove golint warnings 2018-01-28 22:40:13 +04:00
serf.go New ACLs (#4791) 2018-10-19 12:04:07 -04:00
stop_context.go fix typos reported by golangci-lint:misspell (#5434) 2019-03-06 11:13:28 -06:00
string.go Cull unused function and its unit test. 2016-02-01 22:40:19 -08:00
string_test.go Cull unused function and its unit test. 2016-02-01 22:26:57 -08:00
telemetry.go Refactor to use embedded struct. 2018-06-25 12:25:39 -07:00
telemetry_test.go Refactor to use embedded struct. 2018-06-25 12:25:39 -07:00
translate.go Make a few config entry endpoints return 404s and allow for snake_case and lowercase key names. (#5748) 2019-04-30 18:19:19 -04:00
translate_test.go Make a few config entry endpoints return 404s and allow for snake_case and lowercase key names. (#5748) 2019-04-30 18:19:19 -04:00
useragent.go Add a helper for generating Consul's user-agent string 2018-05-25 15:50:18 -04:00
useragent_test.go Add a helper for generating Consul's user-agent string 2018-05-25 15:50:18 -04:00
uuid.go New ACLs (#4791) 2018-10-19 12:04:07 -04:00