mongoContainer

package
v0.0.0-...-80164ef Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoContainer

type MongoContainer struct {
	// contains filtered or unexported fields
}

func NewMongoContainer

func NewMongoContainer() *MongoContainer

func (*MongoContainer) MongoConfig

func (c *MongoContainer) MongoConfig() *mongoTestUtil.MongoTestConfig

func (*MongoContainer) NewMongoRepository

func (c *MongoContainer) NewMongoRepository(dbName string) *mongo.MongoDB

func (*MongoContainer) SetupContainer

func (c *MongoContainer) SetupContainer()

func (*MongoContainer) SetupContainerByParams

func (c *MongoContainer) SetupContainerByParams(mongoImage string)

func (*MongoContainer) TerminateContainer

func (c *MongoContainer) TerminateContainer()

Jump to

Keyboard shortcuts

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