108ccf0007
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. |
||
---|---|---|
.. | ||
config.go | ||
provider.go | ||
provider_test.go | ||
resource_vcd_dnat.go | ||
resource_vcd_dnat_test.go | ||
resource_vcd_firewall_rules.go | ||
resource_vcd_firewall_rules_test.go | ||
resource_vcd_network.go | ||
resource_vcd_network_test.go | ||
resource_vcd_snat.go | ||
resource_vcd_snat_test.go | ||
resource_vcd_vapp.go | ||
resource_vcd_vapp_test.go | ||
structure.go |