alts: Change ALTS proto package name (#1886)
This commit is contained in:
@ -36,7 +36,7 @@ import (
|
|||||||
"google.golang.org/grpc/credentials/alts/core"
|
"google.golang.org/grpc/credentials/alts/core"
|
||||||
"google.golang.org/grpc/credentials/alts/core/handshaker"
|
"google.golang.org/grpc/credentials/alts/core/handshaker"
|
||||||
"google.golang.org/grpc/credentials/alts/core/handshaker/service"
|
"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"
|
"google.golang.org/grpc/grpclog"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"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) {
|
func TestInfoServerName(t *testing.T) {
|
||||||
|
|||||||
@ -21,7 +21,7 @@ package authinfo
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"google.golang.org/grpc/credentials"
|
"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)
|
var _ credentials.AuthInfo = (*altsAuthInfo)(nil)
|
||||||
|
|||||||
@ -22,7 +22,7 @@ import (
|
|||||||
"reflect"
|
"reflect"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
altspb "google.golang.org/grpc/credentials/alts/core/proto"
|
altspb "google.golang.org/grpc/credentials/alts/core/proto/grpc_gcp"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@ -33,7 +33,7 @@ import (
|
|||||||
"google.golang.org/grpc/credentials/alts/core"
|
"google.golang.org/grpc/credentials/alts/core"
|
||||||
"google.golang.org/grpc/credentials/alts/core/authinfo"
|
"google.golang.org/grpc/credentials/alts/core/authinfo"
|
||||||
"google.golang.org/grpc/credentials/alts/core/conn"
|
"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 (
|
const (
|
||||||
|
|||||||
@ -26,7 +26,7 @@ import (
|
|||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/credentials/alts/core"
|
"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"
|
"google.golang.org/grpc/credentials/alts/core/testutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// This binary can only run on Google Cloud Platform (GCP).
|
// This binary can only run on Google Cloud Platform (GCP).
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// This binary can only run on Google Cloud Platform (GCP).
|
// This binary can only run on Google Cloud Platform (GCP).
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|||||||
Reference in New Issue
Block a user