11package model
22
3+ const (
4+ BusinessCriticalityUnspecified = "unspecified"
5+ BusinessCriticalityLow = "low"
6+ BusinessCriticalityMedium = "medium"
7+ BusinessCriticalityHigh = "high"
8+ BusinessCriticalityCritical = "critical"
9+
10+ MaturityLevelUnspecified = "unspecified"
11+ MaturityLevelExperimental = "experimental"
12+ MaturityLevelProduction = "production"
13+ MaturityLevelEndOfLife = "end_of_life"
14+ )
15+
16+ var (
17+ BusinessCriticalityValues = []string {
18+ BusinessCriticalityUnspecified ,
19+ BusinessCriticalityLow ,
20+ BusinessCriticalityMedium ,
21+ BusinessCriticalityHigh ,
22+ BusinessCriticalityCritical ,
23+ }
24+
25+ MaturityLevelValues = []string {
26+ MaturityLevelUnspecified ,
27+ MaturityLevelExperimental ,
28+ MaturityLevelProduction ,
29+ MaturityLevelEndOfLife ,
30+ }
31+ )
32+
333type AppDescriptor struct {
434 ApplicationKey string `json:"application_key"`
535 ApplicationName string `json:"application_name,omitempty"`
@@ -11,18 +41,3 @@ type AppDescriptor struct {
1141 UserOwners []string `json:"user_owners,omitempty"`
1242 GroupOwners []string `json:"group_owners,omitempty"`
1343}
14-
15- var BusinessCriticalityValues = []string {
16- "unspecified" ,
17- "low" ,
18- "medium" ,
19- "high" ,
20- "critical" ,
21- }
22-
23- var MaturityLevelValues = []string {
24- "unspecified" ,
25- "experimental" ,
26- "production" ,
27- "end_of_life" ,
28- }
0 commit comments