Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BackupTasks = param.NewMap()
)
Functions ¶
func MonitorBackupStop ¶
func ResetFileChan ¶
func ResetFileChan()
Types ¶
type Cloudbackup ¶
type Cloudbackup struct { SourcePath string DestPath string Filter func(string) bool WaitFillCompleted bool IgnoreWaitRegexp *regexp.Regexp // contains filtered or unexported fields }
func New ¶
func New(mgr *s3manager.S3Manager) *Cloudbackup
func (*Cloudbackup) OnCreate ¶
func (c *Cloudbackup) OnCreate(file string)
func (*Cloudbackup) OnDelete ¶
func (c *Cloudbackup) OnDelete(file string)
func (*Cloudbackup) OnModify ¶
func (c *Cloudbackup) OnModify(file string)
func (*Cloudbackup) OnRename ¶
func (c *Cloudbackup) OnRename(file string)
Click to show internal directories.
Click to hide internal directories.