| 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/golang/protobuf/ptypes/empty" | 9 google_protobuf "github.com/golang/protobuf/ptypes/empty" |
| 10 ) | 10 ) |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 if err == nil { | 47 if err == nil { |
| 48 c = newCtx | 48 c = newCtx |
| 49 rsp, err = s.Service.ImportDelegationConfigs(c, req) | 49 rsp, err = s.Service.ImportDelegationConfigs(c, req) |
| 50 } | 50 } |
| 51 if s.Postlude != nil { | 51 if s.Postlude != nil { |
| 52 err = s.Postlude(c, "ImportDelegationConfigs", rsp, err) | 52 err = s.Postlude(c, "ImportDelegationConfigs", rsp, err) |
| 53 } | 53 } |
| 54 return | 54 return |
| 55 } | 55 } |
| 56 | 56 |
| 57 func (s *DecoratedAdmin) ImportServiceAccountsConfigs(c context.Context, req *go
ogle_protobuf.Empty) (rsp *ImportedConfigs, err error) { |
| 58 var newCtx context.Context |
| 59 if s.Prelude != nil { |
| 60 newCtx, err = s.Prelude(c, "ImportServiceAccountsConfigs", req) |
| 61 } |
| 62 if err == nil { |
| 63 c = newCtx |
| 64 rsp, err = s.Service.ImportServiceAccountsConfigs(c, req) |
| 65 } |
| 66 if s.Postlude != nil { |
| 67 err = s.Postlude(c, "ImportServiceAccountsConfigs", rsp, err) |
| 68 } |
| 69 return |
| 70 } |
| 71 |
| 57 func (s *DecoratedAdmin) InspectMachineToken(c context.Context, req *InspectMach
ineTokenRequest) (rsp *InspectMachineTokenResponse, err error) { | 72 func (s *DecoratedAdmin) InspectMachineToken(c context.Context, req *InspectMach
ineTokenRequest) (rsp *InspectMachineTokenResponse, err error) { |
| 58 var newCtx context.Context | 73 var newCtx context.Context |
| 59 if s.Prelude != nil { | 74 if s.Prelude != nil { |
| 60 newCtx, err = s.Prelude(c, "InspectMachineToken", req) | 75 newCtx, err = s.Prelude(c, "InspectMachineToken", req) |
| 61 } | 76 } |
| 62 if err == nil { | 77 if err == nil { |
| 63 c = newCtx | 78 c = newCtx |
| 64 rsp, err = s.Service.InspectMachineToken(c, req) | 79 rsp, err = s.Service.InspectMachineToken(c, req) |
| 65 } | 80 } |
| 66 if s.Postlude != nil { | 81 if s.Postlude != nil { |
| 67 err = s.Postlude(c, "InspectMachineToken", rsp, err) | 82 err = s.Postlude(c, "InspectMachineToken", rsp, err) |
| 68 } | 83 } |
| 69 return | 84 return |
| 70 } | 85 } |
| 71 | 86 |
| 72 func (s *DecoratedAdmin) InspectDelegationToken(c context.Context, req *InspectD
elegationTokenRequest) (rsp *InspectDelegationTokenResponse, err error) { | 87 func (s *DecoratedAdmin) InspectDelegationToken(c context.Context, req *InspectD
elegationTokenRequest) (rsp *InspectDelegationTokenResponse, err error) { |
| 73 var newCtx context.Context | 88 var newCtx context.Context |
| 74 if s.Prelude != nil { | 89 if s.Prelude != nil { |
| 75 newCtx, err = s.Prelude(c, "InspectDelegationToken", req) | 90 newCtx, err = s.Prelude(c, "InspectDelegationToken", req) |
| 76 } | 91 } |
| 77 if err == nil { | 92 if err == nil { |
| 78 c = newCtx | 93 c = newCtx |
| 79 rsp, err = s.Service.InspectDelegationToken(c, req) | 94 rsp, err = s.Service.InspectDelegationToken(c, req) |
| 80 } | 95 } |
| 81 if s.Postlude != nil { | 96 if s.Postlude != nil { |
| 82 err = s.Postlude(c, "InspectDelegationToken", rsp, err) | 97 err = s.Postlude(c, "InspectDelegationToken", rsp, err) |
| 83 } | 98 } |
| 84 return | 99 return |
| 85 } | 100 } |
| 101 |
| 102 func (s *DecoratedAdmin) InspectOAuthTokenGrant(c context.Context, req *InspectO
AuthTokenGrantRequest) (rsp *InspectOAuthTokenGrantResponse, err error) { |
| 103 var newCtx context.Context |
| 104 if s.Prelude != nil { |
| 105 newCtx, err = s.Prelude(c, "InspectOAuthTokenGrant", req) |
| 106 } |
| 107 if err == nil { |
| 108 c = newCtx |
| 109 rsp, err = s.Service.InspectOAuthTokenGrant(c, req) |
| 110 } |
| 111 if s.Postlude != nil { |
| 112 err = s.Postlude(c, "InspectOAuthTokenGrant", rsp, err) |
| 113 } |
| 114 return |
| 115 } |
| OLD | NEW |