kopialib

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectBackupRepo

func ConnectBackupRepo(ctx context.Context, repoOption udmrepo.RepoOptions) error

ConnectBackupRepo connects to an existing Kopia repository. If the repository doesn't exist, it will fail

func CreateBackupRepo

func CreateBackupRepo(ctx context.Context, repoOption udmrepo.RepoOptions) error

CreateBackupRepo creates a Kopia repository and then connect to it. The storage must be empty, otherwise, it will fail

func NewKopiaRepoService

func NewKopiaRepoService(logger logrus.FieldLogger) udmrepo.BackupRepoService

NewKopiaRepoService creates an instance of BackupRepoService implemented by Kopia

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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