mongo

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OplogPrefix = "oplog_"
	OplogPath   = "oplog_" + utility.VersionStr + "/"
	OplogEndTs  = "WALG_MONGO_OPLOG_END_TS"
	OplogDst    = "WALG_MONGO_OPLOG_DST"
)

Variables

This section is empty.

Functions

func FetchBackupStreamAndOplog

func FetchBackupStreamAndOplog(folder storage.Folder, backup *internal.Backup) error

func HandleOplogPush

func HandleOplogPush(uploader *Uploader)

func HandleStreamPush

func HandleStreamPush(uploader *Uploader)

Types

type StreamSentinelDto

type StreamSentinelDto struct {
	StartLocalTime time.Time
}

type Uploader

type Uploader struct {
	*internal.Uploader
}

func (*Uploader) UploadStream

func (uploader *Uploader) UploadStream(stream io.Reader) error

TODO : unit tests UploadStream compresses a stream and uploads it.

Jump to

Keyboard shortcuts

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