MCPcopy
hub / github.com/kopia/kopia / Setup

Method Setup

cli/storage_providers.go:31–31  ·  view source on GitHub ↗
(sps StorageProviderServices, cmd *kingpin.CmdClause)

Source from the content-addressed store, hash-verified

29// implemented by all the cli storage providers.
30type StorageFlags interface {
31 Setup(sps StorageProviderServices, cmd *kingpin.CmdClause)
32 Connect(ctx context.Context, isCreate bool, formatVersion int) (blob.Storage, error)
33}
34

Callers 4

setupMethod · 0.65
setupMethod · 0.65
setupMethod · 0.65
setupMethod · 0.65

Implementers 11

storageGCSFlagscli/storage_gcs.go
storageRcloneFlagscli/storage_rclone.go
storageB2Flagscli/storage_b2.go
storageS3Flagscli/storage_s3.go
storageGDriveFlagscli/storage_gdrive.go
storageSFTPFlagscli/storage_sftp.go
storageWebDAVFlagscli/storage_webdav.go
storageFromConfigFlagscli/command_repository_connect_from_co
storageFilesystemFlagscli/storage_filesystem.go
storageAzureFlagscli/storage_azure.go
storageInMemoryFlagstests/testenv/storage_inmemory.go

Calls

no outgoing calls

Tested by

no test coverage detected