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

Side by Side Diff: milo/api/resp/console.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/builder.go ('k') | milo/appengine/common/acl.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 2016 The LUCI Authors. All rights reserved. 1 // Copyright 2016 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 package resp 5 package resp
6 6
7 import "github.com/luci/luci-go/milo/appengine/common/model" 7 import "github.com/luci/luci-go/milo/common/model"
8 8
9 // This file contains the structures for defining a Console view. 9 // This file contains the structures for defining a Console view.
10 // Console: The main entry point and the overall struct for a console page. 10 // Console: The main entry point and the overall struct for a console page.
11 // BuilderRef: Used both as an input to request a builder and headers for the co nsole. 11 // BuilderRef: Used both as an input to request a builder and headers for the co nsole.
12 // CommitBuild: A row in the console. References a commit with a list of build summaries. 12 // CommitBuild: A row in the console. References a commit with a list of build summaries.
13 // ConsoleBuild: A cell in the console. Contains all information required to ren der the cell. 13 // ConsoleBuild: A cell in the console. Contains all information required to ren der the cell.
14 14
15 // Console represents a console view. Commit contains the full matrix of 15 // Console represents a console view. Commit contains the full matrix of
16 // Commits x Builder, and BuilderRef contains information on how to render 16 // Commits x Builder, and BuilderRef contains information on how to render
17 // the header. The two structs are expected to be consistent. IE len(Console.[ ]BuilderRef) 17 // the header. The two structs are expected to be consistent. IE len(Console.[ ]BuilderRef)
(...skipping 29 matching lines...) Expand all
47 } 47 }
48 48
49 // ConsoleBuild is a cell in the console. Contains all information required to r ender the cell. 49 // ConsoleBuild is a cell in the console. Contains all information required to r ender the cell.
50 type ConsoleBuild struct { 50 type ConsoleBuild struct {
51 // Link to the build. Alt-text goes on the Label of the link 51 // Link to the build. Alt-text goes on the Label of the link
52 Link *Link 52 Link *Link
53 53
54 // Status of the build. 54 // Status of the build.
55 Status model.Status 55 Status model.Status
56 } 56 }
OLDNEW
« no previous file with comments | « milo/api/resp/builder.go ('k') | milo/appengine/common/acl.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698