dotcloud/docker — pull request #2329 by shykes (2013-10-22 05:52:45+00:00)
Title: Minimal, unintrusive implementation of a cleaner Job API.

* Implement a new package: engine. It exposes a useful but minimalist job API.
* Refactor main() to instanciate an Engine instead of a Server directly.
* Refactor server.go to register an engine job.

This is the smallest possible refactor which can include the new Engine design into master. More gradual refactoring will follow.