top

Package bttest contains test helpers for working with the bigtable package.

To use a Server, create it, and then connect to it with no security: (The project/instance values are ignored.)

srv, err := bttest.NewServer("127.0.0.1:0")
...
conn, err := grpc.Dial(srv.Addr, grpc.WithInsecure())
...
client, err := bigtable.NewClient(ctx, proj, instance,
        option.WithGRPCConn(conn))
...

Imported by 2 package(s)

  1. cloud.google.com/go/bigtable/cmd/emulator
  2. google.golang.org/cloud/bigtable/cmd/emulator

Imported only in test by 6 package(s)

  1. cloud.google.com/go/bigtable
  2. github.com/GoogleCloudPlatform/gcloud-golang/bigtable
  3. github.com/Nitecon/gcloud-golang/bigtable
  4. github.com/jba/google-cloud-go/bigtable
  5. github.com/jba/google-cloud-go/bigtable/bttest
  6. github.com/tortuoise/gcloud-golang/bigtable

Imports 8 package(s)

  1. google.golang.org/genproto/googleapis/rpc/status
  2. google.golang.org/grpc/codes
  3. github.com/golang/protobuf/ptypes/wrappers
  4. github.com/golang/protobuf/ptypes/empty
  5. google.golang.org/genproto/googleapis/bigtable/admin/v2
  6. google.golang.org/genproto/googleapis/bigtable/v2
  7. golang.org/x/net/context
  8. google.golang.org/grpc

Test imports 2 package(s)

  1. google.golang.org/api/option
  2. cloud.google.com/go/bigtable