mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-23 23:50:12 -06:00
cb2e9119aa
Signed-off-by: namgyalangmo <75657887+namgyalangmo@users.noreply.github.com>
23 lines
570 B
Go
23 lines
570 B
Go
// Copyright (c) The OpenTofu Authors
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
// Copyright (c) 2023 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
|
|
)
|