1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/client
Arnaud Porterie 7d193ef1f3 Add builtin nodes discovery
Use `pkg/discovery` to provide nodes discovery between daemon instances.

The functionality is driven by two different command-line flags: the
experimental `--cluster-store` (previously `--kv-store`) and
`--cluster-advertise`. It can be used in two ways by interested
components:

1. Externally by calling the `/info` API and examining the cluster store
   field. The `pkg/discovery` package can then be used to hit the same
   endpoint and watch for appearing or disappearing nodes. That is the
   method that will for example be used by Swarm.
2. Internally by using the `Daemon.discoveryWatcher` instance. That is
   the method that will for example be used by libnetwork.

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
2015-09-25 14:52:09 -07:00
..
ps Complete unit tests on api/client/ps package 2015-09-06 22:05:57 +02:00
attach.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
build.go Support for passing build-time variables in build context 2015-09-16 03:31:15 -07:00
cli.go Refactor CLI docker save 2015-09-11 15:31:55 +08:00
client.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
commit.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
cp.go Windows: Fix absolute checks 2015-09-01 08:41:37 -07:00
create.go Documentation improvements and code cleanups for graph package 2015-07-30 14:27:10 -07:00
diff.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
events.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
exec.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
export.go api/client fix golint errors/warnings 2015-07-29 17:20:54 +00:00
hijack.go Merge pull request #16289 from cpuguy83/11957_fix_stdin_block_after_container_exit 2015-09-23 15:29:48 -07:00
history.go Format the output of docker history 2015-09-22 21:27:20 +08:00
images.go Fix #8048 : make docker images repository:tag work 2015-08-13 08:50:09 +02:00
import.go adding message option to the import subcommand 2015-08-25 02:55:04 +00:00
info.go Add builtin nodes discovery 2015-09-25 14:52:09 -07:00
inspect.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
kill.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
load.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
login.go Use TrimSpace to instead of Trim 2015-09-09 19:37:33 +08:00
logout.go Remove useless if-else 2015-08-08 20:02:44 +08:00
logs.go Add log reading to the journald log driver 2015-09-11 16:50:03 -04:00
network.go "docker network" missing from docker --help 2015-09-04 15:34:17 +09:00
pause.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
port.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
ps.go Fix ignore -q flag in docker ps when there is a default format. 2015-08-17 10:48:04 -07:00
pull.go Documentation improvements and code cleanups for graph package 2015-07-30 14:27:10 -07:00
push.go Use notary library for trusted image fetch and signing 2015-07-24 14:08:20 -07:00
rename.go Fix 'rename' error msg and error checking 2015-09-18 11:12:22 -07:00
restart.go docker restarts running OR stopped containers, docs edit rm "running" 2015-09-20 09:16:27 -04:00
rm.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
rmi.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
run.go Lint fixes on runconfig 2015-07-27 21:23:15 +02:00
save.go Refactor CLI docker save 2015-09-11 15:31:55 +08:00
search.go client/search: small logic fix 2015-09-24 11:11:03 +08:00
service.go api/client fix golint errors/warnings 2015-07-29 17:20:54 +00:00
start.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
stats.go Reset data of stats in docker cli when container stopped 2015-09-18 15:24:13 +08:00
stats_unit_test.go Fix docker stats show blkio when there are multiple block devices. 2015-08-20 11:46:21 +08:00
stop.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
tag.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
top.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
trust.go Ignore ping errors in notary repository setup 2015-09-14 11:08:25 -07:00
unpause.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00
utils.go Make RegistryConfig a typed value in the api. 2015-09-07 19:29:33 -04:00
version.go fix golint warnings/errors on package api/types/ 2015-08-07 09:43:43 +08:00
volume.go Add --help to "docker volume inspect --help" output 2015-09-08 14:24:00 -07:00
wait.go cli: new daemon command and new cli package 2015-07-23 19:44:46 -04:00