Commit Graph

10 Commits

Author SHA1 Message Date
Timo Reimann 38b71c3469 Deserialize meta field for remaining APIs 2019-12-12 09:46:43 +01:00
Andrew Starr-Bochicchio c4ae66932b
Add support for creating custom images and listing images by tag. (#186)
* Add support for creating custom images.

* Add support for listing images by tag.

* Use http method constants.
2018-11-13 14:55:25 -05:00
Guus van Weelden 9e24e26f6b use http.MethodX instead of "GET"/"POST"/"DELETE" 2017-07-02 13:55:56 +02:00
Antoine Grondin dc14e4b04d add context.Context to all calls 2017-02-23 14:25:29 -05:00
Sébastien Fievet 20712022a4 Add Created attribute to Image 2015-06-17 19:07:09 +02:00
Raphael Simon fc8ecd5bc6 Add missing APIs to Images service.
The following were added:

* Images.ListDistribution() for GET /v2/images?type=distribution
* Images.ListApplication() for GET /v2/images?type=application
* Images.ListUser() for GET /v2/images?private=true
* Images.GetByID() for GET /v2/images/12345
* Images.GetBySlug() for GET /v2/images/ubuntu
* Images.Update() for PUT /v2/images/12345
* Images.Delete() for DELETE /v2/images/12345
2015-04-22 17:55:01 -07:00
bryanl 14a4b3f281 Remove testing Implements
Make adherenence to interface a compile type rather than a test time check.
2015-03-21 15:42:48 -04:00
bryanl 96accbf5e9 Update to current API spec
* Allow requesting pages in lists by number
* Add tooling to allow examination of page links if they exist
* Add domain management CRUD
2014-09-08 20:36:11 -04:00
bryanl 4b5588d885 Services are interfaces
* Converted services to interfaces to make testing with them
in downstream projects easier to do.
* Removed testify dependency.
2014-09-04 16:22:37 -04:00
bryanl b4bec8f557 initial commit 2014-09-03 10:20:10 -04:00