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

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

Issue 2949783002: [milo] appengine/* -> * (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
« no previous file with comments | « milo/api/resp/build.go ('k') | milo/api/resp/console.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The LUCI Authors. All rights reserved. 1 // Copyright 2015 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 //go:generate stringer -type=BotStatus 5 //go:generate stringer -type=BotStatus
6 6
7 package resp 7 package resp
8 8
9 import ( 9 import (
10 "time" 10 "time"
11 11
12 » "github.com/luci/luci-go/milo/appengine/common/model" 12 » "github.com/luci/luci-go/milo/common/model"
13 ) 13 )
14 14
15 // Interval is a time interval which has a start, an end and a duration. 15 // Interval is a time interval which has a start, an end and a duration.
16 type Interval struct { 16 type Interval struct {
17 Started time.Time // when did this interval start 17 Started time.Time // when did this interval start
18 Finished time.Time // when did this interval finish 18 Finished time.Time // when did this interval finish
19 Duration time.Duration // length of the interval; may be non-zero if Fin ished is zero 19 Duration time.Duration // length of the interval; may be non-zero if Fin ished is zero
20 } 20 }
21 21
22 // BuildSummary is a summary of a build, with just enough information for displa y 22 // BuildSummary is a summary of a build, with just enough information for displa y
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 92 }
93 93
94 // MachinePool represents the capacity and availability of a builder. 94 // MachinePool represents the capacity and availability of a builder.
95 type MachinePool struct { 95 type MachinePool struct {
96 Total int 96 Total int
97 Disconnected int 97 Disconnected int
98 Idle int 98 Idle int
99 Busy int 99 Busy int
100 Bots []Bot 100 Bots []Bot
101 } 101 }
OLDNEW
« no previous file with comments | « milo/api/resp/build.go ('k') | milo/api/resp/console.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698