github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/backend/operation_type.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  package backend
     5  
     6  //go:generate go run golang.org/x/tools/cmd/stringer -type=OperationType operation_type.go
     7  
     8  // OperationType is an enum used with Operation to specify the operation
     9  // type to perform for Terraform.
    10  type OperationType uint
    11  
    12  const (
    13  	OperationTypeInvalid OperationType = iota
    14  	OperationTypeRefresh
    15  	OperationTypePlan
    16  	OperationTypeApply
    17  )