OLD | NEW |
| (Empty) |
1 // Copyright 2017 The LUCI Authors. All rights reserved. | |
2 // Use of this source code is governed under the Apache License, Version 2.0 | |
3 // that can be found in the LICENSE file. | |
4 | |
5 package model | |
6 | |
7 import "time" | |
8 | |
9 // Summary summarizes a thing (step, build, group of builds, whatever). | |
10 type Summary struct { | |
11 // Status indicates the 'goodness' and lifetime of the thing. This usual
ly | |
12 // translates directly to a status color. | |
13 Status Status | |
14 | |
15 // Start indicates when this thing started doing its action. | |
16 Start time.Time | |
17 | |
18 // End indicates when this thing completed doing its action. | |
19 End time.Time | |
20 | |
21 // Text is a possibly-multi-line summary of what happened. | |
22 Text []string | |
23 } | |
OLD | NEW |