dotcloud/docker — pull request #2352 by shykes (2013-10-23 08:11:21+00:00)
Title: Engine links

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.
* Centralize checks for supported architectures and kernel versions into engine.

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