| OLD | NEW |
| 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 // Status of the build. | 211 // Status of the build. |
| 212 Status Status | 212 Status Status |
| 213 | 213 |
| 214 // Banner is a banner of logos that define the OS and devices this | 214 // Banner is a banner of logos that define the OS and devices this |
| 215 // component is associated with. | 215 // component is associated with. |
| 216 Banner *LogoBanner | 216 Banner *LogoBanner |
| 217 | 217 |
| 218 // Bot is the machine or execution instance that this component ran on. | 218 // Bot is the machine or execution instance that this component ran on. |
| 219 Bot *Link | 219 Bot *Link |
| 220 | 220 |
| 221 // Recipe is a link to the recipe this component is based on. |
| 222 Recipe *Link |
| 223 |
| 221 // Source is a link to the external (buildbot, swarming, dm, etc) data | 224 // Source is a link to the external (buildbot, swarming, dm, etc) data |
| 222 // source that this component relates to. | 225 // source that this component relates to. |
| 223 Source *Link | 226 Source *Link |
| 224 | 227 |
| 225 // Link to show adjacent to the main label. | 228 // Link to show adjacent to the main label. |
| 226 MainLink *Link | 229 MainLink *Link |
| 227 | 230 |
| 228 // Links to show right below the main label. | 231 // Links to show right below the main label. |
| 229 SubLink []*Link | 232 SubLink []*Link |
| 230 | 233 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 | 289 |
| 287 // An icon for the link. Not compatible with label. Rendered as <img> | 290 // An icon for the link. Not compatible with label. Rendered as <img> |
| 288 Img string `json:",omitempty"` | 291 Img string `json:",omitempty"` |
| 289 | 292 |
| 290 // Alt text for the image, only supported with img. | 293 // Alt text for the image, only supported with img. |
| 291 Alt string `json:",omitempty"` | 294 Alt string `json:",omitempty"` |
| 292 | 295 |
| 293 // Aliases is the set of aliases attached to this link. | 296 // Aliases is the set of aliases attached to this link. |
| 294 Aliases []*Link `json:",omitempty"` | 297 Aliases []*Link `json:",omitempty"` |
| 295 } | 298 } |
| OLD | NEW |