docker-events
Create an event emitter from dockerode's events response
Overview
Docker exposes an event API, allowing one to monitor the happenings of a Docker host. dockerode allows for consumption of this API, albeit in a very raw form. docker-events does a bit of work for you, turning the raw API of dockerode into something a little more high-level by parsing the response stream and pushing things out of an EventEmitter.
API
DockerEvents (constructor)
var emitter = docker: options;
start
emitterstart;
stop
emitter;
#connect
emitter;
#disconnect
emitter;
#_message
emitter;
#create
emitter;
#start
emitter;
#stop
emitter;
#die
emitter;
#destroy
emitter;
License
3-clause BSD. A copy is included with the source.
Contact
- GitHub (deoxxa)
- Twitter (@deoxxa)
- Email (deoxxa@fknsrs.biz)