alts: Change ALTS proto package name (#1886)

This commit is contained in:
Cesar Ghali
2018-02-26 18:05:53 -08:00
committed by Menghan Li
parent 2e7e633fea
commit a1de3b2bd6
14 changed files with 6 additions and 8 deletions

View File

@ -36,7 +36,7 @@ import (
"google.golang.org/grpc/credentials/alts/core"
"google.golang.org/grpc/credentials/alts/core/handshaker"
"google.golang.org/grpc/credentials/alts/core/handshaker/service"
altspb "google.golang.org/grpc/credentials/alts/core/proto"
altspb "google.golang.org/grpc/credentials/alts/core/proto/grpc_gcp"
"google.golang.org/grpc/grpclog"
)

View File

@ -22,7 +22,7 @@ import (
"testing"
"github.com/golang/protobuf/proto"
altspb "google.golang.org/grpc/credentials/alts/core/proto"
altspb "google.golang.org/grpc/credentials/alts/core/proto/grpc_gcp"
)
func TestInfoServerName(t *testing.T) {

View File

@ -21,7 +21,7 @@ package authinfo
import (
"google.golang.org/grpc/credentials"
altspb "google.golang.org/grpc/credentials/alts/core/proto"
altspb "google.golang.org/grpc/credentials/alts/core/proto/grpc_gcp"
)
var _ credentials.AuthInfo = (*altsAuthInfo)(nil)

View File

@ -22,7 +22,7 @@ import (
"reflect"
"testing"
altspb "google.golang.org/grpc/credentials/alts/core/proto"
altspb "google.golang.org/grpc/credentials/alts/core/proto/grpc_gcp"
)
const (

View File

@ -33,7 +33,7 @@ import (
"google.golang.org/grpc/credentials/alts/core"
"google.golang.org/grpc/credentials/alts/core/authinfo"
"google.golang.org/grpc/credentials/alts/core/conn"
altspb "google.golang.org/grpc/credentials/alts/core/proto"
altspb "google.golang.org/grpc/credentials/alts/core/proto/grpc_gcp"
)
const (

View File

@ -26,7 +26,7 @@ import (
"golang.org/x/net/context"
grpc "google.golang.org/grpc"
"google.golang.org/grpc/credentials/alts/core"
altspb "google.golang.org/grpc/credentials/alts/core/proto"
altspb "google.golang.org/grpc/credentials/alts/core/proto/grpc_gcp"
"google.golang.org/grpc/credentials/alts/core/testutil"
)

View File

@ -17,7 +17,6 @@
*/
// This binary can only run on Google Cloud Platform (GCP).
package main
import (

View File

@ -17,7 +17,6 @@
*/
// This binary can only run on Google Cloud Platform (GCP).
package main
import (