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

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

Issue 2931773004: Milo: Add machine pool info for buildbot builder view. (Closed)
Patch Set: Review Created 3 years, 6 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/api/resp/builder.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Code generated by "stringer -type=BotStatus"; DO NOT EDIT.
2
3 package resp
4
5 import "fmt"
6
7 const _BotStatus_name = "UnknownStatusIdleBusyDisconnected"
8
9 var _BotStatus_index = [...]uint8{0, 13, 17, 21, 33}
10
11 func (i BotStatus) String() string {
12 if i < 0 || i >= BotStatus(len(_BotStatus_index)-1) {
13 return fmt.Sprintf("BotStatus(%d)", i)
14 }
15 return _BotStatus_name[_BotStatus_index[i]:_BotStatus_index[i+1]]
16 }
OLDNEW
« no previous file with comments | « no previous file | milo/api/resp/builder.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698