alpha
Login
or
Join now
gazagnaire.org
/
ocaml-docker
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Docker Engine API types and codecs in pure OCaml
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ocaml-docker
/
test
/
interop
/
dockerd
/
at
main
2 folders
2 files
Thomas Gazagnaire
ocaml-docker: adopt the @traces interop alias
7w ago
f6834607
scripts
docker: capture errors as a typed value; add /info and conformance traces Errors: a failed request is now captured as `Docker.Error` carrying the HTTP status and the daemon's message. The client decodes the `{"message": ...}` error body instead of reporting a flat "unexpected HTTP status" string, and wraps transport failures (no daemon at the socket) as a status-0 error rather than letting the exception escape. New endpoint: GET /info, modelled as a useful scalar subset of the large info object (ignoring unmodelled members). Exposed as `Client.info` and the `dockr info` subcommand. Conformance: commit two more read-only captures from a real daemon -- the versioned path /v1.53/version (version negotiation) and a 404 error body -- and assert our codecs decode them. /info is covered by a synthetic unit test plus the live client test, not a committed trace, since the real /info carries host-specific data.
2 months ago
traces
docker: capture errors as a typed value; add /info and conformance traces Errors: a failed request is now captured as `Docker.Error` carrying the HTTP status and the daemon's message. The client decodes the `{"message": ...}` error body instead of reporting a flat "unexpected HTTP status" string, and wraps transport failures (no daemon at the socket) as a status-0 error rather than letting the exception escape. New endpoint: GET /info, modelled as a useful scalar subset of the large info object (ignoring unmodelled members). Exposed as `Client.info` and the `dockr info` subcommand. Conformance: commit two more read-only captures from a real daemon -- the versioned path /v1.53/version (version negotiation) and a 404 error body -- and assert our codecs decode them. /info is covered by a synthetic unit test plus the live client test, not a committed trace, since the real /info carries host-specific data.
2 months ago
dune
ocaml-docker: adopt the @traces interop alias
1 month ago
test.ml
tree: reformat for the upgraded ocamlformat Comment reflow and header reindent produced by the new ocamlformat; no code changes.
1 month ago