docker/daemon
David Calavera 434d2e8745 Add PubSub topics.
A TopicFunc is an interface to let the pubisher decide whether it needs
to send a message to a subscriber or not. It returns true if the
publisher must send the message and false otherwise.

Users of the pubsub package can create a subscriber with a topic
function by calling `pubsub.SubscribeTopic`.

Message delivery has also been modified to use concurrent channels per
subscriber. That way, topic verification and message delivery is not
o(N+M) anymore, based on the number of subscribers and topic verification
complexity.

Using pubsub topics, the API stops controlling the message delivery,
delegating that function to a topic generated with the filtering
provided by the user. The publisher sends every message to the
subscriber if there is no filter, but the api doesn't have to select
messages to return anymore.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-12-02 16:43:49 -05:00
..
daemonbuilder Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
events Add PubSub topics. 2015-12-02 16:43:49 -05:00
exec Move exec store to its own package inside the daemon. 2015-11-20 17:40:16 -05:00
execdriver Merge pull request #18178 from jfrazelle/apparmor-we-meet-again 2015-11-30 11:34:34 -08:00
graphdriver devmapper: Log start and end of filesystem creation 2015-12-01 13:05:46 +00:00
links Cleanup links top level pkg 2015-07-29 23:39:18 +02:00
logger prevent journald from being built on ARM 2015-11-21 15:17:31 +01:00
network Modify IPAMConfig structure json tags 2015-10-30 12:57:49 -07:00
README.md Docs: remove networkdriver from README.md in daemon 2015-08-22 10:09:07 +08:00
archive.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
archive_unix.go Windows: Add volume support 2015-10-22 10:42:53 -07:00
archive_windows.go Windows: Fixes comment 2015-11-13 12:51:05 -08:00
attach.go Decouple daemon and container to configure logging drivers. 2015-11-04 12:27:49 -05:00
changes.go Remove unnecessary `Container.changes` function. 2015-11-04 12:27:48 -05:00
commit.go Make TarStream return an io.ReadCloser 2015-11-25 16:39:54 -08:00
config.go remove the unused DefaultNetwork member from daemon.Config 2015-11-10 09:51:15 +08:00
config_experimental.go Add user namespace enable flag `--userns-remap` in experimental build 2015-10-09 20:50:05 -04:00
config_stub.go Add user namespace enable flag `--userns-remap` in experimental build 2015-10-09 20:50:05 -04:00
config_unix.go Remove LXC support. 2015-11-05 17:09:57 -05:00
config_windows.go Change all docker -d to docker daemon 2015-08-10 20:48:08 +08:00
container.go Make sure container start doesn't make the DNS fields nil. 2015-11-30 22:46:31 -05:00
container_unit_test.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
container_unix.go Move defaultSHMSize in daemon pkg 2015-12-02 10:28:10 +01:00
container_windows.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
create.go fix 2 corner cases in container create cleanup and container removal 2015-12-02 01:37:50 +08:00
create_unix.go Optimize Create Container to skip extra mount on Windows. 2015-11-04 14:43:50 -08:00
create_windows.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
daemon.go Add PubSub topics. 2015-12-02 16:43:49 -05:00
daemon_aufs.go Move graph.SetupInitLayer to daemon package where it is used 2015-06-16 16:50:56 -07:00
daemon_btrfs.go golint fixes for daemon/ package 2015-08-27 22:07:42 -07:00
daemon_devicemapper.go golint fixes for daemon/ package 2015-08-27 22:07:42 -07:00
daemon_experimental.go daemon: daemon_experimental.go: fix typo 2015-12-01 12:03:50 +01:00
daemon_linux.go Force IPC mount to unmount on daemon shutdown/init 2015-10-30 15:41:48 -04:00
daemon_linux_test.go Do not try to cleanupMounts if daemon.repository is empty 2015-09-29 11:30:18 +08:00
daemon_no_aufs.go make docker compile on freebsd 2015-07-29 21:25:56 +03:00
daemon_overlay.go golint fixes for daemon/ package 2015-08-27 22:07:42 -07:00
daemon_stub.go Add user namespace enable flag `--userns-remap` in experimental build 2015-10-09 20:50:05 -04:00
daemon_test.go Merge pull request #18065 from calavera/one_container_constructor_to_rule_them_all 2015-11-18 14:06:47 -08:00
daemon_unix.go Move defaultSHMSize in daemon pkg 2015-12-02 10:28:10 +01:00
daemon_unix_test.go runconfig: split resources into a struct 2015-11-20 19:40:01 +01:00
daemon_unsupported.go Add platformSupported flag to enable daemon mode by platform. 2015-08-07 09:45:24 -07:00
daemon_windows.go Validate adding digests to tagstore with go types 2015-11-25 15:06:51 -08:00
daemon_zfs.go golint fixes for daemon/ package 2015-08-27 22:07:42 -07:00
debugtrap_unix.go Windows: Win32 event for sigusr1 linux equivalence 2015-07-06 18:58:53 -07:00
debugtrap_unsupported.go Windows: Win32 event for sigusr1 linux equivalence 2015-07-06 18:58:53 -07:00
debugtrap_windows.go Windows: Win32 event for sigusr1 linux equivalence 2015-07-06 18:58:53 -07:00
delete.go fix 2 corner cases in container create cleanup and container removal 2015-12-02 01:37:50 +08:00
delete_test.go Do not fail when a container is being removed and we request its delete again. 2015-10-20 18:48:34 -04:00
discovery.go Make discovery ttl and heartbeat configurable 2015-11-25 06:51:55 -08:00
discovery_test.go Make discovery ttl and heartbeat configurable 2015-11-25 06:51:55 -08:00
errors.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
events.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
exec.go Move exec store to its own package inside the daemon. 2015-11-20 17:40:16 -05:00
exec_unix.go Refactor ProcessConfig 2015-11-09 09:51:09 -08:00
exec_windows.go Refactor ProcessConfig 2015-11-09 09:51:09 -08:00
export.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
history.go golint fixes for daemon/ package 2015-08-27 22:07:42 -07:00
image_delete.go Fix docker rmi trying to remove a being used parent 2015-11-26 09:57:20 +08:00
images.go Make filtering a linear operation. 2015-12-02 11:12:42 -05:00
import.go Update daemon and docker core to use new content addressable storage 2015-11-24 09:40:25 -08:00
info.go daemon: remove sysInitPath, lxc leftover 2015-11-30 10:04:13 +01:00
inspect.go Move versioned references of inspect functions to the daemon. 2015-11-24 14:03:39 -05:00
inspect_unix.go Move versioned references of inspect functions to the daemon. 2015-11-24 14:03:39 -05:00
inspect_windows.go Move versioned references of inspect functions to the daemon. 2015-11-24 14:03:39 -05:00
kill.go daemon/kill.go: simplify if statement 2015-11-11 17:19:39 -08:00
list.go Make filtering a linear operation. 2015-12-02 11:12:42 -05:00
list_unix.go Windows: Add isolation to ps filter 2015-11-05 10:18:24 -08:00
list_windows.go Windows: Add isolation to ps filter 2015-11-05 10:18:24 -08:00
logdrivers_linux.go Add Splunk logging driver #16207 2015-10-23 13:37:53 -07:00
logdrivers_windows.go Enable Splunk logdriver for windows 2015-11-12 10:57:21 -08:00
logs.go Decouple daemon and container to configure logging drivers. 2015-11-04 12:27:49 -05:00
monitor.go Extract StreamConfig struct out of the daemon package. 2015-11-20 15:04:27 -05:00
mounts.go Refactor volume store's error usage 2015-11-10 20:33:29 -05:00
network.go Windows: [TP4] docker info crashes 2015-11-19 11:02:25 -08:00
pause.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
rename.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
resize.go Move exec store to its own package inside the daemon. 2015-11-20 17:40:16 -05:00
restart.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
selinux_linux.go Rename daemon/utils_*.go to selinux 2015-11-12 15:48:41 -08:00
selinux_unsupported.go Rename daemon/utils_*.go to selinux 2015-11-12 15:48:41 -08:00
start.go Make sure container start doesn't make the DNS fields nil. 2015-11-30 22:46:31 -05:00
state.go Refactor exitStatus structure 2015-11-09 08:26:35 -08:00
state_test.go Move setRunningLocking to test code 2015-09-28 13:48:12 -07:00
state_unix.go Refactor exitStatus structure 2015-11-09 08:26:35 -08:00
state_windows.go Refactor exitStatus structure 2015-11-09 08:26:35 -08:00
stats.go Merge pull request #16742 from runcom/10772-docker-stats-all 2015-11-07 19:41:03 +00:00
stats_collector_unix.go Decouple daemon and container from the stats collector. 2015-11-04 12:27:49 -05:00
stats_collector_windows.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
stats_freebsd.go Refactor the statistics of network in docker stats 2015-09-15 15:40:34 +08:00
stats_linux.go Refactor the statistics of network in docker stats 2015-09-15 15:40:34 +08:00
stats_windows.go Refactor the statistics of network in docker stats 2015-09-15 15:40:34 +08:00
stop.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
top_unix.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
top_windows.go Revert "Merge pull request #16228 from duglin/ContextualizeEvents" 2015-09-29 14:26:51 -04:00
unpause.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
volumes.go Remove the container initializers per platform. 2015-11-18 08:41:46 -05:00
volumes_unit_test.go Windows: Add volume support 2015-10-22 10:42:53 -07:00
volumes_unix.go Remove the container initializers per platform. 2015-11-18 08:41:46 -05:00
volumes_windows.go Remove the container initializers per platform. 2015-11-18 08:41:46 -05:00
wait.go Revert "Merge pull request #16228 from duglin/ContextualizeEvents" 2015-09-29 14:26:51 -04:00

README.md

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver

Code pertaining to storing images:

  • graphdriver