forked from goharbor/harbor-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontroller_string.go
40 lines (34 loc) · 1.28 KB
/
controller_string.go
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
28
29
30
31
32
33
34
35
36
37
38
39
40
// Code generated by "stringer -type=Controller -linecomment"; DO NOT EDIT.
package controllers
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[Core-0]
_ = x[JobService-1]
_ = x[Portal-2]
_ = x[Registry-3]
_ = x[RegistryController-4]
_ = x[ChartMuseum-5]
_ = x[Exporter-6]
_ = x[NotaryServer-7]
_ = x[NotarySigner-8]
_ = x[Trivy-9]
_ = x[Harbor-10]
_ = x[HarborCluster-11]
_ = x[HarborConfigurationCm-12]
_ = x[HarborConfiguration-13]
_ = x[HarborProject-14]
_ = x[HarborServerConfiguration-15]
_ = x[PullSecretBinding-16]
_ = x[Namespace-17]
}
const _Controller_name = "corejobserviceportalregistryregistryctlchartmuseumexporternotaryservernotarysignertrivyharborharborclusterharborconfigurationcmharborconfigurationharborprojectharborserverconfigurationpullsecretbindingnamespace"
var _Controller_index = [...]uint8{0, 4, 14, 20, 28, 39, 50, 58, 70, 82, 87, 93, 106, 127, 146, 159, 184, 201, 210}
func (i Controller) String() string {
if i < 0 || i >= Controller(len(_Controller_index)-1) {
return "Controller(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Controller_name[_Controller_index[i]:_Controller_index[i+1]]
}