// Code generated by "stringer -type resourceMode"; DO NOT EDIT.

package addrs

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[InvalidResourceMode-0]
	_ = x[ManagedResourceMode-77]
	_ = x[DataResourceMode-68]
}

const (
	_resourceMode_name_0 = "InvalidResourceMode"
	_resourceMode_name_1 = "DataResourceMode"
	_resourceMode_name_2 = "ManagedResourceMode"
)

func (i resourceMode) String() string {
	switch {
	case i == 0:
		return _resourceMode_name_0
	case i == 68:
		return _resourceMode_name_1
	case i == 77:
		return _resourceMode_name_2
	default:
		return "resourceMode(" + strconv.FormatInt(int64(i), 10) + ")"
	}
}
