mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-27 09:21:14 -06:00
12 lines
443 B
Go
12 lines
443 B
Go
package terraform
|
|
|
|
import "github.com/hashicorp/terraform/tfdiags"
|
|
|
|
// GraphNodeExecutable is the interface that graph nodes must implement to
|
|
// enable execution. This is an alternative to GraphNodeEvalable, which is in
|
|
// the process of being removed. A given graph node should _not_ implement both
|
|
// GraphNodeExecutable and GraphNodeEvalable.
|
|
type GraphNodeExecutable interface {
|
|
Execute(EvalContext, walkOperation) tfdiags.Diagnostics
|
|
}
|