2024-02-08 03:48:59 -06:00
|
|
|
// Copyright (c) The OpenTofu Authors
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
// Copyright (c) 2023 HashiCorp, Inc.
|
2023-05-02 10:33:06 -05:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2023-09-20 07:16:53 -05:00
|
|
|
package tofu
|
2020-09-04 13:03:45 -05:00
|
|
|
|
2023-09-20 06:35:35 -05:00
|
|
|
import "github.com/opentofu/opentofu/internal/tfdiags"
|
2020-10-28 12:47:04 -05:00
|
|
|
|
2020-09-04 13:03:45 -05:00
|
|
|
// GraphNodeExecutable is the interface that graph nodes must implement to
|
2020-12-10 08:55:50 -06:00
|
|
|
// enable execution.
|
2020-09-04 13:03:45 -05:00
|
|
|
type GraphNodeExecutable interface {
|
2020-10-28 12:47:04 -05:00
|
|
|
Execute(EvalContext, walkOperation) tfdiags.Diagnostics
|
2020-09-04 13:03:45 -05:00
|
|
|
}
|