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

Side by Side Diff: milo/api/proto/buildbotserver_dec.go

Issue 2366763002: Milo: Grpc endpoint for multiple builds on a builder (Closed)
Patch Set: Review comments, add smoke test Created 4 years, 2 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/proto/buildbot.pb.go ('k') | milo/api/proto/pb.discovery.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 // Code generated by svcdec; DO NOT EDIT 1 // Code generated by svcdec; DO NOT EDIT
2 2
3 package milo 3 package milo
4 4
5 import ( 5 import (
6 proto "github.com/golang/protobuf/proto" 6 proto "github.com/golang/protobuf/proto"
7 context "golang.org/x/net/context" 7 context "golang.org/x/net/context"
8 ) 8 )
9 9
10 type DecoratedBuildbot struct { 10 type DecoratedBuildbot struct {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 if err == nil { 45 if err == nil {
46 c = newCtx 46 c = newCtx
47 rsp, err = s.Service.GetBuildbotBuildJSON(c, req) 47 rsp, err = s.Service.GetBuildbotBuildJSON(c, req)
48 } 48 }
49 if s.Postlude != nil { 49 if s.Postlude != nil {
50 err = s.Postlude(c, "GetBuildbotBuildJSON", rsp, err) 50 err = s.Postlude(c, "GetBuildbotBuildJSON", rsp, err)
51 } 51 }
52 return 52 return
53 } 53 }
54
55 func (s *DecoratedBuildbot) GetBuildbotBuildsJSON(c context.Context, req *Buildb otBuildsRequest) (rsp *BuildbotBuildsJSON, err error) {
56 var newCtx context.Context
57 if s.Prelude != nil {
58 newCtx, err = s.Prelude(c, "GetBuildbotBuildsJSON", req)
59 }
60 if err == nil {
61 c = newCtx
62 rsp, err = s.Service.GetBuildbotBuildsJSON(c, req)
63 }
64 if s.Postlude != nil {
65 err = s.Postlude(c, "GetBuildbotBuildsJSON", rsp, err)
66 }
67 return
68 }
OLDNEW
« no previous file with comments | « milo/api/proto/buildbot.pb.go ('k') | milo/api/proto/pb.discovery.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698