Vivian Fang
d9494d316f
Fix droplet JSON to support VolumeIDs
...
Before this patch, the Droplet struct had the wrong JSON key for
VolumeIDs, so volumes would not be reflected in a Droplet query.
2016-11-14 23:30:41 -08:00
Michael Chittenden
a2c1274e95
Merge pull request #107 from digitalocean/feature/droplet-create-tags
...
Add Tags attribute to droplet create
2016-11-11 12:24:20 -05:00
Mike Chittenden
82ae4350ef
Add Tags attribute to droplet create
2016-11-09 10:57:33 -05:00
Edward Viaene
950397c9c1
Adds DetachByDropletID
2016-11-07 16:55:44 +00:00
Bryan Liles
2ff8a02a86
Merge pull request #104 from chaseadamsio/cleanup-createImageMarshalJSON
...
organizes dropletCreateImage MarshalJSON declaration
2016-09-09 13:14:55 -04:00
Chase Adams
eaefd48803
organizes dropletCreateImage MarshalJSON declaration
2016-09-09 09:56:11 -07:00
Bryan Liles
9ce324a2b8
Merge pull request #94 from shawnps/master
...
gofmt -s
2016-09-09 10:20:35 -04:00
Bryan Liles
27d2cca254
Merge pull request #93 from shawnps/patch-1
...
use Errorf
2016-07-17 21:30:36 -04:00
Andrew Starr-Bochicchio
25f12cd684
Merge pull request #101 from digitalocean/asb/feature/resize
...
Add support for resizing volumes.
2016-07-17 15:31:04 -04: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
e03ac28c3d
Merge pull request #89 from digitalocean/beta-storage-blockstore
...
storage: support for beta storage API
2016-06-27 15:55:12 -04:00
Antoine Grondin
979e3b310f
storage: support for storage API
2016-06-27 13:45:59 -04:00
Bryan Liles
cacf7fa36e
Merge pull request #100 from tbalthazar/issue-99
...
Changing the User Agent doesn't work as expected
2016-06-14 11:25:00 -04:00
Bryan Liles
1d54c91f87
Merge pull request #98 from tbalthazar/issue-97
...
Make sure godo.New() init the different services
2016-06-14 11:20:45 -04:00
Thomas Balthazar
cb325e7136
Changing the User Agent doesn't work as expected
...
Fixes #99
2016-06-14 17:17:36 +02:00
Thomas Balthazar
22de7c48d5
Make sure Client.New() init the different services
...
Fixes #97
2016-06-14 16:37:22 +02:00
Antoine Grondin
df6258cbd3
Merge pull request #96 from digitalocean/fix-go1-7
...
remove JSON invalid encoding test
2016-06-09 17:08:31 -04:00
Antoine Grondin
8897364455
remove JSON invalid encoding test
...
> Go 1.7 adds support for maps using keys with integer types: the
> encoding uses a quoted decimal representation as the JSON key.
in: https://tip.golang.org/doc/go1.7 , under encoding/json
2016-06-09 16:38:35 -04:00
Shawn Smith
b7d45eeceb
gofmt -s
2016-05-13 01:38:34 +09:00
Shawn Smith
0111175c7b
use Errorf
2016-05-13 01:34:11 +09:00
Bryan Liles
1124654416
Merge pull request #92 from digitalocean/options-initializer
...
create functional option based initializer for Client
2016-04-25 15:38:15 -04:00
bryanl
2db8830c36
create functional option based initializer for Client
2016-04-24 12:54:55 -04:00
Bryan Liles
d5eb35143c
Merge pull request #90 from digitalocean/add-tag-to-droplet
...
Add tags to droplets
2016-04-19 12:37:23 +02:00
bryanl
3bd6277a85
Add tags to droplets
2016-04-19 12:32:42 +02:00
Bryan Liles
859ab8f925
Merge pull request #82 from digitalocean/feature/tagging
...
Add support for tagging api
2016-03-22 20:32:49 -04:00
Nan Zhong
960a9c905e
Use a enum to represent resource type
2016-03-22 10:25:22 -04:00
Nan Zhong
a294b449f7
Fix incorrect query param
2016-03-17 02:18:20 -04:00
Nan Zhong
25d8c5d1b6
Add some comments to tags service
2016-03-17 01:52:54 -04:00
Nan Zhong
1eaf6161c0
Update droplet and actions endpoints with tagging support
2016-03-17 01:45:16 -04:00
Nan Zhong
78b1e66bf2
Add tagging to godo
2016-03-17 00:34:29 -04:00
Bryan Liles
719e6da3ef
Merge pull request #81 from digitalocean/remove-droplet-actionid
...
Remove ActionIDs from Droplets
2016-03-01 06:36:24 -05:00
bryanl
145e3fbd9b
Remove ActionIDs from Droplets
...
ActionIDs for Droplets were removed a while go. This removes support the API client.
2016-02-29 19:44:37 -05:00
Bryan Liles
6ca5b770f2
Merge pull request #79 from digitalocean/rate-limit-fix
...
updating rate limit headers
2016-01-30 12:11:22 -05:00
bryanl
d1aa3987e9
updating rate limit headers
2016-01-30 11:48:30 -05:00
Bryan Liles
0293606a28
Merge pull request #78 from digitalocean/droplet-interfaces
...
Expose convenience methods to expose droplet IPs
2016-01-30 10:01:10 -05:00
bryanl
0155e46933
Expose convenience methods to expose droplet IPs
...
Introduces new functions for `github.com/digitalocean/droplet` to make fetching IP address easier.
* PublicIPv4
* PublicIPv6
* PrivateIPv4
2016-01-30 09:56:51 -05:00
Antoine Grondin
f75d769b07
Merge pull request #76 from Atul9/master
...
Update copyright notice to 2016 [ci skip]
2016-01-23 14:26:26 -05:00
icosahedral
8cf8f9e2fd
Merge pull request #77 from bjorand/patch-1
...
Fix typo in godo.go comment
2016-01-22 18:27:30 -05:00
Benjamin Jorand
c1326f1c9d
Fix typo in godo.go comment
2016-01-23 00:01:18 +01:00
Atul Bhosale
9fece28f12
Update copyright notice to 2016 [ci skip]
2016-01-03 19:46:24 +05:30
Bryan Liles
2688c11a02
Merge pull request #75 from digitalocean/feature/multiple-droplet-create
...
Multiple droplet create support
2015-12-14 16:35:43 -05:00
Mike Chittenden
3978e9d3ba
Multiple droplet create support
2015-12-14 16:11:51 -05:00
Bryan Liles
ddf63a4cb0
Merge pull request #74 from franciscod/dropletkernel
...
make current kernel available in a Droplet
2015-12-03 17:33:40 -05:00
Francisco Demartino
7b30f84482
make current kernel available in a Droplet
...
it was already available in the fetched JSON
2015-12-02 09:18:32 -03:00
Adam Michel
ccd7d9b6bb
Merge pull request #73 from digitalocean/feature/add-floating-ip-limit
...
Add FloatingIPLimit to Account
2015-11-30 10:23:28 -05:00
Adam Michel
09c1ef1164
Add FloatingIPLimit to Account type.
2015-11-24 10:42:14 -05:00
Bryan Liles
4ac7bea157
Merge pull request #72 from andrewsomething/master
...
Accept ListOptions for FloatingIPActions.List
2015-11-23 12:10:46 -05:00
Andrew Starr-Bochicchio
08e2c97293
Accept ListOptions for FloatingIPActions.List
2015-11-21 18:09:43 -05:00
Bryan Liles
2124bf3eee
Merge pull request #71 from carlosdp/floating-ip-action-read
...
Add List action for Floating IP Actions
2015-11-20 20:59:31 -05:00