pulumi/sdk/go/common/resource
bors[bot] da8241988f
Merge #11866 #11867
11866: sdk/plugin: Delete unused tracingToFile field r=abhinav a=abhinav

The unused tracingToFile on pluginArgumentOptions
caused a reference to cmdutil.TracingToFile
which has been deprecated.

Issue caught by staticcheck:

```
go/common/resource/plugin/plugin.go:301:20: SA1019: cmdutil.TracingToFile is deprecated: Even in this case TracingEndpoint will now have the tcp:// scheme and will point to a proxy server that will append traces to the user-specified file. Plugins should respect TracingEndpoint and ignore TracingToFile. (staticcheck)
```

Refs #11808


11867: sdk/internal: pulumi.NewOutput => ctx.NewOutput r=abhinav a=abhinav

pulumi.NewOutput has been deprecated in favor of Context.NewOutput.
Issue caught by staticcheck:

```
go/pulumi/internals/outputs_test.go:37:22: SA1019: pulumi.NewOutput is deprecated: use Context.NewOutput instead. (staticcheck)
go/pulumi/internals/outputs_test.go:50:21: SA1019: pulumi.NewOutput is deprecated: use Context.NewOutput instead. (staticcheck)
```

Refs #11808


Co-authored-by: Abhinav Gupta <abhinav@pulumi.com>
2023-01-14 00:22:54 +00:00
..
config Cleaning up a few pkg/errors uses 2022-11-02 14:20:44 +00:00
plugin Merge #11866 #11867 2023-01-14 00:22:54 +00:00
testing Do not FailNow() in generators (#8469) 2021-11-19 20:39:11 -05:00
alias.go feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
alias_test.go feat(engine): Adds structured alias support to the engine 2022-10-11 17:56:32 -04:00
asset.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
asset_test.go unused: Remove unused functions and types 2023-01-12 09:55:34 -08:00
custom_timeouts.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
errors.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
mapper_test.go Allow decoding *asset and *archive values 2022-10-17 13:28:13 -07:00
properties.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
properties_diff.go Repair tests expecting nil slices 2023-01-11 21:53:04 -08:00
properties_diff_test.go Specify fields on engine diff (#8488) 2021-11-30 12:25:27 -08:00
properties_path.go Cleaning up a few pkg/errors uses 2022-11-02 14:20:44 +00:00
properties_path_test.go Fix concurrent access to PropertyValue in TestPropertyPath (#9553) 2022-05-05 14:38:17 +01:00
properties_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
resource_goal.go Add DeletedWith resource option 2022-10-31 12:03:18 +02:00
resource_id.go Cleaning up a few pkg/errors uses 2022-11-02 14:20:44 +00:00
resource_id_test.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
resource_operation.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
resource_state.go sdk/go: Remove 'nolint' directives from package docs 2023-01-06 09:06:47 -08:00
stack.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
status.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
urn.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
urn_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00