consul/command
Frank Schroeder eddb1af603 Remove duplicate constants
This patch removes duplicate internal copies of constants in the structs
package which are also defined in the api package. The api.KVOp type
with all its values for the TXN endpoint and the api.HealthXXX constants
are now used throughout the codebase.

This resulted in some circular dependencies in the testutil package
which have been resolved by copying code and constants and moving the
WaitForLeader function into a separate testrpc package.
2017-04-20 09:54:49 -07:00
..
agent Remove duplicate constants 2017-04-20 09:54:49 -07:00
base Fix help text on client cert/key options 2017-04-18 16:30:20 -07:00
configtest.go Update website docs for validate command 2017-02-10 19:38:38 -05:00
configtest_test.go Move command Meta to base.Command and split http options 2017-02-07 19:16:41 -05:00
event.go Cleanup and formatting adjustments 2017-02-09 20:49:17 -05:00
event_test.go Convert event command to use base.Command 2017-02-08 16:56:58 -05:00
exec.go Convert exec command to use base.Command 2017-02-08 16:57:46 -05:00
exec_test.go Changes `disable_remote_exec` default to true so remote exec is opt-in. 2017-03-30 09:43:32 -07:00
force_leave.go Move command Meta to base.Command and split http options 2017-02-07 19:16:41 -05:00
force_leave_test.go Use new APIs 2017-03-23 18:48:13 -04:00
info.go Convert info command to use base.Command 2017-02-08 16:58:04 -05:00
info_test.go Convert info command to use base.Command 2017-02-08 16:58:04 -05:00
join.go Make join exit non-zero if no nodes were joined 2017-02-08 19:45:13 -05:00
join_test.go Merge branch 'master' into f-cli-rework-3 2017-02-09 21:24:27 -05:00
keygen.go Convert keygen command to use base.Command 2017-02-08 17:19:17 -05:00
keygen_test.go Convert keygen command to use base.Command 2017-02-08 17:19:17 -05:00
keyring.go Cleanup and formatting adjustments 2017-02-09 20:49:17 -05:00
keyring_test.go Convert keyring command to use base.Command 2017-02-08 18:25:47 -05:00
kv_command.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_command_test.go Add kv command stubs 2016-09-26 16:06:53 -07:00
kv_delete.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_delete_test.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_export.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_export_test.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_get.go Fixed spelling for consul kv get command --help comments. 2017-04-12 17:31:57 -07:00
kv_get_test.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_import.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_import_test.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_put.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
kv_put_test.go Convert kv commands to use base.Command 2017-02-08 19:26:24 -05:00
leave.go Convert leave command to use base.Command 2017-02-09 16:48:12 -05:00
leave_test.go Convert leave command to use base.Command 2017-02-09 16:48:12 -05:00
lock.go Move command Meta to base.Command and split http options 2017-02-07 19:16:41 -05:00
lock_test.go Move command Meta to base.Command and split http options 2017-02-07 19:16:41 -05:00
maint.go Convert maint command to use base.Command 2017-02-09 17:06:19 -05:00
maint_test.go Convert maint command to use base.Command 2017-02-09 17:06:19 -05:00
members.go Formatting fix in members output 2017-02-10 13:02:37 -05:00
members_test.go Convert members command to use base.Command 2017-02-09 17:12:47 -05:00
monitor.go Convert operator command to use base.Command 2017-02-09 18:19:34 -05:00
operator.go Split operator raft command into subcommands 2017-02-15 13:53:34 -08:00
operator_autopilot.go Added operator autopilot subcommands 2017-02-24 15:54:49 -08:00
operator_autopilot_get.go Add advanced autopilot features 2017-03-22 15:25:16 -07:00
operator_autopilot_get_test.go Rename DeadServerCleanup and make wording adjustments 2017-02-28 14:45:21 -08:00
operator_autopilot_set.go Add advanced autopilot features 2017-03-22 15:25:16 -07:00
operator_autopilot_set_test.go Use defers for WaitGroup and Ticker stop 2017-03-10 12:29:03 -08:00
operator_autopilot_test.go Added operator autopilot subcommands 2017-02-24 15:54:49 -08:00
operator_raft.go Show raft protocol in list-peers command (#2929) 2017-04-19 15:01:40 -07:00
operator_raft_list.go Show raft protocol in list-peers command (#2929) 2017-04-19 15:01:40 -07:00
operator_raft_list_test.go Show raft protocol in list-peers command (#2929) 2017-04-19 15:01:40 -07:00
operator_raft_remove.go Add CLI/API endpoints for removing peer by ID 2017-03-30 10:13:32 -07:00
operator_raft_remove_test.go Add CLI/API endpoints for removing peer by ID 2017-03-30 10:13:32 -07:00
operator_raft_test.go Split operator raft command into subcommands 2017-02-15 13:53:34 -08:00
operator_test.go Split operator raft command into subcommands 2017-02-15 13:53:34 -08:00
reload.go Convert reload command to use base.Command 2017-02-09 19:32:22 -05:00
reload_test.go Convert rtt command to use base.Command 2017-02-09 19:38:06 -05:00
rtt.go Fixes RTT command to only compare coordinates in the same area. 2017-03-16 16:42:19 -07:00
rtt_test.go Use new APIs 2017-03-23 18:48:13 -04:00
snapshot_command.go Add snapshot inspect subcommand (#2451) 2016-10-31 19:37:27 -04:00
snapshot_command_test.go Adds support for snapshots and restores. (#2396) 2016-10-25 19:20:24 -07:00
snapshot_inspect.go Convert snapshot command to use base.Command 2017-02-09 20:00:38 -05:00
snapshot_inspect_test.go Convert snapshot command to use base.Command 2017-02-09 20:00:38 -05:00
snapshot_restore.go Convert snapshot command to use base.Command 2017-02-09 20:00:38 -05:00
snapshot_restore_test.go Convert snapshot command to use base.Command 2017-02-09 20:00:38 -05:00
snapshot_save.go Convert snapshot command to use base.Command 2017-02-09 20:00:38 -05:00
snapshot_save_test.go Convert snapshot command to use base.Command 2017-02-09 20:00:38 -05:00
util_test.go Cleans up a stray mark and fixes unit tests. 2017-03-27 01:28:54 -07:00
util_unix.go command: fix Windows build 2015-01-25 05:00:52 +01:00
util_windows.go docs: describe child process handling on Windows for lock command 2015-01-25 11:42:29 +01:00
validate.go Add -quiet flag to validate 2017-02-10 20:14:22 -05:00
validate_test.go Add -quiet flag to validate 2017-02-10 20:14:22 -05:00
version.go Tweaks formatting of Consul version. 2016-08-25 17:12:55 -07:00
version_test.go Add missing doc page for version command 2017-02-09 20:08:25 -05:00
watch.go Convert watch command to use base.Command 2017-02-09 20:36:01 -05:00
watch_test.go Convert watch command to use base.Command 2017-02-09 20:36:01 -05:00