Commit Graph

15 Commits

Author SHA1 Message Date
Siddharth Subramanian 8f6a22230b
Fix golint issues #377
Signed-off-by: Siddharth Subramanian <sidsbrmnn@gmail.com>
2020-10-07 11:15:22 +05:30
Anit Gandhi 683a859d49 load balancers: add new size slug field 2020-10-02 14:07:46 -07:00
Anit Gandhi e534d34652 load balancers: add new enable_backend_keepalive field 2020-03-16 17:48:22 -04: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
Manish Regmi f829cd4f97 add support for enable_proxy_protocol
setting this to true will enable proxy protocol support in the loadbalancer
2019-03-18 11:26:11 -07:00
Sebastian Döll 017f7aceec
LB: Adding tag support for creating LB (#196)
* lb: adding tag support for creating LB

* lb: changing Tags to accept array of strings

* lb: set CHANGELOG to unreleased
2018-12-18 11:29:37 +01:00
Mike Chittenden 0f1b9ca783 add projects support 2018-10-16 17:29:54 +00:00
Iheanyi Ekechukwu e6249e5059 Remove support for Go 1.6 (#166)
* Move DoRequest* to godo package with stdlib context

* Use stdlib context package in place of godo context.

* Remove Go 1.6 from TravisCI configuration.

* Use stdlib context in util and tests instead of godo context.

* Add in Go 1.8, 1.9, and 1.10 to TravisCI configuration.

* Put 1.10 in quotes.
2018-05-08 16:24:29 -04:00
Luke Granger-Brown 6dfa314396
Add AsRequest method on LoadBalancer
Updating a LoadBalancer requires a LoadBalancerRequest, which is not
easily creatable from a LoadBalancer.

Serializing the LoadBalancer to JSON and then deserializing it to a
LoadBalancerRequest mostly works, except that Region is a string on
the Request but not on the LB (since the LB returns the entire
Region object), so json.Unmarshal returns an error.

An explicit AsRequest method makes it easier for consumers of the API
to modify existing LoadBalancer objects, and is designed to avoid
modifying attributes on the original LoadBalancer when the
LoadBalancerRequest is modified.
2017-07-22 15:36:38 +01:00
Guus van Weelden 9e24e26f6b use http.MethodX instead of "GET"/"POST"/"DELETE" 2017-07-02 13:55:56 +02:00
akutz 8ed9e9ea6c Portable Go Context Usage
This patch updates the godo package to use a portable Go context -- a
Context that works with Go versions prior to Go 1.7 as well as Go 1.7
and onwards.
2017-04-07 15:32:33 -05:00
Marko Mudrinić 54b246befd
Removing executable permissions from Load Balancer files 2017-02-24 23:09:29 +01:00
Antoine Grondin dc14e4b04d add context.Context to all calls 2017-02-23 14:25:29 -05:00
Viola Holownia c99e714f33 Add support for LoadBalancers 2017-02-14 15:36:18 -05:00