Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a Mongo controller.
func (*Controller) Destroy ¶
func (c *Controller) Destroy(deleteTempDir bool) error
Destroy destroys the controller. If deleteTempDir is true, all files created by the controller will be removed.
func (*Controller) GetIncludesIndexes ¶
func (c *Controller) GetIncludesIndexes() bool
GetIncludesIndexes returns whether index names are returned in ListCollectionNames.
func (*Controller) GetPort ¶
func (c *Controller) GetPort() int
GetPort returns the port on which MongoDB is listening.
type Params ¶
type Params struct { // ExecutablePath is the path of the mongodb executable. ExecutablePath string // RootTempDir is where temporary files should be placed. RootTempDir string // UseWiredTiger determines whether the wired tiger storage engine should be used. By default // it is not used. UseWiredTiger bool }
Params are Parameters for creating a MongoDB controller.
Click to show internal directories.
Click to hide internal directories.