1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Brian Goff 27bd6842f8 Implement plugins for logging drivers
Logging plugins use the same HTTP interface as other plugins for basic
command operations meanwhile actual logging operations are handled (on
Unix) via a fifo.

The plugin interface looks like so:

```go
type loggingPlugin interface {
  StartLogging(fifoPath string, loggingContext Context) error
  StopLogging(fifoPath)
```

This means a plugin must implement `LoggingDriver.StartLogging` and
`LoggingDriver.StopLogging` endpoints and be able to consume the passed
in fifo.

Logs are sent via stream encoder to the fifo encoded with protobuf.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-04-10 13:17:20 -04:00
..
caps
cluster Merge pull request #32339 from aluzzardi/selinux 2017-04-08 01:37:17 +02:00
config Deprecate --graph flag; Replace with --data-root 2017-03-30 11:24:56 +02:00
discovery The returned err should be printed 2017-03-29 09:00:50 +08:00
events Use distribution reference 2017-02-07 11:08:37 -08:00
exec
graphdriver Windows: graph cleanup '-removing' 2017-03-20 09:15:27 -07:00
initlayer Implement content addressability for plugins 2016-12-23 13:29:58 -08:00
links use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
logger Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
network
stats Correct CPU usage calculation in presence of offline CPUs and newer Linux 2017-03-10 10:24:33 +00:00
apparmor_default.go daemon: switch to 'ensure' workflow for AppArmor profiles 2016-12-07 08:47:28 +11:00
apparmor_default_unsupported.go daemon: switch to 'ensure' workflow for AppArmor profiles 2016-12-07 08:47:28 +11:00
archive.go Add support for COPY from previous rootfs 2017-03-23 15:12:15 -07:00
archive_unix.go Windows: Fail fs ops on running Hyper-V containers gracefully 2017-03-15 13:31:41 -07:00
archive_windows.go Windows: Fail fs ops on running Hyper-V containers gracefully 2017-03-15 13:31:41 -07:00
attach.go Resolve connection reset by peer regression 2017-03-15 09:36:44 +00:00
auth.go
bindmount_solaris.go
bindmount_unix.go
cache.go Extract the daemon image cache to its own package 2017-01-03 19:19:27 +01:00
changes.go
checkpoint.go 28755: Proper error handling for checkpoint conflict 2017-04-04 05:18:19 +00:00
cluster.go Add NetworkManager and ClusterStatus interfaces 2017-03-28 16:35:14 +02:00
commit.go Added start period option to health check. 2017-04-06 12:35:34 +02:00
container.go Added start period option to health check. 2017-04-06 12:35:34 +02:00
container_linux.go Added an apparmorEnabled boolean in the Daemon struct to indicate if AppArmor is enabled or not. It is set in NewDaemon using sysInfo information. 2017-01-30 16:23:23 +01:00
container_operations.go Fix start/restart of detached container 2017-03-22 02:38:26 -07:00
container_operations_solaris.go
container_operations_unix.go Introduce a CheckContainer to remove duplication 2017-02-28 11:11:48 +01:00
container_operations_windows.go (*) Support --net:container:<containername/id> for windows 2017-02-28 20:03:43 -08:00
container_windows.go Added an apparmorEnabled boolean in the Daemon struct to indicate if AppArmor is enabled or not. It is set in NewDaemon using sysInfo information. 2017-01-30 16:23:23 +01:00
create.go don't obfuscate error during create 2017-04-03 21:04:40 -04:00
create_unix.go
create_windows.go Windows: Revert 27884 2016-11-16 13:38:45 -08:00
daemon.go Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
daemon_experimental.go
daemon_linux.go Add Windows specific exec root for plugins. 2017-02-02 14:00:12 -08:00
daemon_linux_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
daemon_solaris.go Add daemon flag to set no_new_priv as default for unprivileged containers. 2017-02-16 19:05:14 +08:00
daemon_test.go rewrite reload code 2017-02-15 21:57:27 +08:00
daemon_unix.go Merge pull request #31827 from erikstmartin/master 2017-04-03 22:39:49 +02:00
daemon_unix_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
daemon_unsupported.go
daemon_windows.go Windows:Revert change to wait for OOBE 2017-03-27 14:32:18 -07:00
debugtrap.go Reduce spew data dumped 2016-11-17 13:10:48 -05:00
debugtrap_unix.go
debugtrap_unsupported.go
debugtrap_windows.go
delete.go Fix the rm error message when a container is restarting/paused 2017-03-10 00:39:16 +02:00
delete_test.go create unit tests for rm (running, paused, restarting) errormessages 2017-04-03 21:58:05 +02:00
disk_usage.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
errors.go Use distribution reference 2017-02-07 11:08:37 -08:00
events.go
events_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
exec.go Fix #303111: dockerd leaks ExecIds on failed exec -i 2017-02-10 21:13:00 +02:00
exec_linux.go daemon: also ensureDefaultApparmorProfile in exec path 2017-03-13 15:20:05 +11:00
exec_solaris.go
exec_windows.go
export.go
getsize_unix.go Don’t hold container lock for size calculation 2017-02-18 18:11:48 -08:00
health.go Added start period option to health check. 2017-04-06 12:35:34 +02:00
health_test.go Added start period option to health check. 2017-04-06 12:35:34 +02:00
image.go Use distribution reference 2017-02-07 11:08:37 -08:00
image_delete.go Use distribution reference 2017-02-07 11:08:37 -08:00
image_exporter.go
image_history.go Use distribution reference 2017-02-07 11:08:37 -08:00
image_inspect.go Use distribution reference 2017-02-07 11:08:37 -08:00
image_pull.go Use distribution reference 2017-02-07 11:08:37 -08:00
image_push.go Use distribution reference 2017-02-07 11:08:37 -08:00
image_tag.go Use distribution reference 2017-02-07 11:08:37 -08:00
images.go Ignore layer does not exist error from docker images 2017-03-16 09:21:51 +08:00
import.go Fix the create API when fromSrc has a bad URL 2017-03-26 15:21:13 +03:00
info.go sort volume drivers and auth plugins in info response 2017-02-01 12:01:49 +08:00
info_unix.go Update "tini --version" parsing to be more forgiving of Tini's output format (release build vs git build) 2017-03-28 15:18:39 -07:00
info_windows.go api: types: keep info.SecurityOptions a string slice 2016-11-19 13:21:16 +01:00
inspect.go Don’t hold container lock for size calculation 2017-02-18 18:11:48 -08:00
inspect_solaris.go
inspect_unix.go Don’t hold container lock for size calculation 2017-02-18 18:11:48 -08:00
inspect_windows.go
keys.go
keys_unsupported.go change minor mistake of spelling 2016-12-20 21:05:19 +08:00
kill.go fix nits in comments 2016-12-27 23:30:50 +08:00
links.go Windows: Factor out sqlite 2016-12-01 09:38:08 -08:00
list.go 28722: List of containers with networkID filter is not working 2017-03-31 08:57:09 +00:00
list_unix.go
list_windows.go
logdrivers_linux.go
logdrivers_windows.go
logs.go refactor logs and support service logs /w tty 2017-04-06 17:54:11 -07:00
logs_test.go
metrics.go
monitor.go Ensure health probe is stopped when a container exits 2017-04-03 09:57:04 -07:00
monitor_linux.go
monitor_solaris.go
monitor_windows.go
mounts.go
names.go Use quoted form of container name and container id 2017-01-17 08:26:05 +00:00
network.go Daemon to take care of ingress cleanup on leave & shutdown 2017-04-05 16:31:43 -07:00
oci_linux.go Allow adding rules to cgroup devices.allow on container create/run 2017-01-26 07:20:45 -08:00
oci_solaris.go
oci_windows.go Windows: Unify workdir handling 2017-02-02 11:25:07 -08:00
pause.go
prune.go Fix docker system prune failing with Swarm mode disabled 2017-03-28 16:35:24 +02:00
reload.go rewrite reload code 2017-02-15 21:57:27 +08:00
reload_test.go use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
rename.go Fix rename error when sid is empty 2017-01-11 21:35:59 +08:00
resize.go
restart.go
search.go
search_test.go Remove redundant format 2016-12-27 21:46:52 +08:00
seccomp_disabled.go
seccomp_linux.go
seccomp_unsupported.go
secrets.go do not force target type for secret references 2016-11-17 15:49:02 -05:00
secrets_linux.go
secrets_unsupported.go
selinux_linux.go
selinux_unsupported.go
start.go Fix some data races 2017-02-01 14:43:58 -05:00
start_unix.go daemon: honor default runtime when starting containers 2017-01-12 20:36:22 +01:00
start_windows.go (*) Support --net:container:<containername/id> for windows 2017-02-28 20:03:43 -08:00
stats.go Send "Name" and "ID" when stating stopped containers 2017-02-09 09:46:59 +08:00
stats_collector.go Extract daemon statsCollector to its own package 2017-01-04 18:18:30 +01:00
stats_unix.go
stats_windows.go
stop.go fix nits in comments 2016-12-27 23:30:50 +08:00
top_unix.go Fixing issue of docker top command failure when dealing with -m option 2017-03-10 02:50:21 +00:00
top_unix_test.go Fixing issue of docker top command failure when dealing with -m option 2017-03-10 02:50:21 +00:00
top_windows.go Convert ContainerTopOKResponse from swagger spec. 2017-01-03 11:47:47 -05:00
unpause.go
update.go Fix update clear the restart policy of monitor 2016-12-16 20:57:05 -05:00
update_linux.go
update_solaris.go
update_windows.go
volumes.go Remove undeeded and broken selinux relabel call 2017-03-22 14:43:33 -04:00
volumes_unit_test.go
volumes_unix.go close the file 2016-11-21 19:56:01 +08:00
volumes_windows.go fix some typos from module contrib to man 2017-02-18 10:08:55 +08:00
wait.go
workdir.go Ignore the daemon log config when building images. 2017-01-30 10:59:19 -05:00