Kiara Grouwstra
9c1271cbfa
ditch pagination, unused on greenhost
2022-08-14 19:34:48 +02:00
Kiara Grouwstra
58cb4f5862
image id: int -> string
2022-08-01 20:44:49 +02:00
Andrew Starr-Bochicchio
ee95a54219
droplets: Support listing Droplets filtered by name. ( #541 )
2022-07-12 12:06:33 -04:00
Chris Cummer
db10ddb1ee
Remove DisablePublicNetworking option from the Create path ( #528 )
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2022-04-12 17:06:08 -04:00
Chris Cummer
c0a54873af
Remove the WithFloatingIPAddress create option ( #527 )
...
Signed-off-by: Chris Cummer <chriscummer@me.com>
2022-04-11 18:20:18 -04:00
Chris Cummer
4e7d9fb21a
Add private networking configuration options to the Create request ( #514 )
...
During the create request, it will soon be possible to create droplets
that have no public interface attached to them (droplets that only have
a private interface).
It will also be possible to attach a floating IP address to a droplet
during the create proceess.
This PR sets up the DropletCreateRequest fields to allow for that.
Signed-off-by: Chris Cummer <ccummer@digitalocean.com>
2022-02-16 15:00:00 -05:00
House.Lee
f724a68234
add with_droplet_agent option to create requests ( #454 )
...
* add with_droplet_agent to create requests
* add test case for create without droplet-agent
* go fmt
* Add additional test.
Co-authored-by: Andrew Starr-Bochicchio <a.starr.b@gmail.com>
2021-06-07 17:51:16 -04:00
Andrew Starr-Bochicchio
dc72781d86
Deprecate Name field in godo.DropletCreateVolume ( #433 )
2021-01-21 13:53:30 -05:00
Timo Reimann
38b71c3469
Deserialize meta field for remaining APIs
2019-12-12 09:46:43 +01:00
Jason Heimann
6760694045
roll out vpc functionality
2019-04-02 15:22:16 -07:00
Guus van Weelden
9e24e26f6b
use http.MethodX instead of "GET"/"POST"/"DELETE"
2017-07-02 13:55:56 +02:00
Antoine Grondin
dc14e4b04d
add context.Context to all calls
2017-02-23 14:25:29 -05:00
Carlos Villela
7c9bf15691
Adds support for creating droplets with monitoring ( #117 )
2016-12-21 23:05:53 -05:00
Mike Chittenden
82ae4350ef
Add Tags attribute to droplet create
2016-11-09 10:57:33 -05:00
Antoine Grondin
979e3b310f
storage: support for storage API
2016-06-27 13:45:59 -04:00
bryanl
3bd6277a85
Add tags to droplets
2016-04-19 12:32:42 +02:00
Nan Zhong
a294b449f7
Fix incorrect query param
2016-03-17 02:18:20 -04:00
Nan Zhong
1eaf6161c0
Update droplet and actions endpoints with tagging support
2016-03-17 01:45:16 -04: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
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
Mike Chittenden
3978e9d3ba
Multiple droplet create support
2015-12-14 16:11:51 -05:00
Sébastien Fievet
20712022a4
Add Created attribute to Image
2015-06-17 19:07:09 +02:00
Phillip Baker
1df42b98f6
Standardize on returning objects, not the json roots.
...
Let's be nice to our consumers - they don't care about the root, they care about the object. Even when the user needs access to the Links, that's accessible via the resp variable returned.
2015-06-01 10:47:19 -04:00
bryanl
5d38c50b0a
Add size slug to droplet
...
Adds missing size slug to droplets. This should take care of the
issue raised in #21 .
2015-05-11 14:26:52 -04:00
masayuki_oguni
90449108b5
Added transfer to size
...
Added Available to size
2015-05-03 21:11:41 +09:00
Antoine Grondin
43bfe8800f
Merge pull request #42 from rightscale/feature/complete_images
...
Add missing APIs to Images service.
2015-04-22 22:51:38 -04:00
Raphael Simon
fc8ecd5bc6
Add missing APIs to Images service.
...
The following were added:
* Images.ListDistribution() for GET /v2/images?type=distribution
* Images.ListApplication() for GET /v2/images?type=application
* Images.ListUser() for GET /v2/images?private=true
* Images.GetByID() for GET /v2/images/12345
* Images.GetBySlug() for GET /v2/images/ubuntu
* Images.Update() for PUT /v2/images/12345
* Images.Delete() for DELETE /v2/images/12345
2015-04-22 17:55:01 -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
Bryce Reitano
107613d25b
Omit an empty value for user data to serialize properly.
2015-04-12 18:44:47 -06: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
f1ccbcd46f
Add image/ssh key structs for explicit type on droplet create.
...
Closes #22
2015-03-21 14:52:14 -04: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
bryanl
2dd88c1ec3
updating expected test output
2015-01-23 09:20:22 -05: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
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
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