Skip to content

go IDB API v3 library generated from swagger specifications

License

Notifications You must be signed in to change notification settings

idb-project/go-idb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-idb

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

usage

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).

generating the client package

to (re-)generate the client, install go-swagger.

with go swagger installed, you can run

make client

which regenerates the client.

example

an example how to manage machine objects can be found in cmd/machines.

About

go IDB API v3 library generated from swagger specifications

Resources

License

Stars

Watchers

Forks

Packages

No packages published