Versions in this module Expand all Collapse all v1 v1.18.0 Aug 2, 2026 Changes in this version + const DefaultFilename + func DefaultPath(configDir string) (string, error) + func EnsureMaps(cfg *Config) + func Save(path string, cfg *Config) error + type Auth struct + GoogleCreds string + GoogleCredsJSON string + GoogleCredsRef string + GoogleTokenFile string + GoogleTokenRef string + OneDriveClientID string + OneDriveTokenFile string + OneDriveTokenRef string + Provider string + type Config struct + Auth map[string]Auth + Profiles map[string]Profile + Stores map[string]Store + Version int + func Load(path string) (*Config, error) + func LoadOrEmpty(path string) (*Config, error) + func Normalize(cfg *Config) *Config + func (c *Config) StoreFor(name string) (*Store, error) + type Profile struct + AuthRef string + Enabled *bool + ExcludeFile string + Excludes []string + GoogleCreds string + GoogleCredsJSON string + GoogleCredsRef string + GoogleTokenFile string + GoogleTokenRef string + IgnoreEmpty bool + OneDriveClientID string + OneDriveTokenFile string + OneDriveTokenRef string + SkipNativeFiles bool + Source string + Store string + Tags []string + VolumeUUID string + func (p Profile) IsEnabled() bool + type Store struct + B2AppKey string + B2AppKeySecret string + B2KeyID string + B2KeyIDSecret string + EncryptionKeySecret string + KMSEndpoint string + KMSKeyARN string + KMSRegion string + PasswordSecret string + RecoveryKeySecret string + S3AccessKey string + S3AccessKeySecret string + S3Endpoint string + S3Profile string + S3Region string + S3SecretKey string + S3SecretKeySecret string + StoreSFTPKey string + StoreSFTPKeySecret string + StoreSFTPPassword string + StoreSFTPPasswordSecret string + URI string