Chris Bednarski
3c1bb50da3
Change error to err to be consistent with other usage
2015-09-11 10:26:33 -07:00
Chris Bednarski
3862b0adb4
Fix typos
2015-09-10 11:35:03 -07:00
Chris Bednarski
0e7ebb7447
Change panic to a more helpful message
2015-09-09 19:04:06 -07:00
Chris Bednarski
6445e14755
Merge branch 'f-driver-config' into f-docker-resource-constraints
2015-09-09 18:47:35 -07:00
Chris Bednarski
8d4d9645d8
Replace logging and config with DriverContext, which allows us to expand the dependency injection without changing the interface
2015-09-09 18:06:23 -07:00
Chris Bednarski
44f04313e2
Add logger to the dockerHandle created by Open()
2015-09-09 13:43:28 -07:00
Chris Bednarski
0f57a2c077
Cleanup based on PR feedback
...
- Add validation that Resources.MemoryMB and Resources.CPU have non-zero values
- Change log calls to use logger whenever possible
- Change log format to add colon after driver.docker
2015-09-09 13:35:10 -07:00
Chris Bednarski
92ca9c4679
Added preliminary resource constraints for docker; CPU and Memory
2015-09-09 01:08:31 -07:00
Chris Bednarski
f911a24837
Added config to drivers; needed for docker driver to get the socket endpoint
2015-09-08 12:43:02 -07:00
Chris Bednarski
abafe3b7c4
Removed debug logging
2015-09-03 21:08:14 -07:00
Chris Bednarski
cedd26851e
Added tests for docker, improved logging, and fixed a few bugs
2015-09-03 21:00:16 -07:00
Chris Bednarski
fca3881657
Added initial implementation for the docker driver; tests pending
2015-09-03 12:35:22 -07:00