Bryan Liles
90214be142
Merge pull request #43 from rightscale/feature/update_keys
...
Add support for key updates
2015-04-22 11:55:03 -04: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
Mac Browning
a78b339c02
Merge pull request #36 from andrewsomething/master
...
Add support for the /v2/account endpoint.
2015-04-21 14:23:28 -04:00
Raphael Simon
268107e222
Add support for key updates:
...
* Keys.UpdateByID() for PUT /v2/account/keys/12345
* Keys.UpdateByFingerprint() for PUT /v2/account/keys/<fingerprint>
2015-04-21 10:39:54 -07:00
Raphael Simon
2a6cda7911
Rename Droplets.ListKernels() and co. to Droplets.Kernels()
...
so that the naming convention is consistent with the Images service where "ListFoo()" means "list images of type foo" rather than "list foos of the image".
2015-04-20 18:32:49 -07:00
Raphael Simon
df0702b9e2
Add Droplet service Listing requests.
...
Includes ListKernels, ListSnapshots, ListBackups, ListActions and ListNeighbors corresponding to
the GET "/v2/droplets/:id/kernels" etc. APIs.
2015-04-20 15:27:41 -07:00
Phill Baker
8dc1f54d1a
Merge pull request #38 from brycereitano/bug/user_data_omitempty
...
Omit an empty value for user data to serialize properly.
2015-04-13 18:28:54 -04:00
Bryce Reitano
107613d25b
Omit an empty value for user data to serialize properly.
2015-04-12 18:44:47 -06:00
Andrew Starr-Bochicchio
9a460e3683
Break long line.
2015-04-06 18:11:52 -04:00
Andrew Starr-Bochicchio
ccc93aa250
Add support for the /v2/account endpoint.
2015-04-06 13:09:21 -04:00
Phill Baker
006aa44e95
Merge pull request #34 from mattva01/mattva01-patch-1
...
Added godo to DropletCreateImage in create example
2015-03-23 21:22:35 -04:00
Matthew Gallagher
a033ea36ac
Added godo to DropletCreateImage in create example
2015-03-23 19:42:38 -04:00
Bryan Liles
4a70bc6049
Merge pull request #33 from digitalocean/remove-implements-check
...
Remove testing Implements
2015-03-23 07:37:21 -04:00
Bryan Liles
1d08a2be62
Merge pull request #32 from digitalocean/missing-error-checks
...
Add missing error checks
2015-03-23 07:36:50 -04:00
bryanl
adb5e97395
convert writer to buffer
2015-03-22 14:13:56 -04:00
bryanl
4890776cfd
don't chomp existing err on close
2015-03-22 14:12:09 -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
Phill Baker
ca5927e395
Merge pull request #31 from digitalocean/refactor/create-types
...
Add image/ssh key structs for explicit type on droplet create.
2015-03-21 14:57:46 -04:00
Phillip Baker
f1ccbcd46f
Add image/ssh key structs for explicit type on droplet create.
...
Closes #22
2015-03-21 14:52:14 -04:00
Phill Baker
2973bd32a7
Merge pull request #28 from digitalocean/feature/embedded-region
...
Add support for embedded region in actions
2015-03-19 20:04:24 -04:00
Phill Baker
51284f62db
Merge pull request #29 from digitalocean/doc/tests-versions
...
Add docs for contributing, versioning and docs.
2015-03-13 09:57:54 -04:00
Phillip Baker
4df5360667
Add docs for contributing, versioning and docs.
2015-03-12 12:18:48 -04:00
Nan Zhong
cdbea5035c
Add support for embedded region in actions
2015-03-10 11:22:19 -04:00
Phill Baker
66c450f777
Merge pull request #27 from digitalocean/feature/resize-disk
...
Add boolean disk option to Resize droplet action.
2015-03-09 10:19:28 -04:00
Phill Baker
b75999bdf6
Merge pull request #26 from digitalocean/update/doc-links
...
Update doc links for v2 documentation.
2015-03-09 10:09:43 -04:00
Phillip Baker
1323a431a4
Update doc links for v2 documentation.
2015-03-07 15:47:46 -05:00
Phillip Baker
68fe5fa87e
Add boolean disk option to Resize droplet action.
2015-03-07 15:09:54 -05:00
Bryan Liles
1a08a979da
Merge pull request #23 from oliver006/fix_pagination_example
...
Fix the pagination example
2015-03-04 14:59:28 -05:00
Oliver
a10c619ca9
fix pagination example
2015-02-20 18:57:30 -05:00
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