forked from cleanshavenalex/pvc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackendtype_string.go
More file actions
27 lines (21 loc) · 833 Bytes
/
backendtype_string.go
File metadata and controls
27 lines (21 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Code generated by "stringer -type=backendType"; DO NOT EDIT.
package pvc
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[unknownBackendType-0]
_ = x[vaultBackendType-1]
_ = x[envVarBackendType-2]
_ = x[jsonBackendType-3]
_ = x[fileTreeBackendType-4]
}
const _backendType_name = "unknownBackendTypevaultBackendTypeenvVarBackendTypejsonBackendTypefileTreeBackendType"
var _backendType_index = [...]uint8{0, 18, 34, 51, 66, 85}
func (i backendType) String() string {
if i < 0 || i >= backendType(len(_backendType_index)-1) {
return "backendType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _backendType_name[_backendType_index[i]:_backendType_index[i+1]]
}