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"` StorageNames []string `yaml:"storages"` Storages map[string]storage.Storage `yaml:"-"` LocalPath string `yaml:"-"` Credentials `yaml:"credentials"` }
func (*BackupRepo) BackupAndUpload ¶
func (b *BackupRepo) BackupAndUpload() error
func (*BackupRepo) Initialize ¶
func (b *BackupRepo) Initialize() error
type Credentials ¶
Click to show internal directories.
Click to hide internal directories.