Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupConnectOptions ¶
func SetupConnectOptions(ctx context.Context, repoOptions udmrepo.RepoOptions) repo.ConnectOptions
SetupConnectOptions setups the options when connecting to an existing Kopia repository
func SetupNewRepositoryOptions ¶
func SetupNewRepositoryOptions(ctx context.Context, flags map[string]string) repo.NewRepositoryOptions
SetupNewRepositoryOptions setups the options when creating a new Kopia repository
Types ¶
type AzureBackend ¶
type AzureBackend struct {
// contains filtered or unexported fields
}
type FsBackend ¶
type FsBackend struct {
// contains filtered or unexported fields
}
type GCSBackend ¶
type GCSBackend struct {
// contains filtered or unexported fields
}
type S3Backend ¶
type S3Backend struct {
// contains filtered or unexported fields
}
type Store ¶
type Store interface { // Setup setups the variables to a specific backend storage Setup(ctx context.Context, flags map[string]string) error // Connect connects to a specific backend storage with the storage variables Connect(ctx context.Context, isCreate bool) (blob.Storage, error) }
Store defines the methods for Kopia to establish a connection to the backend storage
Source Files ¶
Click to show internal directories.
Click to hide internal directories.