bwu_docker 0.3.0
bwu_docker: ^0.3.0 copied to clipboard
Typed Dart client for the Docker JSON remote API. Makes it easy to automate Docker tasks or build a Docker-dashboard.
Unreleased #
- Some code restructuring because at some point it seemed necessary to split code int pre 1.20 and 1.20 or higher but actually wasn't.
- Doesn't throw on unexpected JSON items anymore. This can be enabled by setting
bool doCheckSurplusItems = true; - Partial support for Docker API v 1.20 and v.121 # TODO (zoechi) implement all new features
- support in
DockerConnectionto use a specific remote API version - improve Docker container creation for running tests
- apply new dartformat
- update config for linter (Grinder task)
- Started implementation of a
runtask- add
publishparameter - add
rmparameter - add
linkparameter
- add
- Breaking change:
- Changed the
PortBindingsstructure and implementation (fromJson/toJson)
- Changed the
0.2.1 #
- Support for Docker API v 1.19
- DockerConnection now takes an Uri instead of parts
- Test and grinder read DOCKER_HOST_REMOTE environment variable to find the Docker service
- A http.client needs to be passed to DockerConnection to allow to use it also in the browser
- change
toJson()methods so that only fields != null are added to the JSON output.