testing

package
v7.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GcsRegion  = "US-CENTRAL1" // https://cloud.google.com/storage/docs/locations#location-r
	ProjectId  = "test"
	BucketName = "vervet-underground-specs"
)

Variables

This section is empty.

Functions

func Connect

func Connect(ctx context.Context, c *qt.C, gcsPort string) testcontainers.Container

Connect returns a newly launched fake GCS server container.

func Setup

func Setup(c *qt.C) *gcs.Config

Setup launches a fake GCS server and returns the storage configuration needed to connect to it.

Resources are cleaned up automatically when the test completes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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