mirror of
https://github.com/opentofu/opentofu.git
synced 2026-02-18 18:17:54 -05:00
Some checks are pending
build / Build for freebsd_386 (push) Waiting to run
build / Build for linux_386 (push) Waiting to run
build / Build for openbsd_386 (push) Waiting to run
build / Build for windows_386 (push) Waiting to run
build / Build for freebsd_amd64 (push) Waiting to run
build / Build for linux_amd64 (push) Waiting to run
build / Build for openbsd_amd64 (push) Waiting to run
build / Build for solaris_amd64 (push) Waiting to run
build / Build for windows_amd64 (push) Waiting to run
build / Build for freebsd_arm (push) Waiting to run
build / Build for linux_arm (push) Waiting to run
build / Build for linux_arm64 (push) Waiting to run
build / Build for darwin_amd64 (push) Waiting to run
build / Build for darwin_arm64 (push) Waiting to run
build / End-to-end Tests for linux_386 (push) Waiting to run
build / End-to-end Tests for windows_386 (push) Waiting to run
build / End-to-end Tests for darwin_amd64 (push) Waiting to run
build / End-to-end Tests for linux_amd64 (push) Waiting to run
build / End-to-end Tests for windows_amd64 (push) Waiting to run
Quick Checks / List files changed for pull request (push) Waiting to run
Quick Checks / Unit tests for linux_386 (push) Blocked by required conditions
Quick Checks / Unit tests for linux_amd64 (push) Blocked by required conditions
Quick Checks / Unit tests for windows_amd64 (push) Blocked by required conditions
Quick Checks / Unit tests for linux_arm (push) Blocked by required conditions
Quick Checks / Unit tests for darwin_arm64 (push) Blocked by required conditions
Quick Checks / Unit tests for linux_arm64 (push) Blocked by required conditions
Quick Checks / Race Tests (push) Blocked by required conditions
Quick Checks / End-to-end Tests (push) Blocked by required conditions
Quick Checks / Code Consistency Checks (push) Blocked by required conditions
Quick Checks / License Checks (push) Waiting to run
Website checks / List files changed for pull request (push) Waiting to run
Website checks / Build (push) Blocked by required conditions
Website checks / Test Installation Instructions (push) Blocked by required conditions
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com> Co-authored-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
63 lines
1.3 KiB
Go
63 lines
1.3 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]
|
|
_ = x[Forget-46]
|
|
_ = x[ForgetThenCreate-8856]
|
|
_ = x[Open-8272]
|
|
}
|
|
|
|
const (
|
|
_Action_name_0 = "NoOp"
|
|
_Action_name_1 = "Create"
|
|
_Action_name_2 = "DeleteForget"
|
|
_Action_name_3 = "Update"
|
|
_Action_name_4 = "CreateThenDelete"
|
|
_Action_name_5 = "Open"
|
|
_Action_name_6 = "Read"
|
|
_Action_name_7 = "DeleteThenCreate"
|
|
_Action_name_8 = "ForgetThenCreate"
|
|
)
|
|
|
|
var (
|
|
_Action_index_2 = [...]uint8{0, 6, 12}
|
|
)
|
|
|
|
func (i Action) String() string {
|
|
switch {
|
|
case i == 0:
|
|
return _Action_name_0
|
|
case i == 43:
|
|
return _Action_name_1
|
|
case 45 <= i && i <= 46:
|
|
i -= 45
|
|
return _Action_name_2[_Action_index_2[i]:_Action_index_2[i+1]]
|
|
case i == 126:
|
|
return _Action_name_3
|
|
case i == 177:
|
|
return _Action_name_4
|
|
case i == 8272:
|
|
return _Action_name_5
|
|
case i == 8592:
|
|
return _Action_name_6
|
|
case i == 8723:
|
|
return _Action_name_7
|
|
case i == 8856:
|
|
return _Action_name_8
|
|
default:
|
|
return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
}
|