1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack
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
..
dockerfile update containerd to 9048e5e50717ea4497b757314bad98ea3763c145 2017-03-31 19:47:05 +03:00
integration-cli-on-swarm Merge pull request #31683 from AkihiroSuda/it-on-swarm-easy-analysis 2017-03-28 15:50:52 +02:00
Jenkins Update docker daemon to dockerd 2016-12-27 17:32:15 +08:00
make do not show errors on make install 2017-04-04 15:19:50 +02:00
validate Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
dind Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
generate-authors.sh Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00
generate-swagger-api.sh Convert ContainerTopOKResponse from swagger spec. 2017-01-03 11:47:47 -05:00
install.sh Fix install.sh of get.docker.com for debian-sudo 2017-04-07 05:07:22 +02:00
make.ps1 Switch to new versioning scheme 2017-02-15 23:22:50 -08:00
make.sh Fix inContainer detection which CROSSPLATFORM env variable missing 2017-03-02 14:36:37 +01:00
release.sh Update SKIP_RELEASE_BUILD to only check for the string "1" (so it has to be exactly "SKIP_RELEASE_BUILD=1" to skip the release build) 2017-04-06 11:56:26 -07:00
vendor.sh Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash" 2017-02-13 11:01:54 -08:00