Commit Graph

12 Commits

Author SHA1 Message Date
Adam Wolfe Gordon e3c133a73a storage: Add support for volume formatting
Add support for creating formatted volumes, and reading the format of
existing volumes.
2018-05-23 16:36:13 -06: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
andrewsykim 2594011128 storage: list volumes should handle only name or only region params 2017-11-26 18:50:57 -05: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
Andrew Starr-Bochicchio d66c754738 Support creating Volumes from snapshots. 2017-03-17 16:10:40 -04:00
Antoine Grondin dc14e4b04d add context.Context to all calls 2017-02-23 14:25:29 -05:00
Dan Norris 595953f5ab Add ability to query for a storage volume by name
This allows you to get a volume by name and region which corresponds to
calling:

```
/v2/volumes?name=$NAME&region=$REGION
```
2017-02-16 23:44:22 -08:00
Phillip Baker 758b5be38e Merge pull request #114 from digitalocean/update/storage-beta
Remove betastorageservice, in production.
2016-12-03 17:00:15 -05:00
Phillip Baker 8fdd58bf1e Remove betastorageservice, in production. 2016-12-03 16:54:52 -05:00
Phillip Baker e715166fe5 Add snapshots endpoints, unify code with storage snapshots. 2016-11-18 11:26:43 -05:00
Antoine Grondin 979e3b310f storage: support for storage API 2016-06-27 13:45:59 -04:00