tempbackup

package
v0.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TempBackupManager

type TempBackupManager struct {

	// Injected after etcd launched
	EtcdCli *clientv3.Client
	// contains filtered or unexported fields
}

func NewTempBackupManager

func NewTempBackupManager(storage storage.BackupStorage, cfg *TempBackupManagerConfig) (*TempBackupManager, error)

func (*TempBackupManager) OpenFullBackup

func (m *TempBackupManager) OpenFullBackup(db string) (*TempBackupState, error)

func (*TempBackupManager) OpenIncBackup

func (m *TempBackupManager) OpenIncBackup(db string, lsn string) (*TempBackupState, error)

type TempBackupManagerConfig

type TempBackupManagerConfig struct {
	*base.Config

	TempDir string

	Name string
}

type TempBackupState

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

func (*TempBackupState) Append

func (s *TempBackupState) Append(content []byte) error

func (*TempBackupState) Close

func (s *TempBackupState) Close() error

type TempBackupTransferService

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

func (*TempBackupTransferService) PostCheckpoints

func (*TempBackupTransferService) TransferFullBackup

func (*TempBackupTransferService) TransferIncBackup

Directories

Path Synopsis
Package tempbackuppb is a generated protocol buffer package.
Package tempbackuppb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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