Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultProjectID is the default project ID for the Datastore container.
DefaultProjectID = "test-project"
)
Variables ¶
View Source
var WithProjectID = shared.WithProjectID
WithProjectID re-exports the common GCloud WithProjectID option
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
testcontainers.Container
// contains filtered or unexported fields
}
Container represents the Datastore container type used in the module
func Run ¶
func Run(ctx context.Context, img string, opts ...testcontainers.ContainerCustomizer) (*Container, error)
Run creates an instance of the Datastore GCloud container type. The URI uses the empty string as the protocol.
Click to show internal directories.
Click to hide internal directories.