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

Side by Side Diff: tokenserver/appengine/impl/serviceaccounts/rpc_import_service_accounts_configs.go

Issue 2785973002: token-server: Add protos for new API for generating service account tokens. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
(Empty)
1 // Copyright 2017 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file.
4
5 package serviceaccounts
6
7 import (
8 "golang.org/x/net/context"
9 "google.golang.org/grpc"
10 "google.golang.org/grpc/codes"
11
12 "github.com/golang/protobuf/ptypes/empty"
13 "github.com/luci/luci-go/tokenserver/api/admin/v1"
14 )
15
16 // ImportServiceAccountsConfigsRPC implements Admin.ImportServiceAccountsConfigs
17 // method.
18 type ImportServiceAccountsConfigsRPC struct {
19 }
20
21 // ImportServiceAccountsConfigs fetches configs from from luci-config right now.
22 func (r *ImportServiceAccountsConfigsRPC) ImportServiceAccountsConfigs(c context .Context, _ *empty.Empty) (*admin.ImportedConfigs, error) {
23 return nil, grpc.Errorf(codes.Unavailable, "not implemented")
24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698