Commit Graph

10 Commits

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