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

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

Issue 2364653002: Buildbot build json grpc endpoint (Closed)
Patch Set: Pass tests Created 4 years, 3 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 18 matching lines...) Expand all
29 } 29 }
30 if err == nil { 30 if err == nil {
31 c = newCtx 31 c = newCtx
32 rsp, err = s.Service.GetCompressedMasterJSON(c, req) 32 rsp, err = s.Service.GetCompressedMasterJSON(c, req)
33 } 33 }
34 if s.Postlude != nil { 34 if s.Postlude != nil {
35 err = s.Postlude(c, "GetCompressedMasterJSON", rsp, err) 35 err = s.Postlude(c, "GetCompressedMasterJSON", rsp, err)
36 } 36 }
37 return 37 return
38 } 38 }
39
40 func (s *DecoratedBuildbot) GetBuildbotBuildJSON(c context.Context, req *Buildbo tBuildRequest) (rsp *BuildbotBuildJSON, err error) {
41 var newCtx context.Context
42 if s.Prelude != nil {
43 newCtx, err = s.Prelude(c, "GetBuildbotBuildJSON", req)
44 }
45 if err == nil {
46 c = newCtx
47 rsp, err = s.Service.GetBuildbotBuildJSON(c, req)
48 }
49 if s.Postlude != nil {
50 err = s.Postlude(c, "GetBuildbotBuildJSON", rsp, err)
51 }
52 return
53 }
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