Versions in this module Expand all Collapse all v1 v1.18.0 Aug 2, 2026 Changes in this version + func BackupOptions(cfg config.Backup) ([]cloudstic.BackupOption, error) + func Client(ctx context.Context, cfg config.Client, opts ...Option) (*cloudstic.Client, error) + func FromProfile(ctx context.Context, path, name string, opts ...Option) (*cloudstic.Client, error) + func Keychain(ctx context.Context, cfg config.Unlock, opts ...Option) (keychain.Chain, error) + func Source(ctx context.Context, cfg config.Source, opts ...Option) (source.Source, error) + func Store(ctx context.Context, cfg config.Store, opts ...Option) (store.ObjectStore, error) + type BackupJob struct + Options []cloudstic.BackupOption + Source source.Source + func Backup(ctx context.Context, cfg config.Backup, opts ...Option) (*BackupJob, error) + type Option func(*options) + func WithBackendWrapper(fn func(store.ObjectStore) (store.ObjectStore, error)) Option + func WithDebugWriter(w io.Writer) Option + func WithDecided(cfg config.Client, decided config.FieldSet) Option + func WithLogger(w io.Writer) Option + func WithPasswordPrompt(resolve, wrap func() (string, error)) Option + func WithReporter(r cloudstic.Reporter) Option + func WithSecretResolver(r *secretref.Resolver) Option