contained here is a client for the IDB API v3, generated from swagger specification served by the IDB
at /api/v3/swagger_doc.json
using go-swagger.
this package supersedes https://github.com/idb-project/idbclient
just import the client and model packages and install their required dependencies (in your project), preferably by using dep:
dep init
this will vendorize and manage this package (and your other imports).
to (re-)generate the client, install go-swagger.
with go swagger installed, you can run
make client
which regenerates the client.
an example how to manage machine objects can be found in cmd/machines
.