opentofu/internal/tofu/graph_walk_operation.go
2023-09-20 15:16:53 +03:00

21 lines
491 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package tofu
//go:generate go run golang.org/x/tools/cmd/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
walkValidate
walkDestroy
walkImport
walkEval // used just to prepare EvalContext for expression evaluation, with no other actions
)