pulumi/tests/integration/gather_plugin/go
Ian Wahbe 3e2408716c
[sdk/go] Add PluginDownloadURL resource option (#8555)
* [engine] Pipe serverURL through register resource

* Fix lint

* Thread serverURL through default provider calls

* Change tag from "serverURL" to "pluginDownloadURL"

* Update CHANGELOG_PENDING.md

* Allow provider to be null

* Fix tests

* Include server url passthrough in test

* Fix parseProviderRequest

* Add test for url pass through

* Fix lint

* Add ServerURL resource option

* Plugin to grpc

* Add integration test

* Correct small nits from @justinp

* Add test for default providers

* Use built in test infrastructure

* Fix lint

* Move special helpers to providers

* Partial conversion serverURL -> pluginDownloadURL

* Remove serverURL

* Remove more serverURL instances

* Exchange ServerURL for PluginDownloadURL

* const correctness

* Add url to ProviderRequest.Name()

I also canonicalize the url by removing any trailing '/'

* Fix typo + lint

* Add test for url canonicalization

* Dedupe pluginDownloadURL in ProviderRequest.Name
2022-01-05 12:04:39 -08:00
..
Pulumi.yaml [sdk/go] Add PluginDownloadURL resource option (#8555) 2022-01-05 12:04:39 -08:00
go.mod [sdk/go] Add PluginDownloadURL resource option (#8555) 2022-01-05 12:04:39 -08:00
go.sum [sdk/go] Add PluginDownloadURL resource option (#8555) 2022-01-05 12:04:39 -08:00
main.go [sdk/go] Add PluginDownloadURL resource option (#8555) 2022-01-05 12:04:39 -08:00