tablebackup

package
v0.0.0-...-0d0b246 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2019 License: MIT Imports: 17 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context,
	name message.NamespacedName,
	oid dbutils.OID,
	ctrl controllerInterface,
	cfg *config.Config,
	prom promexporter.PromInterface,
) (*tableBackup, error)

New instantiates tableBackup

Types

type TableBackuper

type TableBackuper interface {
	OID() dbutils.OID
	Name() message.NamespacedName
	SetName(message.NamespacedName)
	RelationMessage() message.Relation
	String() string
	FlushLSN() dbutils.LSN
	TableDirectory() string
	ProcessDMLMessage(message.Message) error
	ProcessBegin(message.Begin) error
	ProcessCommit(message.Commit) error
	ProcessRelationMessage(message.Relation) error
	LatestCommitLSN() dbutils.LSN
	Wait()
	LastProcessedMessageTime() time.Time
	MessagesProcessed() uint
	QueueBasebackup()
	LastBasebackupTime() time.Time
	BasebackupDone(dump, info string, lsn dbutils.LSN) error
	LoadTableInfo() error
}

TableBackuper ...

Jump to

Keyboard shortcuts

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