mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 08:21:07 -06:00
034e944070
This is part of a general effort to move all of Terraform's non-library package surface under internal in order to reinforce that these are for internal use within Terraform only. If you were previously importing packages under this prefix into an external codebase, you could pin to an earlier release tag as an interim solution until you've make a plan to achieve the same functionality some other way.
50 lines
1.0 KiB
Go
50 lines
1.0 KiB
Go
// Code generated by "stringer -type Action"; DO NOT EDIT.
|
|
|
|
package plans
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[NoOp-0]
|
|
_ = x[Create-43]
|
|
_ = x[Read-8592]
|
|
_ = x[Update-126]
|
|
_ = x[DeleteThenCreate-8723]
|
|
_ = x[CreateThenDelete-177]
|
|
_ = x[Delete-45]
|
|
}
|
|
|
|
const (
|
|
_Action_name_0 = "NoOp"
|
|
_Action_name_1 = "Create"
|
|
_Action_name_2 = "Delete"
|
|
_Action_name_3 = "Update"
|
|
_Action_name_4 = "CreateThenDelete"
|
|
_Action_name_5 = "Read"
|
|
_Action_name_6 = "DeleteThenCreate"
|
|
)
|
|
|
|
func (i Action) String() string {
|
|
switch {
|
|
case i == 0:
|
|
return _Action_name_0
|
|
case i == 43:
|
|
return _Action_name_1
|
|
case i == 45:
|
|
return _Action_name_2
|
|
case i == 126:
|
|
return _Action_name_3
|
|
case i == 177:
|
|
return _Action_name_4
|
|
case i == 8592:
|
|
return _Action_name_5
|
|
case i == 8723:
|
|
return _Action_name_6
|
|
default:
|
|
return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
}
|