Tim Fogarty
d6417d85b8
Remove updrage droplet action (deprecated)
...
The upgrade droplet action is no longer supported by the v2 API.
It returns "410 The specified action type is no longer available".
This removes the Upgrade method from the DropletActionsService.
2018-05-10 14:00:22 -07:00
Guus van Weelden
9e24e26f6b
use http.MethodX instead of "GET"/"POST"/"DELETE"
2017-07-02 13:55:56 +02:00
Marko Mudrinić
4b0ca2dac1
droplet_actions: return array of actions instead of action tagged resources
2017-04-29 23:08:00 +02:00
Antoine Grondin
dc14e4b04d
add context.Context to all calls
2017-02-23 14:25:29 -05:00
Nan Zhong
1eaf6161c0
Update droplet and actions endpoints with tagging support
2016-03-17 01:45:16 -04:00
Mike Holly
05bc1ae125
Added EnableBackups plus tests
2015-11-05 16:02:24 -08:00
Raphael Simon
acbcf2a70a
Add missing droplet actions.
...
This includes the following DropletActions service methods:
DisableBackups, PasswordReset, RebuildByImageID(), RebuildByImageSlug(), ChangeKernel(), EnableIPv6(), EnablePrivateNetworking() and Upgrade().
2015-04-21 13:16:35 -07:00
Bryan Liles
4a70bc6049
Merge pull request #33 from digitalocean/remove-implements-check
...
Remove testing Implements
2015-03-23 07:37:21 -04: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
f1424cedf5
Add missing error checks
...
Adds missing error checks to godo. Ensures calls to Client.Do and json decoding are evaluated when neccessary.
2015-03-21 15:21:49 -04:00
Phillip Baker
68fe5fa87e
Add boolean disk option to Resize droplet action.
2015-03-07 15:09:54 -05:00
Andrew Starr-Bochicchio
6a3dd9b3aa
Move TestDropletAction_Snapshot above TestDropletActions_Get with the other individual actions.
2015-02-19 23:08:08 -05:00
Andrew Starr-Bochicchio
91ca99d4a8
Add support for DropletActions.Snapshot.
2015-02-19 21:22:03 -05:00
Cheah Chu Yeow
5d63534b57
Use correct action names in test.
2014-11-12 09:09:13 +00:00
Cheah Chu Yeow
c83a4b9973
Flatten droplet actions params to match the current API spec.
...
E.g.
{
"type": "resize",
"size": "1gb"
}
instead of
{
"type": "resize",
"params": {
"size": "1gb"
}
}
2014-11-12 09:06:15 +00:00
Daniel, Dao Quang Minh
c2a4a75927
add support for PowerOn
...
as specified in https://developers.digitalocean.com/v2/#power-on-a-droplet
2014-09-18 03:42:59 -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