pulumi/sdk/go/common/resource/plugin
Abhinav Gupta 1158d4acee
all: Drop ioutil
Stop using io/ioutil across the entire repository.
The io/ioutil package was deprecated in Go 1.16 (2021-02)
with replacements provided in other packages.
Specifically:

    ioutil.Discard   => io.Discard
    ioutil.NopCloser => io.NopCloser
    ioutil.ReadAll   => io.ReadAll
    ioutil.ReadFile  => os.ReadFile
    ioutil.TempDir   => os.MkdirTemp
    ioutil.TempFile  => os.CreateTemp
    ioutil.WriteFile => os.WriteFile

This change switches all of these entities
across the repository.

Following this change,
the only references to ioutil are in schema files:

    % rg -l ioutil
    pkg/codegen/testing/test/testdata/aws-4.26.0.json
    pkg/codegen/testing/test/testdata/aws-4.36.0.json
    pkg/codegen/testing/test/testdata/aws-4.37.1.json
    pkg/codegen/testing/test/testdata/aws-5.4.0.json
    pkg/codegen/testing/test/testdata/aws-5.16.2.json

The bulk of this change was generated automatically
with manual touch ups afterwards.
2023-01-06 16:35:14 -08:00
..
analyzer.go feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
analyzer_plugin.go Engine and Golang support for shimless providers 2022-11-14 11:25:41 +00:00
check.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
config_source.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
context.go Introduce PULUMI_DEBUG_GRPC support 2022-11-08 14:01:15 -05:00
doc.go Provider implementer's guide draft (#6322) 2021-04-13 14:11:02 -07:00
host.go Example of usage and test injection 2022-12-14 15:41:42 +01:00
host_server.go Embed default gRPC server implementations 2023-01-05 17:54:11 -08:00
langruntime.go Engine and Golang support for shimless providers 2022-11-14 11:25:41 +00:00
langruntime_plugin.go Engine and Golang support for shimless providers 2022-11-14 11:25:41 +00:00
plugin.go all: Drop ioutil 2023-01-06 16:35:14 -08:00
plugin_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
provider.go Phase 3 of the convert mapper 2022-12-01 23:43:43 +00:00
provider_plugin.go Phase 3 of the convert mapper 2022-12-01 23:43:43 +00:00
provider_plugin_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
provider_server.go Embed default gRPC server implementations 2023-01-05 17:54:11 -08:00
provider_test.go Add forward compatible UnimplementedProvider for bridge 2022-12-09 18:44:28 -08:00
provider_unimplemented.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
rpc.go [sdk/go] Marshal output values (#7958) 2021-09-27 09:01:40 -07:00
rpc_rapid_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
rpc_test.go chore: Update doc comments, coding style, fix lint 2022-10-13 13:50:49 -07:00