terraform/builtin/providers/heroku
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
..
test-fixtures
config.go
provider.go
provider_test.go
resource_heroku_addon.go provider/heroku: fix config_vars in addons 2015-05-07 09:11:31 -05:00
resource_heroku_addon_test.go heroku: randomize names in acctests 2016-01-21 09:31:48 -06:00
resource_heroku_app.go provider/heroku: fix typo in organization struct 2016-01-08 08:20:19 -06:00
resource_heroku_app_test.go heroku: randomize names in acctests 2016-01-21 09:31:48 -06:00
resource_heroku_cert.go provider/heroku: address cert test failure 2016-02-04 09:58:27 -06:00
resource_heroku_cert_test.go provider/heroku: address cert test failure 2016-02-04 09:58:27 -06:00
resource_heroku_domain.go Enable `go vet -composites` check and fix warnings. 2016-02-17 11:59:50 -08:00
resource_heroku_domain_test.go heroku: randomize the remaining appnames in tests 2016-01-22 09:26:34 -06:00
resource_heroku_drain.go builtin: Refactor resource.Retry to clarify return 2016-03-09 17:37:56 -06:00
resource_heroku_drain_test.go heroku: randomize the remaining appnames in tests 2016-01-22 09:26:34 -06:00