Paul Hinze
108ccf0007
builtin: Refactor resource.Retry to clarify return
...
Change the `RetryFunc` from a plain `error` return type to a
specialized `RetryError` which must decide whether it is
retryable or not.
Add `RetryableError` / `NonRetryableError` factory functions that
callers are meant to use to build up these errors.
This makes it eminently clear whether or not a given error is
retryable from inside the client code.
Goal here is to _not_ change any behavior, simply reflect the
existing behavior with the new, clearer, API.
2016-03-09 17:37:56 -06:00
Brett Mack
04d7532bf7
When creating a new VApp wait for the VM to be given an IP address if using DHCP
2016-02-18 14:44:18 -08:00
stack72
5fbec544d7
Fixing yet more gofmt errors with imports
2015-12-21 09:54:24 +00:00
Brett Mack
aec94b1682
Don't error if unable to undeploy
2015-11-25 16:53:00 +00:00
Brett Mack
a02667389e
Only undeploy a machine if it is switched on
2015-11-25 12:05:59 +00:00
Nicki Watt
f1c2be9772
Make maxRetryTimeout (in seconds) configurable
2015-11-21 12:54:59 +00:00
Brett Mack
29dfc4322e
Add retry calls to protect against api rate limiting
2015-11-17 17:27:39 +00:00
Brett Mack
ecc4ce3657
Converted firewall_rules rule set to a list type. Code tidy
2015-11-16 20:11:05 +00:00
Brett Mack
dc8924b537
Changed vcd_vapp resource to make better use of Update function
2015-11-10 23:35:25 +00:00
Brett Mack
a15c99e5bb
Code cleanup to address PR comments
2015-11-10 18:39:58 +00:00
Brett Mack
b6abb91b83
Class a resource that is in tfstate but unable to be found on the provider as deleted
2015-11-06 16:39:40 +00:00
Brett Mack
7c09f9653d
Changed vmware-govcd dependency to pull from hmrc
2015-11-06 10:19:59 +00:00
Brett Mack
965882bfdf
Added protection for api limiting
2015-11-02 16:39:56 +00:00
Brett Mack
8780bd269a
Added vCloud Director provider with tests and provider documentation
2015-11-02 13:39:25 +00:00