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 Heroku SSL certificate support added 2014-12-15 12:21:47 +01:00
config.go Fixed tests and updated the provider schema to use a DefaultFunc 2014-11-19 14:25:18 +01:00
provider.go Move duplicated envDefaultFunc out of each provider and into Schema. 2015-01-16 17:25:39 +00:00
provider_test.go Fixed tests and updated the provider schema to use a DefaultFunc 2014-11-19 14:25:18 +01:00
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