featurebase/ctl
Matthew Jaffee 3f303d1098
remove global defaults from config.go
these were occaisionally referenced elsewhere in the codebase - in all but one
case, there were workarounds that are actually better I think.

In the one case there wasn't I created a single top level DefaultConfig object
which is instantiated with all the default values and can be referred to if
necessary.

There was a bug in fragment.go with the way MaxWritesPerRequest was treated if
it was 0. Elsewhere, 0 meant no limit, but here, it would have caused a division
by 0.

Changed the default metrics provider from "nop" to "none", although "nop" will
still work. Previously, any value other than "statsd" or "expvar" was treated as
"nop", but I've changed this behavior to return an error if an invalid string is
provided. I think this is better behavior, because in the case that someone
bothered to change the default, they were probably interested in actually
getting stats, and might be annoyed when it silently failed.
2018-04-12 19:52:48 -05:00
..
backup.go Add TLS support for commands 2017-10-11 08:30:11 +03:00
backup_test.go get tests passing 2018-04-09 14:29:43 -05:00
bench.go Replaced all http.Clients with InternalClient; updated InternalClient interface. 2017-10-17 15:53:42 +03:00
bench_test.go Refactor test utilities into importable package. 2017-06-23 09:10:15 -05:00
check.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
check_test.go a few tweaks after rebasing 334-rle onto master 2017-06-19 11:19:27 -05:00
common.go ensure that the license is prepended to all source files 2018-02-05 16:35:28 -06:00
config.go Implement 'config' CLI command. 2017-05-22 09:30:14 -06:00
config_test.go Define default config values for pilosa server in NewConfig rather than 2017-12-15 15:07:02 -06:00
doc.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
export.go Add TLS support for commands 2017-10-11 08:30:11 +03:00
export_test.go get tests passing 2018-04-09 14:29:43 -05:00
generate_config.go Merge branch 'master' into cluster-resize working branch. 2017-12-04 22:18:57 -06:00
generate_config_test.go remove global defaults from config.go 2018-04-12 19:52:48 -05:00
import.go refactor to remove BitK (in favor of Bit) 2018-01-22 15:35:10 -06:00
import_test.go remove global defaults from config.go 2018-04-12 19:52:48 -05:00
inspect.go Apply Apache License 2.0 2017-04-28 14:22:03 -05:00
inspect_test.go more ctl tests 2017-05-29 13:41:23 -10:00
restore.go Add TLS support for commands 2017-10-11 08:30:11 +03:00
restore_test.go get tests passing 2018-04-09 14:29:43 -05:00
server.go add --verbose flag to docs 2018-03-27 08:40:05 -05:00
server_test.go remove old GossipPort and GossipSeed config options 2018-02-23 10:22:32 -06:00