| OLD | NEW |
| 1 // Code generated by svcdec; DO NOT EDIT | 1 // Code generated by svcdec; DO NOT EDIT |
| 2 | 2 |
| 3 package admin | 3 package admin |
| 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 google_protobuf "github.com/luci/luci-go/common/proto/google" | 9 google_protobuf "github.com/luci/luci-go/common/proto/google" |
| 10 ) | 10 ) |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 if err == nil { | 32 if err == nil { |
| 33 c = newCtx | 33 c = newCtx |
| 34 rsp, err = s.Service.ImportCAConfigs(c, req) | 34 rsp, err = s.Service.ImportCAConfigs(c, req) |
| 35 } | 35 } |
| 36 if s.Postlude != nil { | 36 if s.Postlude != nil { |
| 37 err = s.Postlude(c, "ImportCAConfigs", rsp, err) | 37 err = s.Postlude(c, "ImportCAConfigs", rsp, err) |
| 38 } | 38 } |
| 39 return | 39 return |
| 40 } | 40 } |
| 41 | 41 |
| 42 func (s *DecoratedAdmin) ImportDelegationConfigs(c context.Context, req *google_
protobuf.Empty) (rsp *ImportedConfigs, err error) { |
| 43 var newCtx context.Context |
| 44 if s.Prelude != nil { |
| 45 newCtx, err = s.Prelude(c, "ImportDelegationConfigs", req) |
| 46 } |
| 47 if err == nil { |
| 48 c = newCtx |
| 49 rsp, err = s.Service.ImportDelegationConfigs(c, req) |
| 50 } |
| 51 if s.Postlude != nil { |
| 52 err = s.Postlude(c, "ImportDelegationConfigs", rsp, err) |
| 53 } |
| 54 return |
| 55 } |
| 56 |
| 42 func (s *DecoratedAdmin) InspectMachineToken(c context.Context, req *InspectMach
ineTokenRequest) (rsp *InspectMachineTokenResponse, err error) { | 57 func (s *DecoratedAdmin) InspectMachineToken(c context.Context, req *InspectMach
ineTokenRequest) (rsp *InspectMachineTokenResponse, err error) { |
| 43 var newCtx context.Context | 58 var newCtx context.Context |
| 44 if s.Prelude != nil { | 59 if s.Prelude != nil { |
| 45 newCtx, err = s.Prelude(c, "InspectMachineToken", req) | 60 newCtx, err = s.Prelude(c, "InspectMachineToken", req) |
| 46 } | 61 } |
| 47 if err == nil { | 62 if err == nil { |
| 48 c = newCtx | 63 c = newCtx |
| 49 rsp, err = s.Service.InspectMachineToken(c, req) | 64 rsp, err = s.Service.InspectMachineToken(c, req) |
| 50 } | 65 } |
| 51 if s.Postlude != nil { | 66 if s.Postlude != nil { |
| 52 err = s.Postlude(c, "InspectMachineToken", rsp, err) | 67 err = s.Postlude(c, "InspectMachineToken", rsp, err) |
| 53 } | 68 } |
| 54 return | 69 return |
| 55 } | 70 } |
| OLD | NEW |