opentofu/terraform/graph_walk_operation.go
Martin Atkins f14369e7fb core: Remove machinery for the "input" walk
Provider input is now longer handled with a graph walk, so the code
related to the input graph and walk are no longer needed.

For now the Input method is retained on the ResourceProvider interface,
but it will never be called. Subsequent work to revamp the provider API
will remove this method.
2018-10-16 18:49:20 -07:00

19 lines
409 B
Go

package terraform
//go:generate stringer -type=walkOperation graph_walk_operation.go
// walkOperation is an enum which tells the walkContext what to do.
type walkOperation byte
const (
walkInvalid walkOperation = iota
walkApply
walkPlan
walkPlanDestroy
walkRefresh
walkValidate
walkDestroy
walkImport
walkEval // used just to prepare EvalContext for expression evaluation, with no other actions
)