consul/command
Peter Fern b023904298 Add TCP check type
Adds the ability to simply check whether a TCP socket accepts
connections to determine if it is healthy.  This is a light-weight -
though less comprehensive than scripting - method of checking network
service health.

The check parameter `tcp` should be set to the `address:port`
combination for the service to be tested.  Supports both IPv6 and IPv4,
in the case of a hostname that resolves to both, connections will be
attempted via both protocol versions, with the first successful
connection returning a successful check result.

Example check:

```json
{
  "check": {
    "id": "ssh",
    "name": "SSH (TCP)",
    "tcp": "example.com:22",
    "interval": "10s"
  }
}
```
2015-07-24 14:06:05 +10:00
..
agent Add TCP check type 2015-07-24 14:06:05 +10:00
configtest.go command: fix configtest help format 2015-05-11 09:42:26 -07:00
configtest_test.go command/configtest: add 2015-05-08 13:09:50 -07:00
event.go command: event command supports -token arg 2015-06-22 16:59:41 -07:00
event_test.go
exec.go command: remote exec takes -token parameter 2015-06-22 17:16:28 -07:00
exec_test.go
force_leave.go
force_leave_test.go
info.go
info_test.go
join.go
join_test.go
keygen.go
keygen_test.go
keyring.go
keyring_test.go
leave.go
leave_test.go
lock.go command/lock: Check for shutdown during lock acquisition. Fixes #800 2015-07-22 16:07:44 -07:00
lock_test.go
maint.go
maint_test.go agent: use an additional parameter for passing tokens 2015-05-04 17:48:05 -07:00
members.go Sort members in by name for consul members 2015-05-22 10:37:54 +02:00
members_test.go Include DC in the members command output 2015-05-15 23:26:34 +02:00
monitor.go
reload.go
reload_test.go
rpc.go command: remote exec takes -token parameter 2015-06-22 17:16:28 -07:00
rpc_test.go
util_test.go
util_unix.go
util_windows.go
version.go
version_test.go
watch.go
watch_test.go