Versions in this module Expand all Collapse all v0 v0.4.1 Nov 11, 2021 Changes in this version + func ApplyDDL(ctx context.Context, adminClient *dbadmin.DatabaseAdminClient, dbname string, ...) error + func ApplyTestSchema(ctx context.Context, adminClient *dbadmin.DatabaseAdminClient, dbname string) error + func CheckDatabaseExist(ctx context.Context, dbAdminCli *dbadmin.DatabaseAdminClient, ...) (bool, error) + func CreateDatabase(ctx context.Context, dbAdminCli *dbadmin.DatabaseAdminClient, ...) error + func CreateInstance(ctx context.Context, insAdminCli *insadmin.InstanceAdminClient, ...) error + func DatabaseName(projectName, instanceName, dbName string) string + func DeleteAllData(ctx context.Context, client *spanner.Client) error + func DropDatabase(ctx context.Context, dbAdminCli *dbadmin.DatabaseAdminClient, ...) error + func SetupDatabase(ctx context.Context, projectName, instanceName, dbName string) error + func TestClient(ctx context.Context, projectName, instanceName, dbName string) (*spanner.Client, error)