open-consul/command
Frank Schroeder 9f4286b1ce
agent: support custom check id and name
This patch adds support for a custom check id and name when
registering a service.

This is achieved by adding a CheckID and a Name field to the
CheckType structure which is used to register checks with a
service and when returning health check definitions.

CheckDefinition is a superset of CheckType which duplicates
some of the fields of CheckType. This patch decouples these
two structures by removing the embedding of CheckType in
CheckDefinition.

Fixes #3047
2017-05-17 20:17:08 +02:00
..
agent agent: support custom check id and name 2017-05-17 20:17:08 +02:00
base golint: Fix existing comments 2017-04-25 09:26:13 -07:00
configtest.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
configtest_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
event.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
event_test.go Fix imports 2017-05-05 17:07:00 +02:00
exec.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
exec_test.go test: lower wait time for some tests 2017-05-12 22:12:47 +02:00
force_leave.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
force_leave_test.go retry: Removes the description parameter. 2017-05-05 17:07:03 +02:00
info.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
info_test.go Fix imports 2017-05-05 17:07:00 +02:00
join.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
join_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keygen.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keygen_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
keyring.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
keyring_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07: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 golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_delete_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_export.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_export_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_get.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
kv_get_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_import.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
kv_import_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
kv_put.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
kv_put_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
leave.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
leave_test.go Fix imports 2017-05-05 17:07:00 +02:00
lock.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
lock_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
maint.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
maint_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
members.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
members_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
monitor.go golint: Rename fields and structs 2017-04-25 09:26:13 -07: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 golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_autopilot_get_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_autopilot_set.go golint: Untangle if blocks with return in else 2017-04-25 09:26:13 -07:00
operator_autopilot_set_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_autopilot_test.go Added operator autopilot subcommands 2017-02-24 15:54:49 -08:00
operator_raft.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_list.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_list_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_remove.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_remove_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_raft_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
operator_test.go Split operator raft command into subcommands 2017-02-15 13:53:34 -08:00
reload.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
reload_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
rtt.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
rtt_test.go retry: Removes the description parameter. 2017-05-05 17:07:03 +02:00
snapshot_command.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_command_test.go Adds support for snapshots and restores. (#2396) 2016-10-25 19:20:24 -07:00
snapshot_inspect.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_inspect_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
snapshot_restore.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_restore_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
snapshot_save.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
snapshot_save_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
util_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02: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 golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
validate_test.go test: add helper for ioutil.TempDir/TempFile 2017-05-12 22:12:47 +02:00
version.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00
version_test.go Add missing doc page for version command 2017-02-09 20:08:25 -05:00
watch.go Itty bitty typo 2017-05-02 16:08:07 -07:00
watch_test.go golint: Rename fields and structs 2017-04-25 09:26:13 -07:00