moby--moby/libnetwork/networkdb
Flavio Crisciani b578cdce86 Diagnose framework for networkDB
This commit introduces the possibility to enable a debug mode
for the networkDB, this will allow the opening of a tcp port
on localhost that will expose the networkDB api for debugging
purposes.

The API can be discovered using curl localhost:<port>/help
It support json output if passed json as URL query parameter
option and pretty printing if passing json=pretty

All the binaries values are serialized in base64 encoding, this
can be skip passing the unsafe option as url query parameter

A simple go client will follow up

Signed-off-by: Flavio Crisciani <flavio.crisciani@docker.com>
2017-12-01 16:19:35 -08:00
..
broadcast.go NetworkDB create NodeID for cluster nodes 2017-09-26 10:48:04 -07:00
cluster.go Fixed race on quick node fail/join 2017-11-27 14:38:06 -08:00
delegate.go Fixed race on quick node fail/join 2017-11-27 14:38:06 -08:00
event_delegate.go Fixed race on quick node fail/join 2017-11-27 14:38:06 -08:00
message.go NetworkDB allow setting PacketSize 2017-07-26 13:44:33 -07:00
networkdb.go Diagnose framework for networkDB 2017-12-01 16:19:35 -08:00
networkdb.pb.go Fix reapTime logic in NetworkDB 2017-09-21 09:37:37 -07:00
networkdb.proto Fix reapTime logic in NetworkDB 2017-09-21 09:37:37 -07:00
networkdb_test.go Add test to confirm garbage collection 2017-10-23 09:58:57 +02:00
networkdbdiagnose.go Diagnose framework for networkDB 2017-12-01 16:19:35 -08:00
watch.go Fix leak of handleTableEvents 2017-05-31 11:04:19 -07:00