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

Side by Side Diff: milo/appengine/job_source/raw_presentation/build.go

Issue 2944983003: [milo] {buildbucket,buildbot,swarming,logdog} -> backends/*. (Closed)
Patch Set: fix the tests 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
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 logdog 5 package raw_presentation
6 6
7 import ( 7 import (
8 "errors" 8 "errors"
9 "fmt" 9 "fmt"
10 "time" 10 "time"
11 11
12 log "github.com/luci/luci-go/common/logging" 12 log "github.com/luci/luci-go/common/logging"
13 "github.com/luci/luci-go/common/proto/google" 13 "github.com/luci/luci-go/common/proto/google"
14 miloProto "github.com/luci/luci-go/common/proto/milo" 14 miloProto "github.com/luci/luci-go/common/proto/milo"
15 "github.com/luci/luci-go/logdog/api/logpb" 15 "github.com/luci/luci-go/logdog/api/logpb"
16 "github.com/luci/luci-go/logdog/client/coordinator" 16 "github.com/luci/luci-go/logdog/client/coordinator"
17 "github.com/luci/luci-go/logdog/common/types" 17 "github.com/luci/luci-go/logdog/common/types"
18 "github.com/luci/luci-go/logdog/common/viewer" 18 "github.com/luci/luci-go/logdog/common/viewer"
19 "github.com/luci/luci-go/luci_config/common/cfgtypes" 19 "github.com/luci/luci-go/luci_config/common/cfgtypes"
20 "github.com/luci/luci-go/milo/api/resp" 20 "github.com/luci/luci-go/milo/api/resp"
21 » "github.com/luci/luci-go/milo/appengine/logdog/internal" 21 » "github.com/luci/luci-go/milo/appengine/job_source/raw_presentation/inte rnal"
22 22
23 "github.com/golang/protobuf/proto" 23 "github.com/golang/protobuf/proto"
24 "golang.org/x/net/context" 24 "golang.org/x/net/context"
25 ) 25 )
26 26
27 const ( 27 const (
28 // intermediateCacheLifetime is the amount of time to cache intermediate (non- 28 // intermediateCacheLifetime is the amount of time to cache intermediate (non-
29 // terminal) annotation streams. Terminal annotation streams are cached 29 // terminal) annotation streams. Terminal annotation streams are cached
30 // indefinitely. 30 // indefinitely.
31 intermediateCacheLifetime = 10 * time.Second 31 intermediateCacheLifetime = 10 * time.Second
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 if link.Label == "" { 214 if link.Label == "" {
215 link.Label = "unnamed" 215 link.Label = "unnamed"
216 } 216 }
217 return link 217 return link
218 218
219 default: 219 default:
220 // Don't know how to render. 220 // Don't know how to render.
221 return nil 221 return nil
222 } 222 }
223 } 223 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698