local

package
v0.0.0-...-1d5d43e Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Local

type Local struct {
	Retention
	// contains filtered or unexported fields
}

func Init

func Init() *Local

func (*Local) Clone

func (l *Local) Clone() interfaces.Storage

func (*Local) Close

func (l *Local) Close() error

func (*Local) DeleteOldBackups

func (l *Local) DeleteOldBackups(logCh chan logger.LogRecord, ofsPart string, job interfaces.Job, full bool) error

func (*Local) DeliveryBackup

func (l *Local) DeliveryBackup(logCh chan logger.LogRecord, jobName, tmpBackupFile, ofs, bakType string) (err error)

func (*Local) GetFileReader

func (l *Local) GetFileReader(ofsPath string) (io.Reader, error)

func (*Local) GetName

func (l *Local) GetName() string

func (*Local) IsLocal

func (l *Local) IsLocal() int

func (*Local) SetBackupPath

func (l *Local) SetBackupPath(path string)

func (*Local) SetRetention

func (l *Local) SetRetention(r Retention)

Jump to

Keyboard shortcuts

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