Documentation ¶
Overview ¶
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/zone/cluster values are ignored.)
srv, err := bttest.NewServer() ... conn, err := grpc.Dial(srv.Addr, grpc.WithInsecure()) ... client, err := bigtable.NewClient(ctx, proj, zone, cluster, bigtable.WithBaseGRPC(conn)) ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Addr string // contains filtered or unexported fields }
Server is an in-memory Cloud Bigtable fake. It is unauthenticated, and only a rough approximation.
Click to show internal directories.
Click to hide internal directories.