Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupRepo ¶
type BackupRepo struct {
Name string `yaml:"name"`
SrcRepo *git.Repository `yaml:"-"`
RemoteURL string `yaml:"remote_url"`
Schedule string `yaml:"schedule"`
Storages map[string]*storage.Storage `yaml:"storages"`
LocalPath string `yaml:"-"`
Credentials `yaml:"credentials"`
}
func (*BackupRepo) BackupAndUpload ¶
func (b *BackupRepo) BackupAndUpload(ctx context.Context) error
func (*BackupRepo) Initialize ¶
func (b *BackupRepo) Initialize() error
type Credentials ¶
Click to show internal directories.
Click to hide internal directories.