moby/api/types
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
..
backend refactor logs and support service logs /w tty 2017-04-06 17:54:11 -07:00
blkiodev Add engine-api types to docker 2016-09-07 11:05:58 -07:00
container Added start period option to health check. 2017-04-06 12:35:34 +02:00
events Add engine-api types to docker 2016-09-07 11:05:58 -07:00
filters use t.Fatal() to output the err message where the values used for formatting 2017-02-23 10:16:22 +08:00
image Set expected response headers for Ping. 2017-01-03 11:47:47 -05:00
mount Add 'consistent', 'cached', and 'delegated' mode flags 2017-03-01 18:13:47 +00:00
network Enhance network inspect to show all tasks, local & non-local, in swarm mode 2017-03-13 17:52:08 -07:00
plugins/logdriver Implement plugins for logging drivers 2017-04-10 13:17:20 -04:00
registry hack/swagger-gen.sh is not exist, it should be /hack/generate-swagger-api.sh 2016-11-22 16:32:32 +08:00
strslice Add engine-api types to docker 2016-09-07 11:05:58 -07:00
swarm Merge pull request #32339 from aluzzardi/selinux 2017-04-08 01:37:17 +02:00
time fix typo in api/types/time/timestamp.go 2017-01-14 14:16:03 +08:00
versions Merge pull request #28651 from YuPengZTE/devMD002 2016-11-22 13:11:37 +01:00
volume hack/swagger-gen.sh is not exist, it should be /hack/generate-swagger-api.sh 2016-11-22 16:32:32 +08:00
auth.go Add engine-api types to docker 2016-09-07 11:05:58 -07:00
client.go Merge pull request #31022 from jmzwcn/issue30994 2017-03-31 15:55:03 -07:00
configs.go Enforce zero plugin refcount during disable. 2016-12-22 13:26:53 -08:00
error_response.go Update to inline comments. 2016-10-31 11:13:41 -04:00
graph_driver_data.go Generate GraphDriver from spec, and fix up image spec. 2017-01-03 11:47:47 -05:00
id_response.go Add an IDResponse type 2016-10-31 11:16:02 -04:00
image_delete_response_item.go Generate ImageDeleteResponse from swagger spec. 2017-01-03 11:47:47 -05:00
image_summary.go Generate api/types:Image from the swagger spec 2016-10-20 13:24:23 -07:00
plugin.go Embed DockerVersion in plugin config. 2017-03-22 10:26:20 -07:00
plugin_device.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_env.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_interface_type.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_mount.go Generate plugin types from the swagger spec. 2016-10-20 13:24:23 -07:00
plugin_responses.go Rewrite the function 'validatePrivileges' without checking order 2017-02-04 08:47:40 +08:00
port.go Generate api/types:Port from swagger spec. 2016-10-20 13:24:23 -07:00
seccomp.go change minor mistake of spelling 2016-12-20 21:05:19 +08:00
service_update_response.go Return warnings from service create and service update when digest pinning fails 2016-11-18 09:31:31 -08:00
stats.go Correct CPU usage calculation in presence of offline CPUs and newer Linux 2017-03-10 10:24:33 +00:00
types.go Allow user to modify ingress network 2017-03-26 15:46:18 -07:00
volume.go Return warnings from service create and service update when digest pinning fails 2016-11-18 09:31:31 -08:00