Commit Graph

12 Commits

Author SHA1 Message Date
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