spannerio

package
v3.0.0-...-16f56ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDatabase

func CreateDatabase(ctx context.Context, t *testing.T, adminClient *database.DatabaseAdminClient, db string)

func CreateInstance

func CreateInstance(ctx context.Context, t *testing.T, instanceAdmin *instance.InstanceAdminClient, db string)

func CreateTable

func CreateTable(ctx context.Context, t *testing.T, adminClient *database.DatabaseAdminClient, db string, ddls []string)

func DeleteInstance

func DeleteInstance(ctx context.Context, t *testing.T, instanceAdmin *instance.InstanceAdminClient, db string)

func DropDatabase

func DropDatabase(ctx context.Context, t *testing.T, adminClient *database.DatabaseAdminClient, db string)

func NewAdminClient

func NewAdminClient(ctx context.Context, t *testing.T, endpoint string) *database.DatabaseAdminClient

func NewClient

func NewClient(ctx context.Context, t *testing.T, endpoint string, db string) *spanner.Client

func NewInstanceAdminClient

func NewInstanceAdminClient(ctx context.Context, t *testing.T, endpoint string) *instance.InstanceAdminClient

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL