restic/internal/backend
Connor Findlay b434f560cc backend/azure: Add tests for both token types
Add two new test cases, TestBackendAzureAccountToken and
TestBackendAzureContainerToken, that ensure that the authorization using
both types of token works.

This introduces two new environment variables,
RESTIC_TEST_AZURE_ACCOUNT_SAS and RESTIC_TEST_AZURE_CONTAINER_SAS, that
contain the tokens to use when testing restic. If an environment
variable is missing, the related test is skipped.
2024-10-17 20:38:03 +02:00
..
azure backend/azure: Add tests for both token types 2024-10-17 20:38:03 +02:00
b2 backend/layout: unexport fields and simplify rest layout 2024-08-31 17:25:24 +02:00
cache cache: fix race condition in cache cleanup 2024-09-14 18:07:46 +02:00
dryrun backend: remove unused Location method 2024-05-18 21:38:31 +02:00
gs backend: remove dead code 2024-08-31 17:25:24 +02:00
layout backend/layout: unexport fields and simplify rest layout 2024-08-31 17:25:24 +02:00
limiter CI: enable bodyclose linter 2024-01-19 21:17:18 +01:00
local backend: consistently use os package for filesystem access 2024-08-31 18:20:40 +02:00
location move Backend interface to backend package 2023-10-25 23:00:18 +02:00
logger move Backend interface to backend package 2023-10-25 23:00:18 +02:00
mem backend: remove unused Location method 2024-05-18 21:38:31 +02:00
mock backend: remove unused Location method 2024-05-18 21:38:31 +02:00
rclone bump required go version to 1.21 2024-08-10 19:16:10 +02:00
rest backend/layout: unexport fields and simplify rest layout 2024-08-31 17:25:24 +02:00
retry backend/retry: don't trip circuit breaker if context is canceled 2024-08-26 16:22:21 +02:00
s3 backend: remove dead code 2024-08-31 17:25:24 +02:00
sema move Backend interface to backend package 2023-10-25 23:00:18 +02:00
sftp backend: remove dead code 2024-08-31 17:25:24 +02:00
swift backend/layout: unexport fields and simplify rest layout 2024-08-31 17:25:24 +02:00
test replace deprecated usages of math/rand 2024-08-10 19:34:49 +02:00
testdata drop support for s3legacy layout 2024-08-31 17:25:24 +02:00
util bump required go version to 1.21 2024-08-10 19:16:10 +02:00
backend.go return exit code 10 if repository does not exist 2024-07-10 21:46:26 +02:00
backend_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
file.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
file_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
http_transport.go make timeout for slow requests configurable 2024-08-26 14:14:43 +02:00
httpuseragent_roundtripper.go http: allow custom User-Agent for outgoing HTTP requests 2024-05-30 15:38:06 +02:00
httpuseragent_roundtripper_test.go http: allow custom User-Agent for outgoing HTTP requests 2024-05-30 15:38:06 +02:00
readerat.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
rewind_reader.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
rewind_reader_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
shell_split.go Fix typos 2023-12-06 13:11:55 +01:00
shell_split_test.go Refactor SplitShellStrings 2018-04-01 10:16:31 +02:00
watchdog_roundtriper.go backend: return correct error on upload/request timeout 2024-08-10 18:06:24 +02:00
watchdog_roundtriper_test.go Merge pull request #4993 from MichaelEischer/fix-timeout-error 2024-08-15 22:07:37 +02:00