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

Side by Side Diff: go/src/infra/crimson/proto/crimsonserver_dec.go

Issue 2108643006: crimson server: Implemented SelectHost and InsertHost (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@mactohex
Patch Set: Added NULL support for boot class Created 4 years, 5 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 | « go/src/infra/crimson/proto/crimson.pb.go ('k') | go/src/infra/crimson/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 crimson 3 package crimson
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 DecoratedCrimson struct { 10 type DecoratedCrimson struct {
(...skipping 12 matching lines...) Expand all
23 return s.Service.CreateIPRange(c, req) 23 return s.Service.CreateIPRange(c, req)
24 } 24 }
25 25
26 func (s *DecoratedCrimson) ReadIPRange(c context.Context, req *IPRangeQuery) (*I PRanges, error) { 26 func (s *DecoratedCrimson) ReadIPRange(c context.Context, req *IPRangeQuery) (*I PRanges, error) {
27 c, err := s.Prelude(c, "ReadIPRange", req) 27 c, err := s.Prelude(c, "ReadIPRange", req)
28 if err != nil { 28 if err != nil {
29 return nil, err 29 return nil, err
30 } 30 }
31 return s.Service.ReadIPRange(c, req) 31 return s.Service.ReadIPRange(c, req)
32 } 32 }
33
34 func (s *DecoratedCrimson) CreateHost(c context.Context, req *HostList) (*HostSt atus, error) {
35 c, err := s.Prelude(c, "CreateHost", req)
36 if err != nil {
37 return nil, err
38 }
39 return s.Service.CreateHost(c, req)
40 }
41
42 func (s *DecoratedCrimson) ReadHost(c context.Context, req *HostQuery) (*HostLis t, error) {
43 c, err := s.Prelude(c, "ReadHost", req)
44 if err != nil {
45 return nil, err
46 }
47 return s.Service.ReadHost(c, req)
48 }
OLDNEW
« no previous file with comments | « go/src/infra/crimson/proto/crimson.pb.go ('k') | go/src/infra/crimson/proto/pb.discovery.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698