mock

package
v0.0.0-...-29e6843 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Remote            amboy.Queue
	Driver            queue.Driver
	Local             amboy.Queue
	Closers           map[string]func(context.Context) error
	DBSession         *anserMock.Session
	EvergreenSettings *evergreen.Settings

	InternalSender *send.InternalSender
	// contains filtered or unexported fields
}

func (*Environment) ClientConfig

func (e *Environment) ClientConfig() *evergreen.ClientConfig

func (*Environment) Close

func (e *Environment) Close(ctx context.Context) error

func (*Environment) Configure

func (e *Environment) Configure(ctx context.Context, path string, db *evergreen.DBSettings) error

func (*Environment) GetSender

func (e *Environment) GetSender(key evergreen.SenderKey) (send.Sender, error)

func (*Environment) LocalQueue

func (e *Environment) LocalQueue() amboy.Queue

func (*Environment) RegisterCloser

func (e *Environment) RegisterCloser(name string, closer func(context.Context) error)

func (*Environment) RemoteQueue

func (e *Environment) RemoteQueue() amboy.Queue

func (*Environment) Session

func (e *Environment) Session() db.Session

func (*Environment) Settings

func (e *Environment) Settings() *evergreen.Settings

Jump to

Keyboard shortcuts

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