mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-22 19:00:35 -04:00
The Go team uses automation to generate unnecessary version bumps across all of these that make it impossible to upgrade them individually because they all mutually depend on the latest versions of each other, so unfortunately we have to accept the risk of updating all of these at once in order to update any one of them. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
27 lines
815 B
Go
27 lines
815 B
Go
// Code generated by "stringer -type ProvisionerWhen"; DO NOT EDIT.
|
|
|
|
package configs
|
|
|
|
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[ProvisionerWhenInvalid-0]
|
|
_ = x[ProvisionerWhenCreate-1]
|
|
_ = x[ProvisionerWhenDestroy-2]
|
|
}
|
|
|
|
const _ProvisionerWhen_name = "ProvisionerWhenInvalidProvisionerWhenCreateProvisionerWhenDestroy"
|
|
|
|
var _ProvisionerWhen_index = [...]uint8{0, 22, 43, 65}
|
|
|
|
func (i ProvisionerWhen) String() string {
|
|
idx := int(i) - 0
|
|
if i < 0 || idx >= len(_ProvisionerWhen_index)-1 {
|
|
return "ProvisionerWhen(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _ProvisionerWhen_name[_ProvisionerWhen_index[idx]:_ProvisionerWhen_index[idx+1]]
|
|
}
|