datastore: go.mercari.io/datastore/internal/testutils Index | Files

package testutils

import "go.mercari.io/datastore/internal/testutils"

Index

Package Files

testutils.go

Variables

var EmitCleanUpLog = false

EmitCleanUpLog is flag for emit Datastore clean up log.

func CleanUpAllEntities Uses

func CleanUpAllEntities(ctx context.Context, client datastore.Client)

CleanUpAllEntities in Datastore

func SetupAEDatastore Uses

func SetupAEDatastore(t *testing.T) (context.Context, datastore.Client, func())

SetupAEDatastore returns AEDatastore clients and function for cleaning.

func SetupCloudDatastore Uses

func SetupCloudDatastore(t *testing.T) (context.Context, datastore.Client, func())

SetupCloudDatastore returns CloudDatastore clients and function for cleaning.

Package testutils imports 8 packages (graph). Updated 2018-07-30. Refresh now. Tools for package owners.