Commit Graph

787 Commits

Author SHA1 Message Date
Phill Baker 95df6f9fb2 Merge pull request #20 from nesv/fix-json-unmarshal-error-ipv6-netmask
Fix inability to list droplets with IPv6 addresses
2015-02-20 14:19:39 -05:00
Nick Saika 483a68e37a New struct NetworkV6, rename struct Network -> NetworkV4.
This is due to there being a different in the type of the Netmask value,
when it is returned from the API server. For IPv4 networks, the netmask
is returned as a string. However, the netmask is returned as an int for
IPv6 networks.

Add tests for the new NetworkV6 type.
2015-02-20 14:14:47 -05:00
Mac Browning e68e4a83bc Merge pull request #19 from andrewsomething/master
Add support for DropletActions.Snapshot.
2015-02-19 23:15:17 -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
Bryan Liles 3c693f2940 Merge pull request #16 from bencevans/patch-1
Remove the oddly placed + from README
2015-01-27 13:17:10 -05:00
Ben Evans 9f551386c8 Remove the oddly placed + from README 2015-01-25 17:58:22 +00:00
bryanl e92ece3d59 adding travis status 2015-01-23 09:59:17 -05:00
Bryan Liles 815833b0b8 Merge pull request #13 from digitalocean/travis
hooking up travis
2015-01-23 09:55:16 -05:00
bryanl e7f31a1079 renamed godo's package 2015-01-23 09:20:31 -05:00
bryanl 2dd88c1ec3 updating expected test output 2015-01-23 09:20:22 -05:00
bryanl 134c000d6c don't need a makefile 2015-01-22 20:24:31 -05:00
bryanl a8b5c703d9 hooking up travis 2015-01-22 17:08:17 -05:00
Bryan Liles 6ae442f8d5 Merge pull request #9 from gianarb/master
Add creation date field
2015-01-20 14:00:40 -05:00
Bryan Liles c1418a9907 Merge pull request #10 from nitrous-io/fix-droplet-actions-params
Flatten droplet actions params to match the current API spec
2015-01-20 13:59:54 -05:00
Mac Browning c467db591a Merge pull request #12 from nathanleclaire/go_vet
Fix a few issues identified by go vet
2014-12-16 18:54:33 -05:00
Nathan LeClaire 934f2a8986 Fix a few issues identified by go vet
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2014-12-16 14:24:50 -08: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
Gianluca Arbezzano 90e430af72 Add creation date field 2014-11-02 23:38:31 +01:00
Antoine Grondin 5478aae806 Merge pull request #8 from digitalocean/userdata
Update Go API client to be closer to API spec
2014-10-16 12:12:54 -04:00
bryanl e1fc58dc46 Retrieve features for a region 2014-10-16 09:37:12 -04:00
bryanl 6fc81f4c7a Add all options to droplet create request
Added:

backups, ipv6, private_networking, user_data
2014-10-16 09:36:50 -04:00
bryanl b335d2a1ba If pages are empty, assume we are on last 2014-10-16 09:35:23 -04:00
Bryan Liles 1c064ed4c9 Merge pull request #7 from bfirsh/fix-example-in-readme
Fix example in readme
2014-09-22 16:21:52 -04:00
Ben Firshman a7066ece1f Fix example in readme
- client.Droplet doesn't exist
- Image takes a string, not an int
- Ubuntu image ID seems to have changed
2014-09-22 13:19:48 -07:00
bryanl 0a9eb5ac75 Merge branch 'nitrous-io-add-poweron' 2014-09-19 08:51:21 -04: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
Bryan Liles ed61c087bf Merge pull request #5 from digitalocean/bug/droplet-create-no-actions
Links aren't added to droplet create response
2014-09-10 17:57:46 -04:00
bryanl 09b1d317c4 Links aren't added to droplet create response
Links returned by the API were not added to the Droplet create response, so you couldn't inspect the URL to determine when a Droplet was created.
2014-09-10 17:28:44 -04:00
Bryan Liles db6b5a69f7 Merge pull request #4 from digitalocean/v0.3
Update to current API spec
2014-09-08 20:37:10 -04:00
bryanl 96accbf5e9 Update to current API spec
* Allow requesting pages in lists by number
* Add tooling to allow examination of page links if they exist
* Add domain management CRUD
2014-09-08 20:36:11 -04:00
Bryan Liles 6a5163c77e Merge pull request #3 from digitaloceancloud/api-interfaces
Services are interfaces
2014-09-04 16:25:54 -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
Bryan Liles 81b1242868 Merge pull request #2 from adamvduke/patch-1
fix a small spelling mistake in the README
2014-09-04 10:41:25 -04:00
Adam Duke c8ee708db0 fix a small spelling mistake in the README 2014-09-04 10:15:45 -04:00
bryanl b4bec8f557 initial commit 2014-09-03 10:20:10 -04:00