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

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

Issue 2250263005: Milo: Prefetch logs that are failures (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: URL fix Created 4 years, 4 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/status_string.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=Status,ComponentType,Verbosity 5 //go:generate stringer -type=Status,ComponentType,Verbosity
6 6
7 package resp 7 package resp
8 8
9 import ( 9 import (
10 "encoding/json" 10 "encoding/json"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // Verbosity can be tagged onto a BuildComponent to indicate whether it should 181 // Verbosity can be tagged onto a BuildComponent to indicate whether it should
182 // be hidden or annuciated. 182 // be hidden or annuciated.
183 type Verbosity int 183 type Verbosity int
184 184
185 const ( 185 const (
186 // Normal items are displayed as usual. This is the default. 186 // Normal items are displayed as usual. This is the default.
187 Normal Verbosity = iota 187 Normal Verbosity = iota
188 188
189 // Hidden items are by default not displayed. 189 // Hidden items are by default not displayed.
190 Hidden 190 Hidden
191
192 // Interesting items are a signal that they should be annuciated, or
193 // pre-fetched.
194 Interesting
191 ) 195 )
192 196
193 // BuildComponent represents a single Step, subsetup, attempt, or recipe. 197 // BuildComponent represents a single Step, subsetup, attempt, or recipe.
194 type BuildComponent struct { 198 type BuildComponent struct {
195 // The parent of this component. For buildbot and swarmbucket builds, t his 199 // The parent of this component. For buildbot and swarmbucket builds, t his
196 // refers to the builder. For DM, this refers to whatever triggered the Quest. 200 // refers to the builder. For DM, this refers to whatever triggered the Quest.
197 ParentLabel *Link 201 ParentLabel *Link
198 202
199 // The main label for the component. 203 // The main label for the component.
200 Label string 204 Label string
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 276
273 // An icon for the link. Not compatible with label. Rendered as <img> 277 // An icon for the link. Not compatible with label. Rendered as <img>
274 Img string 278 Img string
275 279
276 // The destination for the link, stuck in a <a href> tag. 280 // The destination for the link, stuck in a <a href> tag.
277 URL string 281 URL string
278 282
279 // Alt text for the image, only supported with img. 283 // Alt text for the image, only supported with img.
280 Alt string 284 Alt string
281 } 285 }
OLDNEW
« no previous file with comments | « no previous file | milo/api/resp/status_string.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698