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: appengine/cmd/milo/resp/console.go

Issue 2196453002: Milo: Console view prototype (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Rebase 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
OLDNEW
(Empty)
1 // Copyright 2016 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 resp
6
nodir 2016/08/03 20:26:18 comments in this file would be great
hinoka 2016/08/03 21:55:40 Done.
7 // This is optimized for a table view.
8 type Console struct {
9 Name string
10
11 Commit []CommitBuild
12
13 BuilderGroup []*BuilderGroup
14 BuilderRef []BuilderRef
15 }
16
17 type BuilderRef struct {
18 Module string
19 Name string
20 Category string // TODO(hinoka): This should be a list?
21 ShortName string
22 }
23
24 type CommitBuild struct {
25 Commit
26 Build []*ConsoleBuild
27 }
28
29 type BuilderGroup struct {
30 FullPath string
31 Label string
32 Decendents int
33 Parent *BuilderGroup
34 Children []*BuilderGroup
35 Builders []ConsoleBuilder
36 }
37
38 type ConsoleBuilder struct {
39 ShortName string
40 Label Link
41 // Most recent finished build status.
42 Status Status
43 }
44
45 type ConsoleBuild struct {
46 // Link to the build. Alt-text goes on the Label of the link
47 Link *Link
48
49 // Status of the build.
50 Status Status
51 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698