Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2023 Changes in this version + var All []Migration + type Migration interface + Apply func(context.Context, restic.Repository) error + Check func(context.Context, restic.Repository) (bool, string, error) + Desc func() string + Name func() string + RepoCheck func() bool + type S3Layout struct + func (m *S3Layout) Apply(ctx context.Context, repo restic.Repository) error + func (m *S3Layout) Check(_ context.Context, repo restic.Repository) (bool, string, error) + func (m *S3Layout) Desc() string + func (m *S3Layout) Name() string + func (m *S3Layout) RepoCheck() bool + type UpgradeRepoV2 struct + func (*UpgradeRepoV2) Check(_ context.Context, repo restic.Repository) (bool, string, error) + func (*UpgradeRepoV2) Desc() string + func (*UpgradeRepoV2) Name() string + func (*UpgradeRepoV2) RepoCheck() bool + func (m *UpgradeRepoV2) Apply(ctx context.Context, repo restic.Repository) error + type UpgradeRepoV2Error struct + BackupFilePath string + ReuploadOldConfigError error + UploadNewConfigError error + func (err *UpgradeRepoV2Error) Error() string + func (err *UpgradeRepoV2Error) Unwrap() error