Commit Graph

17 Commits

Author SHA1 Message Date
Timo Reimann 38b71c3469 Deserialize meta field for remaining APIs 2019-12-12 09:46:43 +01:00
Austin 860ee9fb0f update tags.go to include volume snapshots and databases 2019-12-09 23:18:43 -06:00
Austin fa6f5161bb update VolumeSnapshotResourceType volumesnapshot -> volume_snapshot 2019-11-22 07:28:42 -08:00
Adam McCarthy 789fc87f37 Fix omitempty typos in JSON struct tags
These fields were incorrectly tagged with `omit_empty`, when the correct
tag is `omitempty`.
2019-06-16 11:19:17 -07:00
Cody Baker cc58c69571 add support for tagging snapshots 2019-04-19 14:36:46 -04:00
Timo Reimann 5b3952aaf8 Add resource type for load-balancers.
Dedicated tagged resources were not added because the API does not
expose any LB-related information yet.
2019-03-01 22:06:50 +01:00
Mike Chittenden 8337f258c0 allow tagging volumes 2019-02-12 13:55:59 -05:00
Hugo Corbucci b68700bad8 Add support to tagging images 2018-10-01 12:20:47 -04: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
Mike Chittenden 2f4c9ca7af Deprecate tag rename (PUT /v2/tags/:name) 2017-04-07 10:53:34 -04: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
Nan Zhong 960a9c905e Use a enum to represent resource type 2016-03-22 10:25:22 -04:00
Nan Zhong 25d8c5d1b6 Add some comments to tags service 2016-03-17 01:52:54 -04:00
Nan Zhong 78b1e66bf2 Add tagging to godo 2016-03-17 00:34:29 -04:00