mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-29 10:21:01 -06:00
8a070ddef0
Backends are a mechanism that allow abstracting the behavior of Terraform CLI from the actual core. This allows us to slip in special behavior such as state loading, remote operations, etc.
15 lines
325 B
Go
15 lines
325 B
Go
package backend
|
|
|
|
//go:generate stringer -type=OperationType operation_type.go
|
|
|
|
// OperationType is an enum used with Operation to specify the operation
|
|
// type to perform for Terraform.
|
|
type OperationType uint
|
|
|
|
const (
|
|
OperationTypeInvalid OperationType = iota
|
|
OperationTypeRefresh
|
|
OperationTypePlan
|
|
OperationTypeApply
|
|
)
|