Documentation ¶
Index ¶
- func Copy(src string, dst string) error
- func CopyFile(src, dst string) error
- type Backup
- func (b *Backup) ApplyChanges() (err error)
- func (b *Backup) ClearStorage(num int64) (err error)
- func (b *Backup) Delete(name string) (err error)
- func (b *Backup) List(ctx context.Context, limit, offset int64, orderBy, s string) (list m.Backups, total int64, err error)
- func (b *Backup) New(scheduler bool) (err error)
- func (b *Backup) Restore(name string) (err error)
- func (b *Backup) RestoreFile(name string) (err error)
- func (b *Backup) RestoreFromChunks()
- func (b *Backup) RollbackChanges() (err error)
- func (b *Backup) SendFileToTelegram(params events.CommandSendFileToTelegram)
- func (b *Backup) Shutdown(ctx context.Context) (err error)
- func (b *Backup) UploadBackup(ctx context.Context, reader *bufio.Reader, fileName string) (newFile *m.Backup, err error)
- type Config
- type Local
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backup ¶
type Backup struct {
// contains filtered or unexported fields
}
Backup ...
func (*Backup) ApplyChanges ¶ added in v0.12.0
func (*Backup) ClearStorage ¶ added in v0.13.0
func (*Backup) List ¶
func (b *Backup) List(ctx context.Context, limit, offset int64, orderBy, s string) (list m.Backups, total int64, err error)
List ...
func (*Backup) RestoreFile ¶ added in v0.13.1
RestoreFile ...
func (*Backup) RestoreFromChunks ¶ added in v0.13.0
func (b *Backup) RestoreFromChunks()
func (*Backup) RollbackChanges ¶ added in v0.12.0
func (*Backup) SendFileToTelegram ¶ added in v0.13.0
func (b *Backup) SendFileToTelegram(params events.CommandSendFileToTelegram)
Click to show internal directories.
Click to hide internal directories.