Commit Graph

12 Commits

Author SHA1 Message Date
Timo Reimann 38b71c3469 Deserialize meta field for remaining APIs 2019-12-12 09:46:43 +01:00
Iheanyi Ekechukwu e6249e5059 Remove support for Go 1.6 (#166)
* Move DoRequest* to godo package with stdlib context

* Use stdlib context package in place of godo context.

* Remove Go 1.6 from TravisCI configuration.

* Use stdlib context in util and tests instead of godo context.

* Add in Go 1.8, 1.9, and 1.10 to TravisCI configuration.

* Put 1.10 in quotes.
2018-05-08 16:24:29 -04:00
Guus van Weelden 9e24e26f6b use http.MethodX instead of "GET"/"POST"/"DELETE" 2017-07-02 13:55:56 +02:00
akutz 8ed9e9ea6c Portable Go Context Usage
This patch updates the godo package to use a portable Go context -- a
Context that works with Go versions prior to Go 1.7 as well as Go 1.7
and onwards.
2017-04-07 15:32:33 -05:00
Kristian Klausen 34f0bb60fa Remove non-working Detach function
The function returns "422 Attachment not found" all the time (tested
with doctl), and the doc* also says that droplet id should be
specified.

* https://developers.digitalocean.com/documentation/v2/#remove-a-block-storage-volume-from-a-droplet
2017-03-30 03:09:19 +02:00
Antoine Grondin dc14e4b04d add context.Context to all calls 2017-02-23 14:25:29 -05:00
Term1nal b814e84f48 make linters happy 2016-12-20 16:00:17 -08:00
Phillip Baker 32a0d37dd3 Object roots should use a pointer to be consistent. 2016-11-18 16:27:27 -05:00
Edward Viaene 950397c9c1 Adds DetachByDropletID 2016-11-07 16:55:44 +00:00
Andrew Starr-Bochicchio f2d61272c8 Add List and Get for StorageActions for consistency with other resources. 2016-07-16 22:19:46 -04:00
Andrew Starr-Bochicchio 33bae1f789 Add support for resizing volumes. 2016-07-16 21:40:32 -04:00
Antoine Grondin 979e3b310f storage: support for storage API 2016-06-27 13:45:59 -04:00