Add new storage backend: Dropbox (#103)

This commit is contained in:
MaxJa4
2023-08-20 16:29:35 +02:00
parent 67e7288855
commit 4e04cb9926
5 changed files with 215 additions and 5 deletions

View File

@@ -70,6 +70,8 @@ type Config struct {
AzureStorageContainerName string `split_words:"true"`
AzureStoragePath string `split_words:"true"`
AzureStorageEndpoint string `split_words:"true" default:"https://{{ .AccountName }}.blob.core.windows.net/"`
DropboxToken string `split_words:"true"`
DropboxRemotePath string `split_words:"true"`
}
func (c *Config) resolveSecret(envVar string, secretPath string) (string, error) {