terraform/builtin/providers/vcd
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
..
config.go Add flags for unverified SSL/TLS 2016-01-25 18:07:51 +01:00
provider.go Add flags for unverified SSL/TLS 2016-01-25 18:07:51 +01:00
provider_test.go
resource_vcd_dnat.go builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00
resource_vcd_dnat_test.go Make maxRetryTimeout (in seconds) configurable 2015-11-21 12:54:59 +00:00
resource_vcd_firewall_rules.go builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00
resource_vcd_firewall_rules_test.go Run go fmt on VMWare vCloud Director provider 2015-12-07 15:24:34 -06:00
resource_vcd_network.go builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00
resource_vcd_network_test.go Make maxRetryTimeout (in seconds) configurable 2015-11-21 12:54:59 +00:00
resource_vcd_snat.go builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00
resource_vcd_snat_test.go Make maxRetryTimeout (in seconds) configurable 2015-11-21 12:54:59 +00:00
resource_vcd_vapp.go builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00
resource_vcd_vapp_test.go Make maxRetryTimeout (in seconds) configurable 2015-11-21 12:54:59 +00:00
structure.go Fixing yet more gofmt errors with imports 2015-12-21 09:54:24 +00:00