Documentation ¶
Index ¶
- func Copy(src string, dst string) error
- func File(src, dst string) error
- type Backup
- func (b *Backup) ApplyChanges() (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() (err error)
- func (b *Backup) Restore(name string) (err error)
- func (b *Backup) RollbackChanges() (err error)
- 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) List ¶
func (b *Backup) List(ctx context.Context, limit, offset int64, orderBy, s string) (list m.Backups, total int64, err error)
List ...
func (*Backup) RollbackChanges ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.