Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2023 Changes in this version + func NewFactory() location.Factory + type Backend struct + func Create(ctx context.Context, cfg Config, rt http.RoundTripper) (*Backend, error) + func Open(_ context.Context, cfg Config, rt http.RoundTripper) (*Backend, error) + func (be *Backend) Close() error + func (be *Backend) Connections() uint + func (be *Backend) Delete(ctx context.Context) error + func (be *Backend) HasAtomicReplace() bool + func (be *Backend) Hasher() hash.Hash + func (be *Backend) IsNotExist(err error) bool + func (be *Backend) Join(p ...string) string + func (be *Backend) List(ctx context.Context, t restic.FileType, fn func(restic.FileInfo) error) error + func (be *Backend) Load(ctx context.Context, h restic.Handle, length int, offset int64, ...) error + func (be *Backend) Location() string + func (be *Backend) Path() string + func (be *Backend) Remove(ctx context.Context, h restic.Handle) error + func (be *Backend) Save(ctx context.Context, h restic.Handle, rd restic.RewindReader) error + func (be *Backend) SetListMaxItems(i int) + func (be *Backend) Stat(ctx context.Context, h restic.Handle) (restic.FileInfo, error) + type Config struct + AccountKey options.SecretString + AccountName string + AccountSAS options.SecretString + Connections uint + Container string + EndpointSuffix string + Prefix string + func NewConfig() Config + func ParseConfig(s string) (*Config, error) + func (cfg *Config) ApplyEnvironment(prefix string)