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

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

Issue 2931773004: Milo: Add machine pool info for buildbot builder view. (Closed)
Patch Set: Rebase 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
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 = "UnknownIdleBusyDisconnected"
8
9 var _BotStatus_index = [...]uint8{0, 7, 11, 15, 27}
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 | « milo/Makefile ('k') | milo/api/resp/builder.go » ('j') | milo/api/resp/builder.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698