mongodb

package
v1.11.9 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareTestContainer

func PrepareTestContainer(t *testing.T, version string) (cleanup func(), retURL string)

PrepareTestContainer calls PrepareTestContainerWithDatabase without a database name value, which results in configuring a database named "test"

func PrepareTestContainerWithDatabase

func PrepareTestContainerWithDatabase(t *testing.T, version, dbName string) (func(), string)

PrepareTestContainerWithDatabase configures a test container with a given database name, to test non-test/admin database configurations

Types

This section is empty.

Jump to

Keyboard shortcuts

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