github.com/opentofu/opentofu@v1.7.1/internal/tofu/execute.go (about) 1 // Copyright (c) The OpenTofu Authors 2 // SPDX-License-Identifier: MPL-2.0 3 // Copyright (c) 2023 HashiCorp, Inc. 4 // SPDX-License-Identifier: MPL-2.0 5 6 package tofu 7 8 import "github.com/opentofu/opentofu/internal/tfdiags" 9 10 // GraphNodeExecutable is the interface that graph nodes must implement to 11 // enable execution. 12 type GraphNodeExecutable interface { 13 Execute(EvalContext, walkOperation) tfdiags.Diagnostics 14 }