opentofu/internal/tofu/graph_walk_operation.go

23 lines
570 B
Go
Raw Normal View History

// Copyright (c) The OpenTofu Authors
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2023 HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
2023-09-20 07:16:53 -05:00
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
2015-10-02 13:18:33 -05:00
walkDestroy
walkImport
walkEval // used just to prepare EvalContext for expression evaluation, with no other actions
)