mongoupgrader

package
v0.0.0-...-4bd6544 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2016 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(st *state.State, machineID string, maybeStopMongo StopMongo) (worker.Worker, error)

New returns a worker or err in case of failure. this worker takes care of watching the state of machine's upgrade mongo information and change agent conf accordingly.

Types

type StopMongo

type StopMongo func(mongo.Version, bool) error

StopMongo represents a function that can issue a stop to a running mongo service.

Jump to

Keyboard shortcuts

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