alanbernstein
df32da1c8c
Merge pull request #1281 from alanbernstein/docs-intro-fixes
...
Assorted docs fixes
2018-05-15 16:34:28 -05:00
Cody Soyland
1c715aebe7
Improve enterprise build process
2018-05-15 10:16:55 -05:00
Alan Bernstein
b670afaa8d
Clean up CLI
2018-05-14 17:46:11 -05:00
Yuce Tekol
83bb0f97d4
Replaces dot in env variable name with underscore so they can be used in bash.
2017-10-10 06:15:22 +03:00
Michael Baird
f0c3fdcdda
Merge remote-tracking branch 'origin/master' into metrics
2017-05-30 15:36:19 -05:00
Linh Vo
51db1c7784
fix review
2017-05-25 12:07:09 -05:00
Linh Vo
0a19e9f413
#33 don't need reflect for get valid field
2017-05-23 14:44:16 -05:00
Linh Vo
0f45d27028
#33 validate config
2017-05-23 14:40:58 -05:00
Michael Baird
bf6ed942f0
Merge pull request #8 from alanbernstein/stats
...
Stats
2017-05-09 11:15:23 -05:00
Cody Soyland
42281f1c5d
Correct documentation link
2017-04-29 20:40:56 -05:00
Cody Soyland
3996b56b88
Apply Apache License 2.0
2017-04-28 14:22:03 -05:00
Alan Bernstein
78704dc55a
Remove SetupVersionBuild
2017-04-21 14:55:07 -05:00
Alan Bernstein
83e13bec74
Move version vars to pilosa package
2017-04-21 10:14:21 -05:00
Matt Jaffee
6f27930f89
add docs for cmd tests
2017-03-21 13:45:06 -05:00
Matt Jaffee
5f267c0a3a
support the various ways of specifying bind addr
2017-03-17 16:43:04 -05:00
Matt Jaffee
74b79dd928
add tests for subcommands
2017-03-17 16:43:04 -05:00
Matt Jaffee
a1d29537db
small tweaks - make dry-run hidden
2017-03-17 16:43:04 -05:00
Matt Jaffee
e144259a19
make config flag global, and add global dry run flag
...
config flag can be used by all subcommands. Dry run flag stops subcommand
execution after parsing of config - nice for testing.
2017-03-17 16:43:04 -05:00
Matt Jaffee
03eae77604
add cluster.hosts flag
...
had to work around a bunch of viper nonsense with handling string slices
changed the validator.Check to use reflect.DeepEqual
fixed a bug where env vars need to be reset between tests
had to change the structure of pilosa.config to enable the passing of hosts as a
slice of strings (it was a slice of structs which each just contained the string
host.) so we lose some generality, but we weren't using it anyway.
2017-03-17 16:43:04 -05:00
Matt Jaffee
372b7ca1c4
full testing support for pilosa server
...
1. fixed a couple bugs with config file reading.
2. made cmd.Serve a global variable so tests could inspect it.
3. added table style testing for pilosa server
4. added the ability to stop server programmatically which also causes the cobra
command running it to return.
2017-03-17 16:43:04 -05:00
Matt Jaffee
c3b7710d67
WIP on converting commands to be non-global and testable
2017-03-17 16:43:04 -05:00
Matt Jaffee
26a900843a
move setAllConfig and it's invocation to root cmd
2017-03-17 16:43:04 -05:00
Matt Jaffee
c7caea6b30
fix short help strings on commands
2017-03-06 16:45:37 -06:00
Matt Jaffee
a47f93329e
remove pilosactl and add version/build to root cmd
2017-03-03 15:24:39 -06:00
Matt Jaffee
02c3c6d3e6
use cobra/viper and move cmd/pilosa to server subcommand
2017-03-03 13:03:57 -06:00