Commit Graph

5 Commits

Author SHA1 Message Date
James Parker
79d00d9c53 Squash commits into one.
...leaving the original commit messages below:

- Docker.Http compiles
- preliminary updates
- Using requestHelper for a few more functions
- check expected status codes for a given endpoint
- split up requestHelper by adding parseResponse. Updated create opts for
  docker api 1.24
- DockerT instances
- outline for inspect container. fixed some warnings
- generalize http handlers
- monadio instance
- switch to statusCodeToError from expectedStatusCode
- added tlssettings for client auth
- small change
- hide constructors for ContainerID and ImageID
- preliminary whitelist for ImageID and ContainerID
- types for container details and network settings
- include HostConfig and NetworkSettings in ContainerDetails
- some aeson instances
- more aeson instances
- Implemented getContainerLogs
- some aeson instances
- more aeson instances
- more aeson instances
- Re-export some functionality and hide others
- rewrote tests for new api
- added supported ciphers for ssl
- tests for ssl
- ability to set CA
- takes care of #10
- use CA in tests

Squashing more commits from both myself(Deni) and James into this one:

- Get rid of compiler warnings
- Mostly just unused imports and such.
- Removes old commented out code
- Adds defaultCreateOpts
  and some automatic style changes.
- Use local docker daemon in tests
  (for now without tls...)
- send POST bodies
- Sets application/json headers expliclty.
- Makes tests pass.
- Added ExposedPorts data type. Removed some manual
  to/from json instances in favour of ones generated by generics.
- Adds more json instance
  mostly pertaining to HostConfig
- Removes Storage driver options from HostConfig
  It's unclear from the docs and the go code how this is to be used
  and what it's for.
- Adds a better way to serialize CreateOpts
2016-07-26 17:23:13 +02:00
Deni Bertovic
e2bc554ed3 A few fixups
Fix default delete endpoint (pass in defaults).
Fix wrong function called in test.
Simplify Dockerfile for faster builds (but same result)
Bump default Docker Remote API version to 1.22

WARNING: Tests still fail though.
2016-02-23 17:34:14 +01:00
Deni Bertovic
113c911e6d Small change to Dockerfile for tests
We want to use the debian:jessie image (current stable)
and we want the install to be quick so we add --no-install-recommends
so it doesn't install a bunch of stuff besides python that's not needed
for the test suite.
2015-10-22 13:08:16 +02:00
Deni Bertovic
dce3ca667c Formatting fix for tests 2015-10-22 13:08:00 +02:00
Sebastian Meric de Bellefon
540b840e2d build with lts-1.15 and add tests
To build with stack:
- stack build
- stack test
2015-07-09 23:45:14 -04:00