| 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 | 5 //go:generate stringer -type=Status,ComponentType |
| 6 | 6 |
| 7 package resp | 7 package resp |
| 8 | 8 |
| 9 import "encoding/json" | 9 import "encoding/json" |
| 10 | 10 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 Branch string | 77 Branch string |
| 78 // Requested revision of the commit or base commit. | 78 // Requested revision of the commit or base commit. |
| 79 RequestRevision string | 79 RequestRevision string |
| 80 // Revision of the commit or base commit. | 80 // Revision of the commit or base commit. |
| 81 Revision string | 81 Revision string |
| 82 // The commit message. | 82 // The commit message. |
| 83 Description string | 83 Description string |
| 84 // The commit title, usually the first line of the commit message. | 84 // The commit title, usually the first line of the commit message. |
| 85 Title string | 85 Title string |
| 86 // Rietveld or Gerrit URL if the commit is a patch. | 86 // Rietveld or Gerrit URL if the commit is a patch. |
| 87 » ChangelistURL string | 87 » Changelist *Link |
| 88 // Browsable URL of the commit. | 88 // Browsable URL of the commit. |
| 89 CommitURL string | 89 CommitURL string |
| 90 // List of changed filenames. | 90 // List of changed filenames. |
| 91 File []string | 91 File []string |
| 92 } | 92 } |
| 93 | 93 |
| 94 // BuildProgress is a way to show progress. Percent should always be specified. | 94 // BuildProgress is a way to show progress. Percent should always be specified. |
| 95 type BuildProgress struct { | 95 type BuildProgress struct { |
| 96 // The total number of entries. Shows up as a tooltip. Leave at 0 to | 96 // The total number of entries. Shows up as a tooltip. Leave at 0 to |
| 97 // disable the tooltip. | 97 // disable the tooltip. |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 | 231 |
| 232 // An icon for the link. Not compatible with label. Rendered as <img> | 232 // An icon for the link. Not compatible with label. Rendered as <img> |
| 233 Img string | 233 Img string |
| 234 | 234 |
| 235 // The destination for the link, stuck in a <a href> tag. | 235 // The destination for the link, stuck in a <a href> tag. |
| 236 URL string | 236 URL string |
| 237 | 237 |
| 238 // Alt text for the image, only supported with img. | 238 // Alt text for the image, only supported with img. |
| 239 Alt string | 239 Alt string |
| 240 } | 240 } |
| OLD | NEW |