Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TestingAppProfile is the profile that can be used when running an instance locally // or for integration tests (unit tests should primarily use the BigTable Emulator). TestingAppProfile = "local-testing" )
Variables ¶
This section is empty.
Functions ¶
func DeleteTables ¶
DeleteTables deletes the tables given in the TableConfig.
func EnsureNotEmulator ¶
func EnsureNotEmulator()
EnsureNotEmulator will panic if it detects the BigTable Emulator is configured.
func ErrToCode ¶
ErrToCode returns the error that is passed and a gRPC code extracted from the error. If the error did not originate in gRPC the returned code is codes.Unknown. See https://godoc.org/google.golang.org/grpc/codes for a list of codes.
func InitBigtable ¶
InitBigtable takes a list of TableConfigs and creates the given tables and column families if they don't exist already.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.