backup

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupScheduler added in v0.3.0

type BackupScheduler struct {
	// contains filtered or unexported fields
}

BackupDispatcher is responsible for managing the backup process for multiple repositories.

func NewBackupScheduler added in v0.3.0

func NewBackupScheduler() *BackupScheduler

NewBackupDispatcher creates a new BackupDispatcher instance.

func (*BackupScheduler) RescheduleBackup added in v0.3.0

func (d *BackupScheduler) RescheduleBackup(repo *repository.BackupRepo)

func (*BackupScheduler) ScheduleBackup added in v0.3.0

func (d *BackupScheduler) ScheduleBackup(repo *repository.BackupRepo)

func (*BackupScheduler) Start added in v0.3.0

func (d *BackupScheduler) Start()

Start starts the backup dispatcher and runs the backup process for each repository at the specified intervals.

func (*BackupScheduler) Stop added in v0.3.0

func (d *BackupScheduler) Stop()

Stop stops the backup dispatcher and waits for the backup process to complete.

func (*BackupScheduler) UnscheduleBackup added in v0.3.0

func (d *BackupScheduler) UnscheduleBackup(repo *repository.BackupRepo)

Jump to

Keyboard shortcuts

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