mongodb

package
v0.0.0-...-e8c1540 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: BSD-3-Clause Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMessages

func GetMessages(task structs.Task) (err error, caches []structs.Task)

func InitDriver

func InitDriver() (mp databases.DatabaseDriver)

Types

type MongoParams

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

func (*MongoParams) Dump

func (mp *MongoParams) Dump(task *structs.Task) (err error)

func (*MongoParams) ParamsToDumpString

func (mp *MongoParams) ParamsToDumpString() (commandString string)

func (*MongoParams) ParamsToRestoreString

func (mp *MongoParams) ParamsToRestoreString() (commandString string)

func (*MongoParams) Restore

func (mp *MongoParams) Restore(task *structs.Task) (err error)

Jump to

Keyboard shortcuts

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