gcp_test

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDatabase

func CreateDatabase(ctx context.Context, parentInstanceName, databaseID string) (string, error)

CreateDatabase creates a new Spanner database with the given parent instance name and database ID. Returns the database name or an error.

func CreateInstance

func CreateInstance(ctx context.Context, parentProjectID, instanceID string) (string, error)

CreateInstance creates a new Spanner instance with the given project and instance ID. Returns the instance name or an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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