Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: milo/api/resp/status_string.go

Issue 2801463002: Milo: Use custom config caching layer (Closed)
Patch Set: Working Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | milo/appengine/buildbot/pubsub.go » ('j') | milo/appengine/common/config.go » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Code generated by "stringer -type=Status,ComponentType,Verbosity"; DO NOT EDI T 1 // Code generated by "stringer -type=Status,ComponentType,Verbosity"; DO NOT EDI T.
nodir 2017/04/04 23:12:08 did stringer change?
hinoka 2017/04/05 20:45:06 I guess so, it did this in another CL also.
2 2
3 package resp 3 package resp
4 4
5 import "fmt" 5 import "fmt"
6 6
7 const _Status_name = "NotRunRunningSuccessFailureWarningInfraFailureExpiredDepen dencyFailureWaitingDependency" 7 const _Status_name = "NotRunRunningSuccessFailureWarningInfraFailureExpiredDepen dencyFailureWaitingDependency"
8 8
9 var _Status_index = [...]uint8{0, 6, 13, 20, 27, 34, 46, 53, 70, 87} 9 var _Status_index = [...]uint8{0, 6, 13, 20, 27, 34, 46, 53, 70, 87}
10 10
11 func (i Status) String() string { 11 func (i Status) String() string {
(...skipping 17 matching lines...) Expand all
29 const _Verbosity_name = "NormalHiddenInteresting" 29 const _Verbosity_name = "NormalHiddenInteresting"
30 30
31 var _Verbosity_index = [...]uint8{0, 6, 12, 23} 31 var _Verbosity_index = [...]uint8{0, 6, 12, 23}
32 32
33 func (i Verbosity) String() string { 33 func (i Verbosity) String() string {
34 if i < 0 || i >= Verbosity(len(_Verbosity_index)-1) { 34 if i < 0 || i >= Verbosity(len(_Verbosity_index)-1) {
35 return fmt.Sprintf("Verbosity(%d)", i) 35 return fmt.Sprintf("Verbosity(%d)", i)
36 } 36 }
37 return _Verbosity_name[_Verbosity_index[i]:_Verbosity_index[i+1]] 37 return _Verbosity_name[_Verbosity_index[i]:_Verbosity_index[i+1]]
38 } 38 }
OLDNEW
« no previous file with comments | « no previous file | milo/appengine/buildbot/pubsub.go » ('j') | milo/appengine/common/config.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698