vault: github.com/hashicorp/vault/helper/testhelpers/mongodb Index | Files

package mongodb

import "github.com/hashicorp/vault/helper/testhelpers/mongodb"

Index

Package Files

mongodbhelper.go

func PrepareTestContainer Uses

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 Uses

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

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

Package mongodb imports 12 packages (graph). Updated 2019-07-24. Refresh now. Tools for package owners.