opentofu/internal/cloud
Martin Atkins 9cadb097ba tofu: Context.Validate now takes a context.Context
This continues our ongoing effort to get a coherent chain of
context.Context all the way from "package main" to all of our calls to
external components.

Context.Validate doesn't yet do anything with its new context, but we'll
plumb this deeper in future.

Since the local backend's implementation of backend.Local.LocalRun calls
Validate on the given configuration before returning, it this also extends
that interface method to take a context, and so the various commands that
directly create "local runs" (rather than going through the backend
operation API) now all pass in a context derived from the one created
in "package main".

All of the _test.go file updates here are purely mechanical additions of
the extra argument. No test is materially modified by this change, which
is intentional to get some assurance that isn't a breaking change.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2024-11-19 10:15:21 -08:00
..
cloudplan Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
e2e Fix more tests on Windows (#1824) 2024-07-17 10:41:12 -04:00
testdata Revert "Fixes #898: Replace hashicorp and terraform references" (#995) 2023-12-11 15:10:03 -05:00
backend_apply_test.go Add exclude flag support (#1900) 2024-11-05 10:16:00 -05:00
backend_apply.go Add exclude flag support (#1900) 2024-11-05 10:16:00 -05:00
backend_cli.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_colorize.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_common.go Fix typos (#1905) 2024-08-29 13:20:33 -04:00
backend_context_test.go tofu: Context.Validate now takes a context.Context 2024-11-19 10:15:21 -08:00
backend_context.go tofu: Context.Validate now takes a context.Context 2024-11-19 10:15:21 -08:00
backend_plan_test.go Add exclude flag support (#1900) 2024-11-05 10:16:00 -05:00
backend_plan.go Add exclude flag support (#1900) 2024-11-05 10:16:00 -05:00
backend_refresh_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_run_warning_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_run_warning.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_show_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_show.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_taskStage_policyEvaluation_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_taskStage_policyEvaluation.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_taskStage_taskResults_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_taskStage_taskResults.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_taskStages_test.go Fix typos (#1905) 2024-08-29 13:20:33 -04:00
backend_taskStages.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
backend_test.go Cloud Backend - Fix logic that forces TF_WORKSPACE to be equal to a tag name (#1930) 2024-08-22 10:55:50 +03:00
backend.go Fix typos (#1905) 2024-08-29 13:20:33 -04:00
cloud_integration.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
cloud_variables_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
cloud_variables.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
configchangemode_string.go cloud: DetectConfigChangeType helper 2021-11-17 14:20:44 -08:00
errored.tfstate Revert "Fixes #898: Replace hashicorp and terraform references" (#995) 2023-12-11 15:10:03 -05:00
errors.go Cloud Backend - Fix logic that forces TF_WORKSPACE to be equal to a tag name (#1930) 2024-08-22 10:55:50 +03:00
migration_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
migration.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
remote_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
state_test.go Integrate Encryption into State Backends (#1288) 2024-03-04 09:25:14 -05:00
state.go Review and order locked struct fields (#1493) 2024-04-25 10:25:13 -04:00
testing.go Integrate Encryption into State Backends (#1288) 2024-03-04 09:25:14 -05:00
tfe_client_mock.go Error handling fixes (#1816) 2024-07-15 11:58:43 +02:00