2017-06-05 11:17:35 +02:00
|
|
|
// Code generated by "stringer -type=ResourceMode -output=resource_mode_string.go resource_mode.go"; DO NOT EDIT.
|
2016-05-01 23:43:05 +02:00
|
|
|
|
|
|
|
package config
|
|
|
|
|
2017-12-11 22:26:29 +01:00
|
|
|
import "strconv"
|
2016-05-01 23:43:05 +02:00
|
|
|
|
2019-05-13 16:32:49 +02:00
|
|
|
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[ManagedResourceMode-0]
|
|
|
|
_ = x[DataResourceMode-1]
|
|
|
|
}
|
|
|
|
|
2016-05-01 23:43:05 +02:00
|
|
|
const _ResourceMode_name = "ManagedResourceModeDataResourceMode"
|
|
|
|
|
|
|
|
var _ResourceMode_index = [...]uint8{0, 19, 35}
|
|
|
|
|
|
|
|
func (i ResourceMode) String() string {
|
|
|
|
if i < 0 || i >= ResourceMode(len(_ResourceMode_index)-1) {
|
2017-12-11 22:26:29 +01:00
|
|
|
return "ResourceMode(" + strconv.FormatInt(int64(i), 10) + ")"
|
2016-05-01 23:43:05 +02:00
|
|
|
}
|
|
|
|
return _ResourceMode_name[_ResourceMode_index[i]:_ResourceMode_index[i+1]]
|
|
|
|
}
|