Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTables ¶
func DeleteTables(projectID, instanceID string, tableConfigs ...TableConfig) (err error)
DeleteTables deletes the tables given in the TableConfig.
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 ¶
func InitBigtable(projectID, instanceID string, tableConfigs ...TableConfig) error
InitBigtable takes a list of TableConfigs and creates the given tables and column families if they don't exist already.
Types ¶
type TableConfig ¶
TableConfig maps a table name to a list of column families, describing which tables and column InitBigtable should create.
Click to show internal directories.
Click to hide internal directories.