Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadConnection = errors.New("the connection hasn't reflected the latest user's privileges")
Functions ¶
This section is empty.
Types ¶
type BackupManager ¶
type BackupManager struct {
// contains filtered or unexported fields
}
func NewBackupManager ¶
func (*BackupManager) ChoosePod ¶
ChoosePod chooses a pod to take a backup from. It returns the index of the chosen pod and whether backupBinlog should be called.
func (*BackupManager) GetUUIDSet ¶ added in v0.20.0
type ByteCountWriter ¶
type ByteCountWriter struct {
// contains filtered or unexported fields
}
ByteCountWriter counts the written data in bytes
func (*ByteCountWriter) Write ¶
func (w *ByteCountWriter) Write(data []byte) (int, error)
Write implements io.Writer interface.
func (*ByteCountWriter) Written ¶
func (w *ByteCountWriter) Written() int64
Written returns the number of written bytes.
type RestoreManager ¶
type RestoreManager struct {
// contains filtered or unexported fields
}
func NewRestoreManager ¶
func (*RestoreManager) FindNearestDump ¶
FindNearestDump finds the nearest dump file and binlog file to the restore point. `keys` are object keys for the restoring instance. They need not be sorted.
Click to show internal directories.
Click to hide internal directories.