Kim Ngo
d88729d922
registry: configurable client timeout ( #24259 )
...
* registry: configurable client timeout
* Update registry/client_test.go
Fix env test cleanup
Co-Authored-By: Alisdair McDiarmid <alisdair@users.noreply.github.com>
2020-03-05 10:37:06 -06:00
findkim
bb968634ac
registry: fix env test cleanup
2020-03-03 13:52:39 -06:00
findkim
d0e13320d5
registry: configurable retry client
2020-02-14 13:29:00 -06:00
Radek Simko
32f9722d9d
Replace import paths & set UA string where necessary
2019-10-11 22:40:54 +01:00
Sander van Harmelen
973e2a7cf9
core: add a context to the UIInput interface
2019-03-08 10:24:40 +01:00
Sander van Harmelen
52a1b22f7a
Implement the remote enhanced backend
...
This is a refactored version of the `remote` backend that was initially added to Terraform v0.11.8 which should now be compatible with v0.12.0.
2018-11-06 16:29:46 +01:00
Kristin Laemmert
bdaf8290b4
registry/client: added a specific error if the registry client does not
...
support the requested service.
2018-10-16 18:58:49 -07:00
Kristin Laemmert
d1f27ce8c2
registry: renaming module-specific registry functions
2018-10-16 18:56:50 -07:00
Kristin Laemmert
082af84131
registry: adding provider functions to registry client
2018-10-16 18:53:51 -07:00
Sander van Harmelen
179b32d426
Add a `CredentialsForHost` method to disco.Disco
...
By adding this method you now only have to pass a `*disco.Disco` object around in order to do discovery and use any configured credentials for the discovered hosts.
Of course you can also still pass around both a `*disco.Disco` and a `auth.CredentialsSource` object if there is a need or a reason for that!
2018-08-03 11:29:11 +02:00
James Bardin
38f76ddc4e
the trailing slash check caused a nil dereference
...
The disco package doesn't return errors, and a nil value indicates that
the input isn't valid. Always check for nil.
2018-01-17 18:31:05 -05:00
James Bardin
91bd72f22b
Create a registry.Client
...
This moves the registry specific functionality out of the module.Storage
and into its own package.
2017-12-05 14:58:48 -05:00